Page 1 of 1

Auto Login

Posted: 2015-12-03 15:16
by elemire
In searching the forums it appears as though older versions of appgini did not include an auto logout / timeout function for inactive users.

I am currently using Appgini V5.42 Rev 764, and my users are being logged out after a period of inactivity. Would the below forum post still allow me to control the timeout value or do I need to edit it somewhere else now?

http://forums.appgini.com/phpbb/viewtop ... imeout#p70

Re: Auto Login

Posted: 2016-02-09 12:04
by Ola Yakout
Thank you for your valuable suggestion. There were no changes made recently to the session management code in AppGini. So, the above link should work fine.

Re: Auto Login

Posted: 2016-02-10 12:10
by Bertv
Hi,
there is a different between AppGini 5.42 and 5.50.
In the 5.50 the session management is not in incCommon.php but in lib.php.

So the code for 'session control time limit' from Alan must be placed in lib.php, after 'session_start();' at row 77. I did and it works fine.

Re: Auto Login

Posted: 2021-12-20 20:33
by franciscoc
Hi guys,

I want to maintain log in the user after the sign up form was complete. Is there any way to do it?
I thinks perhaps with php session. Any idea?
thanks in advance