session_destroy have strange effect....

From: Date: Thu, 16 Jan 2003 19:39:12 +0000
Subject: session_destroy have strange effect....
Groups: php.general 
Request: Send a blank email to php-general+get-131923@lists.php.net to get a copy of this message
session_destroy() do work when I logged out of the website. But if I'm logged in and open a 2nd browser and try to log in. This where the script I use to detect exisitng session and destroy it before generating a new one. Problem is that session_destroy does not work on the 2nd browser... So, my question is what is the workaround to using session_destroy() ???? How do I unset it???? Etc.... I tried this one but it had no effect if I'm the 2nd user... --------------- $_SESSION = array(); session_destroy(); ---------------

« previous php.general (#131923) next »