• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any way to force sessions to *not* update on certain AJAX requests?

#1
Hi all,

I'm a fairly experienced CI dev but I'm having trouble finding a good solution for this.

Essentially, I'm trying to implement "idle logout" (session expiration) detection. I'd like to be able to periodically make an AJAX call to check if the current session entry still contains credentials but by making these AJAX calls, the session is updated automatically to extend its validity (indefinitely!).

Has anyone found a way to do this?

Cheers!
Reply


Messages In This Thread
Any way to force sessions to *not* update on certain AJAX requests? - by twistedpixel - 01-02-2017, 07:58 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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