Re: [PHP] Re: coockie expiration problems

2002-09-02 Thread Tom Rogers
Hi, Tuesday, September 3, 2002, 12:53:22 AM, you wrote: a> OK, I found the reason, but not the solution yet: a> The cookie time during setting is the time taken from the server. The time a> for checking the coockie is the time of the local machine!! a> So what can I do if I would like to last t

[PHP] Re: coockie expiration problems

2002-09-02 Thread andy
OK, I found the reason, but not the solution yet: The cookie time during setting is the time taken from the server. The time for checking the coockie is the time of the local machine!! So what can I do if I would like to last the coockie for 1 hour and the person is sitting on the other site of

[PHP] Re: coockie expiration problems

2002-09-02 Thread nicos
Hi, I see really nothing wrong in your example. Did you tried to verify with isset() if the cookie is still here or not? And well, you should use double quote on setcookie("referrer", $user_id, time()+10); You call should be also $_COOKIE['referrer'] and not $_COOKIE[referrer]. -- Mer