Hello,
I've done some research on the subject on this site and others and am struggling with the problem.
As link9 said in thread855-809301:
Sessions end when:
(a) there is x amount of time of inactivity in a current browser session (x is 20 minutes by default)
(b) the browser is closed
(c) Session.Abandon() is called
-------------------------------
I am having an issue when a user closes the browser in the application, session_end does not fire. I've shortened the default timeout to 1 minute so I could see immediate affects, but this event never seems to fire.
We are using Active Directory to authenticate users therefore we have impersonation turned on. Also, our session is set to be "InProc". The session timeout is set to 1 in the web.config file and in the session_start event I've also set Session.Timeout = 1.
Is there a known bug with this event or does the Session_End not run with impersonation turned on? None of the research I have done tells me that it doesn't work.
FYI, I have implemented a "Logout" function to the application, but am trying to nail down the user who just abandons the application without logging out. Thanks for everyone's help on this. If anyone has links to help areas, please feel free to share on this.
-- Brian
regards,
Brian
The problem with doing something right the first time is that nobody appreciates how difficult it was.
I've done some research on the subject on this site and others and am struggling with the problem.
As link9 said in thread855-809301:
Sessions end when:
(a) there is x amount of time of inactivity in a current browser session (x is 20 minutes by default)
(b) the browser is closed
(c) Session.Abandon() is called
-------------------------------
I am having an issue when a user closes the browser in the application, session_end does not fire. I've shortened the default timeout to 1 minute so I could see immediate affects, but this event never seems to fire.
We are using Active Directory to authenticate users therefore we have impersonation turned on. Also, our session is set to be "InProc". The session timeout is set to 1 in the web.config file and in the session_start event I've also set Session.Timeout = 1.
Is there a known bug with this event or does the Session_End not run with impersonation turned on? None of the research I have done tells me that it doesn't work.
FYI, I have implemented a "Logout" function to the application, but am trying to nail down the user who just abandons the application without logging out. Thanks for everyone's help on this. If anyone has links to help areas, please feel free to share on this.
-- Brian
regards,
Brian
The problem with doing something right the first time is that nobody appreciates how difficult it was.