• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.