Re: Re-initiating an autostarted session

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

 



Hello Ville,

Wednesday, May 11, 2005, 12:32:07 PM, you wrote:

V> session_destroy();
V> session_regenerate_id();
V> session_write_close();
V> Header("Location: ...");
V> exit;

I honestly don't know if it's the right way, but I ran into a similar
issue a while back. I did it this way:

session_destroy();
session_start();
session_write_close();
Header("Location: ...");
exit;

I never tried regenerate. Just started a new session again.


-- 
Leif (TB lists moderator and fellow end user).

Using The Bat! 3.5 Return RC7 under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB

-- 
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