Re: Re: session_destroy have strange effect....

From: Date: Fri, 17 Jan 2003 13:46:27 +0000
Subject: Re: Re: session_destroy have strange effect....
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-131998@lists.php.net to get a copy of this message
This seems pretty dangerous to me. You should better explain your problem, I didn't understand it. Scott Fletcher wrote:
Oh never mind. I found a work around to it. I can use the passthru command. Like this... --clip-- passthru("rm -f /tmp/sess_*****") --clip-- "Scott Fletcher" <scott@abcoa.com> wrote in message news:20030116193348.95052.qmail@pb1.pair.com...
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 (#131998) next »