Re: Cookies on Phoenix

From: Date: Sun, 18 May 2003 16:17:16 +0000
Subject: Re: Cookies on Phoenix
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-148092@lists.php.net to get a copy of this message
John W. Holmes wrote:
Here's an extract of the code. An expire time was set and the cookie still exists as I watch through the list of cookies set in Mozilla. <?php [...] $str = serialize($cook); setcookie($CName,$str, time()+(1000000000*100000000));
Ummm... maybe you should be a little realistic in your expiry time? Do you really need a cookie persisting for 3.1 billion years?? Do you have "Throw away new cookies on exit" set in Opera? "Limit maximum lifetime of cookies to current session" in Mozilla?
Call me supernoob .. but... where do I find this option in Mozilla?
Edit -> Preferences -> Privacy and Security -> Cookies -> Limit maximum lifetime of cookie to: -> current session ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ thx a lot. it works by setting smaller times.


« previous php.general (#148092) next »