Hello, Does Session Time - out is applicable ing Windows authentication?
If so, in what event can i capture this? Thanks.
Printable View
Hello, Does Session Time - out is applicable ing Windows authentication?
If so, in what event can i capture this? Thanks.
Yes. It is applicable the session timeout is applicable to windows authentication also. But the thing is that the server will retain the User.Identity.name as the current user name. I have some read that you need to implement a 404 Filenot found exception
In what event can capture if session timeout is raised?
Add the Global.asax file(Right Click project --> Add new item --> Global Configuration File )
in your application and you need to handle the Session_End Event
Code:Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session ends
End Sub
I already tried that solution. I set my timeout to 10 secs but nothing happened. I am using Windows Authentication.
Where exactly did you set the session timeout?
Can you show us?
The Session End event is notorious for not being raised exactly when you think that it should be. Are you debugging directly out of Visual Studio, or have you placed your application under IIS?
Gary
hay,
you need to provide more informations about your problem