Welcome Guest, Not a member yet? Register   Sign In
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



Theme © iAndrew 2016 - Forum software by © MyBB