cookie



Hello everybody, I've got some troubles with a cookie and maybe
someone can help me...
this is the code I wrote

$tempo=30*24*60*60*1000;
setcookie ("css_user",$css_user,$tempo);
setcookie ("css_user_id",$css_user_id,$tempo);

in order to set a cookie with the two variables css_user and
css_user_id; when I control the cookie values (using
print_r($_COOKIE);) everything is ok. the problem is that this cookie
is considered just like a "session" and when I close the browser it's
deleted!

Where am I mistaking?!

thank you very much in advance! :)
.



Relevant Pages

  • Re: Auto Complete fails to work in Internet Explorer 6.0 Windows XP
    ... Delete the Cookie for that site & retry. ... >I am having troubles with auto complete user name and password for a web ...
    (microsoft.public.windowsxp.general)
  • Re: Auto login
    ... // JavaScript doesn't resolve variables inside strings, it's not Perl ... troubles :-( ... // cookie values need to be escaped (es well as cookie names ...
    (comp.lang.javascript)
  • Re: Certain web pages wont load
    ... No I dont believe it to be cookie blocking. ... Of the 5 having troubles, ... set all the security settings to as low as they could go. ...
    (microsoft.public.win2000.general)
  • Re: Auto login
    ... // JavaScript doesn't resolve variables inside strings, it's not Perl ... troubles :-( ... // cookie values need to be escaped (es well as cookie names ...
    (comp.lang.javascript)
  • Re: Auto login
    ... // JavaScript doesn't resolve variables inside strings, it's not Perl ... troubles :-( ... // cookie values need to be escaped (es well as cookie names ...
    (comp.lang.javascript)