RE: session_destroy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux