Re: Re-initiating an autostarted session

From: Date: Wed, 11 May 2005 20:07:15 +0000
Subject: Re: Re-initiating an autostarted session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214973@lists.php.net to get a copy of this message
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

« previous php.general (#214973) next »