Session Question
| From: | Chris Payne | Date: | Tue, 11 Dec 2001 21:22:26 +0000 |
| Subject: | Session Question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14939@lists.php.net to get a copy of this message | ||
Hi there everyone :-)
I have a question about Session usage. I am passing data from 1 page to another via the toolbar
(Forgot the method name, sorry :-) and then when the client clicks on "Add to shopping
cart" it adds it into a session to store the data for checkout or to continue shopping. My
question is this:
When the client goes back and selects another item, it overrides the original in the session - how
do I get sessions to be dynamic and assisn a different value for each shopping cart entry? And then
how do I retrieve them?
Thanks for your help, I have learnt so much from this group.
Chris