A Php Shopping - Cart home Cfr
Functions to manage Sessions Data into a Site-DataBase ®
$ssp = ... session_id () = 5486d618fb4ef843ed3d5e2795d7ce75
No file is saved either on local or on Web Server , session data are being neverthless registered into Servers' Database  → view all records

Please select what
you would like to buy :  



← To multiple Selection - press-hold Ctrl or Shift ...and click
This page can process inserted data into a Database , whilst the one into cart-dir write data into a saved file that is visible locally , but not on ISP-Server , its content is anyway visible by using a php function.
To put a product into cart click the multiple select text box and then click on the large form-button , an empty click on this button will delete the previous selected products.
All is set in this page will modify the record of the current session and can be univocally identified ( session_id () ) and re-utilized during the current browser session to place an order or for other purposes.
The Visitor can delete the order by empty-clicking. This is a Demo and the access is given for this to all our Visitors , but for servicing you would not let everybody to view all records   info
↑ session_decode();
session_encode(); →
Comments :
By placing in a php file the following code : session_start(); , the web server will mark the related page with a unique string that is very much similar to a cookie.
What you read above in red color is just what is really happening to this page. PHPSESSID=e4d3d63cb2b01aba8835987ba11ade2a;
The string to the left of "=" is always "PHPSESSID" while to the right of "=" contains 32 alphanumeric chars and is closed by a semicolon, this second part is always different and is called "id", and its value is given by this function "session_id()".
...so the following expression will print the id-string :
<?
print session_id();
/*
#...the following lines give the same results :
$id=session_id();
echo $id;
*/
?>
The link-related pages from here show the outputs of php code related to this property and show how to write data that relates to this unique string.
This unique string is issued on each new session of the client's browser.
These data can be saved into a database and used to place an order from therein.