there is a very cryptic function for getting the session id: session_id() if you pass it a value, it will also set the id
"Chris Payne" <[EMAIL PROTECTED]> wrote in message 000c01c184ef$53abc220$0200a8c0@chris">news:000c01c184ef$53abc220$0200a8c0@chris... 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]