Re: PHP $_SESSION Expiring in IE
| From: | Kirk Babb | Date: | Sun, 04 Jan 2004 01:39:02 +0000 |
| Subject: | Re: PHP $_SESSION Expiring in IE | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173702@lists.php.net to get a copy of this message | ||
Guess I'm being nosy here, so forgive me, but why are you settting an
alternate save path and using ini_set at the start of each document? I know
that has nothing to do with the problem, but I was just wondering. Are you
hosting multiple sites off your server and have different session settings
depending on the site?
-Kirk
> session_save_path("$some_path/sessions");
> ini_set('session.use_cookies', 1);
> ini_set('session.gc_probability', 1);
> ini_set('session.gc_maxlifetime', 60 * 60);
> ini_set('session.auto_start', '1');
> session_start();
> header("Cache-control: private");
>
> Here is a link to my PHP configuration:
> http://www.planet-tolkien.com/test.php
>
> In Fellowship,
> Tarrant