积极答复者
网页编程有没有退出网页的事件?

问题
答案
-
您好,
本版块讨论的是VB.NET ,您的主题与asp.net相关, 所以我建议您到http://forums.asp.net/获取帮助。 另外,建议您查看这个网页看是否可以解决您的问题,使用
onbeforeunload
事件:http://www.codeproject.com/Articles/20260/Save-Changes-on-Close-of-Browser-or-When-Exiting-tRegards,
Shanks Zen
MSDN Community Support | Feedback to us
- 已编辑 Youen Zen 2012年4月13日 3:05
- 已标记为答案 windows 7 to windows xp shared error 2013年3月1日 13:20
全部回复
-
您好,
本版块讨论的是VB.NET ,您的主题与asp.net相关, 所以我建议您到http://forums.asp.net/获取帮助。 另外,建议您查看这个网页看是否可以解决您的问题,使用
onbeforeunload
事件:http://www.codeproject.com/Articles/20260/Save-Changes-on-Close-of-Browser-or-When-Exiting-tRegards,
Shanks Zen
MSDN Community Support | Feedback to us
- 已编辑 Youen Zen 2012年4月13日 3:05
- 已标记为答案 windows 7 to windows xp shared error 2013年3月1日 13:20
-
用户拔网线的话,服务器端不会得到任何通知。你应该做心跳处理。
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP