ASP.Net - ask password after 5 minute inactivity
Posted on 2007-10-18
We have a Visual studio 2003 web application created using VB.Net, ASP.Net & Crystal reports.
There are about 20 aspx pages in the application.
We would like to include a feature in the application so that if the user is inactive for 5 minutes(no keyboard or mouse movements), a security messagebox would pop-up and the user has to re-enter the password to continue. once the user enters the password he should be able to continue on the webpage from where he left off before 5 minutes.
2). Should I redirect the user to the login page? in that case how do I maintain the session? there are a lot of textboxes in the page, would it be better to store the values of the textboxes in a temporary table in sql server database before asking for password? and once the user enters the password I can reload the text boxes from the temporary table.
please advise with your suggestions/recommendations.
Thanking you in anticipation.