Welcome Guest, Not a member yet? Register   Sign In
how do i notify users when their sessions has timed out
#6

(This post was last modified: 07-28-2017, 03:50 PM by skunkbad.)

(07-28-2017, 11:37 AM)Kaosweaver Wrote:
(07-28-2017, 10:45 AM)PaulD Wrote: OOoooh. That is a really good idea. Was just looking at how to do this myself and was stuck. But that is a really cool plan. Not sure how to do that in js but it is a good sounding approach. Thanks.

Paul.

jQuery AJAX POST to a controller, return JSON encoded reply, have the JS pop a modal at the right time for the user to maintain the session (with a count down so the user has a sense of "I should take care of this").
I do jQuery AJAX calls all of the time, it isn't that difficult, pretty sure you'll get it Smile

This wouldn't work because the ajax post to the controller would automatically extend the session, unless you're not autoloading the session, which I think is rare for people who use sessions.
Reply


Messages In This Thread
RE: how do i notify users when their sessions has timed out - by skunkbad - 07-28-2017, 01:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB