How to get Session ID
| From: | Chris Payne | Date: | Fri, 14 Dec 2001 22:33:14 +0000 |
| Subject: | How to get Session ID | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15038@lists.php.net to get a copy of this message | ||
Hi there everyone,
I know how to get the session ID in the url using <?="$SID"?>, but how do I copy the
current SessionID into a Var? I need to store the sessionID so that I can reference items added to
a database during a particular session, so people can continue shopping after they have added their
item to the DB.
I have the DB and everything working great (God I love PHP and MySQL :-)
Anyway help would be appreciated.
Thanks also for all the recent help everyone, you are all hero's in my book :-)
Chris