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: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to