This topic is locked

Auto logout time period

1/18/2008 4:53:01 AM
PHPRunner General questions
Q
quasimidi author

Good morning/afternoon/evening!
I have a little problem with the test application that I generated:
if i spend more than ~15 min on a form (for examle on the add/edit form), the php automatically logges me out, so I lost all my entered data.

Where should I look in the code? I already changes the cookie lifetime, it didn't solved the problem.

Sorry for my english, I hope you understand clearly my problem.

Thank you very much!
Robert

J
Jane 1/21/2008

Robert,
to increase timeout edit session.gc_maxlifetime parameter in the php.ini file or add following code to the include/dbcommon.php file before session_start():

ini_set('session.gc_maxlifetime',3600);

Q
quasimidi author 1/21/2008

Thank you Jane!