cookie
- From: "~yby~" <manuele.gazzardi@xxxxxxxxx>
- Date: Mon, 31 Dec 2007 01:51:21 -0800 (PST)
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! :)
.
- Follow-Ups:
- Re: cookie
- From: Jerry Stuckle
- Re: cookie
- From: C. (http://symcbean.blogspot.com/)
- Re: cookie
- Prev by Date: parse only content from node containing CDATA using DOM
- Next by Date: Re: cookie
- Previous by thread: parse only content from node containing CDATA using DOM
- Next by thread: Re: cookie
- Index(es):
Relevant Pages
|