I have asp.net application with Windows Authentication. I need to redirect to one page when the session expires.
I have set the timeout in web.config file.
< sessionstate mode ="Inproc" timeout="5"/>
In Session_End event of Global.asax file, I have below code
Response.Redirect(".../CommonPage.aspx");
When I debug the code, I got breakpoint hit after 5mins of idle in Session_End event. But the application is not redirected to CommonPage.aspx.
Kindly give me solution on how to redirect to particular page on session expiration in Windows authentication.