Auto logout functionality
-
Some pages on my site have sensitive information. If the user is on one of these pages how can I have the page redirect to the login page if there is no interaction on it, say five minutes.
Take a look at this article. Regards, --Perspx
"A refund for defective software might be nice, except it would bankrupt the entire software industry in the first year."
-Andrew Tanenbaum
"Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer."
-Fred Brooks -
Some pages on my site have sensitive information. If the user is on one of these pages how can I have the page redirect to the login page if there is no interaction on it, say five minutes.
-
Some pages on my site have sensitive information. If the user is on one of these pages how can I have the page redirect to the login page if there is no interaction on it, say five minutes.
When you are login just make the cokie for user and set expiration time of the cookie say five minut and on that sensitive pages u just check the cookie on the page load event if the user came at that page after five minut then the cookie will expire and redirect to login page.