07-23-2023, 08:05 AM
I want to sign out a user when his session times out. So used following code in Global.asax:
protected void Session_End(object sender, EventArgs e)
{
FormsAuthentication.SignOut();
}
But seems `session_end` never fires. Any idea how can fix it? I'm using ASP.NET with default settings.
protected void Session_End(object sender, EventArgs e)
{
FormsAuthentication.SignOut();
}
But seems `session_end` never fires. Any idea how can fix it? I'm using ASP.NET with default settings.