RE: [PHP] session_destroy

From: Date: Wed, 19 Apr 2006 12:31:14 +0000
Subject: RE: [PHP] session_destroy
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-234265@lists.php.net to get a copy of this message
At 12:51 PM +0930 4/19/06, Shannon Doyle wrote:
That’s just it, I am not setting a session cookie. Just starting a session with the following :- session_name("XPCSESS"); session_start(); $sessID = session_id();
Try: <?php session_start(); session_name("XPCSESS"); $sessID = session_id(); Note, session_start() is the first statement before anything else. Also note that session ID is automatically SID, such as: echo(SID); tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#234265) next »