Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

What I am planing to do is , suppose if I am on particular form , i have filled many details into it . And clicking on save button if session time out i don't want to loose my data , If session time is about to end I want to display a message to end user saying do you want to extend , and clicking on yes session time should extended again ,
and if session time out is unexpected then well in that case it is obvious that it wont get extended as it had been expired already , I just want to display an alert stating session has been expired and i don't want to refresh my webpage , so that end user can open up other tab and fill the data from previous tab . so that he is safe with his data by copying from other tab.


I have an asp.net site that I need to have a popup/layer/alert happen when the session reaches its timeout (lets say 10 minutes). The popup will say that your account session will expire due to inactivity and have a button for continue session or a button for logout.

I see different ways to do this online, but what's the best/proper way to handle this? Do I have to put an additional timeout if the popup is open too long?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900