[英]How does the baseclass call the Session_End method from Global.asax?
[英]Redirecting to another page from Session_end in global.asax
我需要在會話超時時將用戶重定向到登錄頁面。 global.asax中的Session_End方法存在以下問題:
沒有用戶的任何交互,不是直接在服務器上引發Session_End嗎?
當我轉到您的頁面(並開始一個會話),關閉瀏覽器窗口並且永不返回時,會發生什么情況? 可以理解HttpContext.Current.Response
為null。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.