G
Guest
Hello
I was wondering if someone could help me out with a Session_End problem in my Global.asax. I've tried everything, and still no success
Here is the scenario: sessionstate is set to InProc. I have timeout set to 1 min
I have a variable in session_start that is incremented each new session, and it is then decremented in Session_End. I use this variable on a web form to show current users online. All of this works just fine, so I know that session_end event handler is firing
I also have the following in the Application_AuthenticateRequest handlerThis is an instance method that performs an update stored procedure in Sql Server 2000, and it also works fine
Activity myActivity = new Activity( )
myActivity.Method(User.Identity.Name.ToString( ), true)
Here's the prob: Session_end also contains this
Activity myActivity = new Activity( )
myActivity.Method(User.Identity.Name.ToString( ), false)
when the session timeout occurs after 1 min, this procedure does not work. What am I doing wrong? Please help. The decrementing of the variable works in session_end, why won't this
Thank you in advance for any help on this subject.
I was wondering if someone could help me out with a Session_End problem in my Global.asax. I've tried everything, and still no success
Here is the scenario: sessionstate is set to InProc. I have timeout set to 1 min
I have a variable in session_start that is incremented each new session, and it is then decremented in Session_End. I use this variable on a web form to show current users online. All of this works just fine, so I know that session_end event handler is firing
I also have the following in the Application_AuthenticateRequest handlerThis is an instance method that performs an update stored procedure in Sql Server 2000, and it also works fine
Activity myActivity = new Activity( )
myActivity.Method(User.Identity.Name.ToString( ), true)
Here's the prob: Session_end also contains this
Activity myActivity = new Activity( )
myActivity.Method(User.Identity.Name.ToString( ), false)
when the session timeout occurs after 1 min, this procedure does not work. What am I doing wrong? Please help. The decrementing of the variable works in session_end, why won't this
Thank you in advance for any help on this subject.