Re: reset cookie
| From: | (Richard Lynch) | Date: | Tue, 04 Jul 2000 01:43:56 +0000 |
| Subject: | Re: reset cookie | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4635@lists.php.net to get a copy of this message | ||
In article <395C9EC5.CB43F51C@netvigator.com>, markloky@netvigator.com
(Mark Lo) wrote:
> How to reset the expire time of the cookie but with the same
> cookie value.
>
> For example,
> $UID= "assinged as a random number"
> setcooke("$UID","expiretime");
SetCookie("SameVariable", $SameVariable, time() + 3600, "/");
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)