The remember me functions logs out users after a certain period of time. What do I need to change to extend the time a users is remembered?
- MSAnswered
Hello,
You can update
sess_expiration
&sess_time_to_update
in theapp/config/config.php
for session and checkremember_users
,user_expire
&user_extend_on_login
in theapp/config/ion_auth.php
for user authentication settings.Thank you
- RMAnswered
Below are the settings. If the user is idle for more than a day. the users needs to re login. We need so that users who checked “Remenber me” are remember until they decide to log out…
-
app/config/config.php sess_expiration=7200 sess_time_to_update=300
-
app/config/ion_auth.php remember_users=TRUE user_expire=0 user_extend_on_login=FALSE
-
- MSAnswered
Hello,
Yes, you can set the values as you need.
'sess_expiration' The number of SECONDS you want the session to last. Setting to 0 (zero) means expire when the browser is closed. 'sess_time_to_update' How many seconds between regenerating the session ID. 'user_extend_on_login' Extend the users cookies every time they auto-login
Thank you
- RMAnswered
What will be the configuration to have the remember me, remember the user for two weeks?
- MSAnswered
Hello,
You can calculate the seconds or set
60*60*24*14
forsess_expiration
Thank you
- Login to Reply