Re: Re: $_Session vs $_Cookie

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi..

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" <roehr@xxxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Monday, May 31, 2004 5:33 PM
Subject:  Re: $_Session vs $_Cookie


> "Ng Hwee Hwee" <hhwee@xxxxxxxxxxx> wrote in message
> news:002301c446ee$d1160ae0$7a01a8c0@xxxxxxxxxxx
> > 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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux