Page 1 of 1

PostPosted: Thu Aug 23, 2007 7:25 am
by maddin
hi steve
some of the users of my app told me that they have been forced to re-login after a while ..

in application php I found on line 524:

$cookie_timeout = (isset($conf['session_timeout']) ? $conf['session_timeout'] : 24*60*60);


// timeout value for the garbage collector
// we add 300 seconds, just in case the user's computer clock
// was synchronized meanwhile; 600 secs (10 minutes) should be
// enough - just to ensure there is session data until the
// cookie expires
$garbage_timeout = $cookie_timeout + 600; // in seconds


------------------
Is this the right place to do a quick hack? can i set the value to a higher value to solve this problem?
cheers
martin

PostPosted: Thu Aug 23, 2007 11:07 am
by shannah
Hi Martin,

No need for a hack. You can specify the session timeout in the [_auth] section of your conf.ini file (in seconds).

e.g.

[_auth]
...
session_timeout = 345667

Hope this helps.

-Steve

PostPosted: Thu Aug 23, 2007 11:54 am
by maddin
exellent...
thanks
all the best
martin