Product Choice Page   Functions

Comments
The difference between this script and ss_f.php is that here the link-process is toward another page and the products are put in a session-file that is fisically visible ( anyway only in localhost the Web Server would not allow you to look into this directory but you can pick up the content of your session using a function )
No data is saved into database in the pages linked into this directory [cart (4 files)].
( x more products ...hold Ctrl or Shift)
If you click-empty ( no selection ) ...all remain the same !
If you have selected some product , please follow the link decode.php ( after you click the button )
to read what you have written in the session-file...

An other page   decode.php   [ ... register as Visitor FREE send.php ]

A session - file can be modified till the browser - session is alive , actually also later , but we do not know how the Server is cleaning-deleting sessions by considering them as garbage , this can also be straight away after the browser session is terminated , so we will consider that a session is regularly deleted on the server when the browser session is terminated.
There are other relevant considerations about php sessions in relation to php version you are using on the server , i.e. till version 4.0 sessions were trackable between pages on same directory , all newer versions will allow to sessions to be recognized globally in the whole site.
Nb : By simply clicking on the link above : "An other page" you may add into the session file the choice to buy an hypothetical Cd rom
...if you then surf back here you can select more products out of the Multiple-Select Form and add those to your Cart on top of the order
...finally you may add links to other pages to activate the sending of the order, the saving of the details into a database and so on.
You will also find a form to reset any data into the session file at the page decode.php