the situation is like this: my clients' $_SESSION gets destroyed even after
only a few seconds of inactivity! so, with my current setting for
gc_maxlifetime (1440), it should be more than enough to have their sessions
registered for the few minutes, right? thus, i deduce that the solution may
not lie in my gc_maxlifetime value?? please correct me if I'm wrong!

thanx thanx!

----- Original Message ----- 
From: "Torsten Roehr" <[EMAIL PROTECTED]>
Sent: Monday, May 31, 2004 5:33 PM
Subject: [PHP-DB] Re: $_Session vs $_Cookie

> "Ng Hwee Hwee" <[EMAIL PROTECTED]> wrote in message
> > Hi all,
> > fyi, i'm using PHP4.2.2 and my session.gc_maxlifetime = 1440 and
> > session.gc_probability = 1. I will be upgrading to 4.3.6 in the near
> future.
> Your gc_maxlifetime setting is set to 1440 seconds which means 24 minutes.
> So every 24 minutes the garbage collection is checked if it should be
> deleted (based on gc_probability). Try increasing your gc_maxlifetime to a
> higher value, e.g. 43200 for 12 hours.
> Regards, Torsten

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to