Re: set cookie function problem
| From: | Stephen Johnson | Date: | Tue, 19 Apr 2005 18:37:33 +0000 |
| Subject: | Re: set cookie function problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-213399@lists.php.net to get a copy of this message | ||
Nothing --
However - try adding a path to your cookie statement. It may not be the
problem - but it has corrected this issue for me in the past.
I.e :
setcookie('myCookie',"blah",time()+3600, "/");
<?php
/*
Stephen Johnson c | eh
The Lone Coder
http://www.thelonecoder.com
stephen@thelonecoder.com
562.924.4454 (office)
562.924.4075 (fax)
continuing the struggle against bad code
*/
?>
> From: "Ospinto" <ospinto@hotmail.com>
> Date: Tue, 19 Apr 2005 17:33:07 -0400
> To: php-general@lists.php.net
> Subject: Re: [PHP] set cookie function problem
>
> o....k.......what does that have to do with my problem?