Re: Session handling with cookies??

From: Date: Wed, 31 Oct 2001 03:28:01 +0000
Subject: Re: Session handling with cookies??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72961@lists.php.net to get a copy of this message
Set the expire date to be 0. then the browser will delete them after the browser window is closed. -Jason Garber IonZoft.com At 02:39 PM 10/29/2001 +0100, Andy wrote:
Hello, I have developed a member login system with cookies. Now I have the prob, that the session stayes existend when the browser is closed. This could couse a problem in Internet caffes for example. As second thing, I have realized, that it depends on the clients clock!! I am sending a cookie which expires in time() + $expireseconds. Unfortunatelly the time command takes the tim from the server and the cookie expires checking the client time. So... does anybody know how... 1) I get the system to delete the cookie as soon as I leave the site, or close it 2) How to work on the same time. Thanx for any help Cheers Andy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#72961) next »