views:

237

answers:

1

How to set a pop up message box saying... "please end your session and start again" in my asp.net webform?

A: 

My first shoot is JS script with simple time counter. You should set max session time value and decrease it every one second - if == 0 then popup some message. When you reload page - counter will be reseted and start counting again.

Good luck !

hsz

hsz
could you post the code please ?
why don't you try?
Shoban
Here you have a sample JS code:http://www.java-scripts.net/javascripts/Countdown-Timer.phtml
hsz
what i need to undestand is how to check whether the session has been timed out?