Re: HTTP_Session and the function setExpire()
| From: | étienne Bersac | Date: | Fri, 30 Jan 2004 14:52:58 +0000 |
| Subject: | Re: HTTP_Session and the function setExpire() | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10439@lists.php.net to get a copy of this message | ||
Hello,
I use this line to update the cookie set by PHP :
setcookie(HTTP_SESSION::name(),HTTP_SESSION::id(),$GLOBALS['__HTTP_Session_Expire']);
but it is not "addable" into the code because it doesn't test if useCookies is true ...
As you wish Stefan.
Étienne.