Re: NEtSCAPE AN COOKIE-PROBLEM
| From: | Chris Lee | Date: | Mon, 08 Jan 2001 23:46:28 +0000 |
| Subject: | Re: NEtSCAPE AN COOKIE-PROBLEM | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33353@lists.php.net to get a copy of this message | ||
this works in netscape, try this.
setcookie('merkzettel', $email, time()+2592000, "/",
".miningsurplus.com");
I cant say for sure but I think the problem was in your cookie expiry field
(argument 3). you know also that the cookie vars will not initalize until
the page is refreshed right.
Chris Lee
Mediawaveonline.com
"WEBberater (Jochen Kächelin)" <jk@wa-p.de> wrote in message
news:NEBBIOCACLGPHIIPGLDAKEKCCLAA.jk@wa-p.de...
> I use the following:
>
>
> SetCookie("merkzettel","$email",3600*24,"/",".autohaus-lodestro.de",0);
>
> Bute Netscap 4.74 (Windows 98 SE)
>
> does not set this Cookie!!
>
> After using:
>
> echo $HTTP_COOKIE_VARS["merkzettel"];
>
> there's no result on the Screen!!!
>
> IE 5.0 works fine!!
>
> What's the Problem?
>
> --
> Ihr WEBberater, Jochen Kächelin
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>