Hi Kris

Thats because you've wrapped the time() call and the addition inside a pair 
of doublequotes. 

Remove those and it'll work fine...

Regards

--
Shane

On Saturday 29 Dec 2001 6:35 pm, Kris Wilkinson wrote:
> Just recently I've noticed an issue with setcookie. My scripts which
> normall ran :
>
> setcookie ("myCookie","Blah","time()+7201");
>
> Are killing the cookie immediately after you close the browser window, or
> access another https:// site. It appears as though the life of the cookie
> is actually not being set, and is based entirely around the life of the
> browser window which it was originally called.
>
> if you leave the window open, and attempt at access the cookie from another
> window, the cookie does not exist.
>
> IDEAS? PHP GODS? :)

-- 
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