RE: [PHP] A way to detach the existing session data while making a new one???

From: Date: Thu, 23 Jan 2003 17:20:48 +0000
Subject: RE: [PHP] A way to detach the existing session data while making a new one???
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132867@lists.php.net to get a copy of this message
> I'm wondering is, is there a way to lose the existing session and > existing session data while making a new session id??? I can't use > session_destroy() function because it affected IE users, it doesn't affect > the non-IE user at all. I got so tired of problems with IE and having it > to > work properly with the session id, so I decided not to use > session_destory(). Unset($_SESSION) will get rid of the data in the session... > So, a case situation here is when an IE user closed the browser > without > logging out. Then later on, fire-up the browser and log in. Problem with > this is when I create a new session_id(), it should work but for some > reason, a couple of IE users are being affected because the original user > did not log out in the first place. So, I decided not to use > session_destroy() because of some strange relation between many IEs and > the > PHP session_id. So, is there a way to detach any existing session data > then > creating a new session id when logging in??? Sounds like you have a problem in your code logic, not in how PHP handles sessions. Whether someone logs off or not shouldn't affect other people. ---John Holmes...

« previous php.general (#132867) next »