Popup while session timeout

若如初见. 提交于 2019-12-11 21:51:13

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/1838760/popup-while-session-timeout

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!