I would like to redirect to an action controller gracefully after session expires. Added Session_OnEnd method in my Global.asax file. See code below:
Global.asax:
public void Session_OnEnd()
{
//redirect to controller action here
}
At first I had "Response.RedirectToRoute" inside the method but throws an exception and can't work technically.