Re: session lifetime: does not work
| From: | Tim Zickus | Date: | Wed, 29 Nov 2000 21:37:49 +0000 |
| Subject: | Re: session lifetime: does not work | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27889@lists.php.net to get a copy of this message | ||
My guess is that you need to set the session params before calling
session_start().
- Tim
> have i got something wrong here? i am trying to
> create a site that lets the user choose if he
> wants his data "remembered" or not.
> however, i set the cookie lifetime to zero
> and whenever i close the browser, the variables
> are still there the next time i access the site.