Re: Re-initiating an autostarted session

From: Date: Sun, 15 May 2005 20:12:04 +0000
Subject: Re: Re-initiating an autostarted session
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-215263@lists.php.net to get a copy of this message
Leif Gregory wrote:
session_destroy(); session_start(); session_write_close(); Header("Location: ..."); exit; I never tried regenerate. Just started a new session again.
Hi Leif! Thanks for your reply. For some strange reason, this works not for me. The session cookie will not be overwritten and the user won't get a new session id - even all the session data from the server is destroyed. I tried to unset the session cookie manually (setcookie( session_name() ,"",0,"/");) but without results. Thanks also Mr. Jason Barrett for your reply, but I couldn't manage to get the session regeneration work. So, I'm still looking for a solution... =) Thanks, Ville

« previous php.general (#215263) next »