Welcome Guest, Not a member yet? Register   Sign In
Expire Session When Not Active
#3

(04-28-2017, 04:50 AM)arisroyo Wrote: Sleepy

I would like to ask on how to automatically expired user session when it's not active?
I find out that CI never expire it's session  and when I tried to  make $config['sess_time_to_update']  lower than $config['sess_expiration']
it expired even if the user is actively using the web application.

Thanks in advance.

Or maybe something like this in MY_Controller if yu like to kick out people who are inactive (=makes no requests):
http://stackoverflow.com/questions/91245...or-15-mins
Depends what you mean with "not active".
Reply


Messages In This Thread
Expire Session When Not Active - by arisroyo - 04-28-2017, 04:50 AM
RE: Expire Session When Not Active - by InsiteFX - 04-28-2017, 08:00 AM
RE: Expire Session When Not Active - by muuucho - 04-28-2017, 02:30 PM
RE: Expire Session When Not Active - by arisroyo - 04-29-2017, 04:07 AM
RE: Expire Session When Not Active - by InsiteFX - 04-29-2017, 04:42 AM
RE: Expire Session When Not Active - by muuucho - 04-29-2017, 02:40 PM
RE: Expire Session When Not Active - by skunkbad - 04-29-2017, 02:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB