Re: Re: Cookie error after 4.2.3 upgrade
| From: | Erwin | Date: | Fri, 08 Nov 2002 12:18:16 +0000 |
| Subject: | Re: Re: Cookie error after 4.2.3 upgrade | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123361@lists.php.net to get a copy of this message | ||
>> change your code to:
>>
>> $l_cookie_expireN = (int) date('r', time() - 4000 );
>> $l_cookie_expire = (int) date('r', time() + 400 );
>> $l_cookie_expire2 = (int) date('r', time() + 400*30*12 );
>
> No, that's even worse!! Try this:
>
> $l_cookie_expireN = time() - 4000;
> $l_cookie_expire = time() + 400;
> $l_cookie_expire2 = time() + 400*30*12;
You're right of course, let's say that it was very early when I wrote that
answer ;-))
Grtz Erwin