|
Posted by Gleep on 06/21/07 01:20
On Wed, 20 Jun 2007 12:49:36 -0400, Jason Maur <jmaumau@yahoo.com> wrote:
>Hey all,
>
>I'm having a problem with PHP sessions. Users
>(including myself) are having their sessions expire
>after only a couple minutes, despite session.gc_maxlifetime
>being set to 1440 (24mins?). Any general ideas on what
>would cause a session to terminate? I'm using a lot of
>javascript (mootools) to do some AJAX stuff. Maybe that
>has something to do with it? Any help / suggestions would
>be appreciated...
i set mine this way 300 minutes
ini_set("session.gc_maxlifetime", "18000");
if you still have timeout issues
might be better to change to cookie based system
i've had time out issues - and resorted to setting cookie for user logins
and still used sessions for saved searches and paging, things like that
Navigation:
[Reply to this message]
|