header("Set-Cookie: cookiemonster=$cookiedata; expires=$expire; path=/;
domain="domain.com", secure);
or go to http://home.netscape.com/newsref/std/cookie_spec.html to view even
more specs on it. I just found this way of setting cookies to always work
compared to the php setcookie command which
Hi, I have a problem with setting cookies...I am able to set cookies and
retreive the information when using IE but not netscape. I'm not totally
sure what the problem is. Here is the syntax that I am using, any
suggestions are welcomed.
$cookiedata = "Mmmm";
$time = mktime()+900;
$expire = date(
thanks!
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > in order to prevent my visitors from seeing more than one popup in less
than
> > 120 second, I added this to my php page(index.php)
> > --
> > setcookie("popup",1,time()+120)
> in order to prevent my visitors from seeing more than one popup in less than
> 120 second, I added this to my php page(index.php)
> --
> setcookie("popup",1,time()+120);
> if ($popup!=1)
>
> echo "http://www.peel.net/frames/PMNforce.js>";
> }
> -
>
> When I reload i
in order to prevent my visitors from seeing more than one popup in less than
120 second, I added this to my php page(index.php)
--
setcookie("popup",1,time()+120);
if ($popup!=1)
echo "http://www.peel.net/frames/PMNforce.js>";
}
-
When I reload index.php, i see popu
5 matches
Mail list logo