Re: Why Remember Session ??

From: Date: Mon, 25 Feb 2002 19:17:44 +0000
Subject: Re: Why Remember Session ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-86138@lists.php.net to get a copy of this message
Well, you have to destroy the session... see session_destroy() I never tried this, but you can call a PHP script on the onUnLoad event of the body page... so when the window is closed, it calls a given script and this script destroy the session. William. El lun, 25-02-2002 a las 12:29, Beta escribió: > BlankHI, i have a problem, > When i close the browser the session is NOT killed, when i enter the page > that requires login i can enter the page that was previosly entered via > login (but i closed it). So it remembers session or cookies i don't know. > How to prevent this, How to kill the session when i close the browser > In php.ini session.cookie_lifetime is set to 0 and session.cache_expire is > set to 180 > can somebody help me please > > Beta _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.general (#86138) next »