Welcome Guest, Not a member yet? Register   Sign In
Alert User Before Session Times Out
#2

[eluser]renownedmedia[/eluser]
I'd set it up with AJAX, but ignore the built in session timer, build one yourself. Like, when a "heavy" action is hit, update your expiration time, but when a "soft" action is hit (hitting any page such as the AJAX call) you don't update your timer. Then, when your timer is set to expire in like five mins, your AJAX function would alert() the user.


Messages In This Thread
Alert User Before Session Times Out - by El Forum - 08-18-2009, 03:57 PM
Alert User Before Session Times Out - by El Forum - 08-18-2009, 05:21 PM
Alert User Before Session Times Out - by El Forum - 08-20-2009, 11:37 AM
Alert User Before Session Times Out - by El Forum - 08-20-2009, 01:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB