Ask a Question
Advertise on boostr.in
Organizational Research By
Surprising Reserch Topic
Question:Handling autologout functionality for ajax request as well as normal url request from browser
i m trying this:
Storing time limit for autologout in a session variable inactivityTime. Keeping this value lower than session.gcmaxlifetime since session values will not be accessible after time specified by gcmaxlifetime.
¬†¬†¬†¬†Comparing inactivity time on every page request and perform the logout action as required, which includes destroying session and redirecting to login page.
Sep 13, 2013
Java Interview Questions
Sep 12, 2013
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please