Tushar Dikshit

Tushar Dikshit

  • 570
  • 2k
  • 473.6k

WebForms Idle timeout how to redirect to page (Windows Auth)

Feb 15 2018 2:46 PM
Hi,
 I am working on  old application.
ASp.NET with VB.NET web forms.
It has windows authentication  so when idel timeout happens it comes to Session_end event.
  1. Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)  
  2. ' Fires when the session ends  
  3.   
  4. End Sub  
This is fine but, need to redirect user to a different page.
 
Response.Redirect and Server.Transfer doesn't work here.
 
Please let me know any sugegstions. 
 
Thanks,
 Tushar

Answers (2)