Page 1 of 1

PostPosted: Fri Dec 01, 2006 12:05 pm
by Aoirthoir
Going to look into the code myself in a few minutes. But I would like to change the timeout. Currently it seems to be set at about an hour give or take? I'd like to set it to something longer...maybe the end of the day?

Thanks.

PostPosted: Fri Dec 01, 2006 12:24 pm
by Aoirthoir
Well I think I found the place but it doesnt make a lot of sense. From what I see here the cookie should be available for 24 hours? Not sure..going to change and test it.


// timeout value for the cookie
$ cookie_timeout = (isset($this->conf['session_timeout']) ?
$ this->conf['session_timeout'] : 24*60*60);

PostPosted: Fri Dec 01, 2006 12:46 pm
by Aoirthoir
Solved...in Application.php I changed this:

// timeout value for the cookie
//$cookie_timeout = (isset($this->_conf['session_timeout']) ? $this->_conf['session_timeout'] : 24*60*60);

To this:

$cookie_timeout = 8*60*60;

Its a Q&D fix for now....I imagine that session_timeout can be set in the conf.ini file..but not 100% sure about that..so this will work until I know for sure.

PostPosted: Fri Dec 01, 2006 1:56 pm
by shannah
Yes.. the session_timeout should be able to be set in the conf.ini file.