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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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(); > > --------------- > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php