更新时间:2023-11-23 11:00:40
http: //csharpdotnetfreak.blogspot.com/2008/11/detecting-session-timeout-and-redirect.html [ ^ ]
http://mattslay.com/detecting-session-timeout-in-asp-net/ [ ^ ]
http://forums.asp.net/p/1104278/1685530.aspx [ ^ ]
http://csharpdotnetfreak.blogspot.com/2008/11/detecting-session-timeout-and-redirect.html[^]
http://mattslay.com/detecting-session-timeout-in-asp-net/[^]
http://forums.asp.net/p/1104278/1685530.aspx[^]
检查它
http://csharpdotnetfreak.blogspot.com/2008/11/detecting-session-timeout-and-redirect.html [ ^ ]
void Session_Start(object sender,EventArgs e)
{
Response.Redirect(LoginPage.aspx);
}
在Global.asax文件下
void Session_Start(object sender, EventArgs e)
{
Response.Redirect("LoginPage.aspx");
}
Under Global.asax file