Author: dejajaysan | Posted on: 2/13/2011 1:47:26 AM | Views : 464

Hi  All,


I want to redirect the user after 2 mins if there is inactivity for 2 mins. I am not using ASP.NEt membership. And I dont want to use Sessiontimeout for this. Session timeout will logout the user even if he is working on the system. My objective is like screensaver process.
If there is no action for the specified time, the screensaver runs. Similarly, I want to redirect the user to login page.


Please note that i have already handled it with the following javascript:
<script type="text/javascript"> var timer=setInterval("auto_logout()",120000); function reset_interval() { clearInterval(timer); //second step: implement the timer again timer=setInterval("auto_logout()",120000); } function auto_logout() { //this function will redirect the user to the logout script window.location="login.aspx?action=idle"; } </script> & ...

Go to the complete details ...