Funny ASP.NET Session behavior

  • Thread starter Thread starter Eric Biggs
  • Start date Start date
E

Eric Biggs

Hi, I seem to be getting funny behavior with ASP.NET Sessions. According to
the performance counters in ASP.NET Applications when I set the
Session.Timeout (in the code rather than the web.config) It causes the
session to be abandoned. Is this expected behavior?
 
Interesting article, but I'm not sure it helps. 1. I'm setting the session
dictionary for the first (and only) time in session_onStart in global.asax.
2. I already have a successful request by the time I set the Session.Timeout
Property. Interestingly enough, although the performance counter tells me
the session has been abandoned, I can still use its state. Which makes me
suspicious of the performance counter... Do you know if these counters are
even reliable?



Alvin Bruney said:
http://www.developersdex.com/gurus/articles/746.asp
this may help

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Eric Biggs said:
Hi, I seem to be getting funny behavior with ASP.NET Sessions.
According
to
the performance counters in ASP.NET Applications when I set the
Session.Timeout (in the code rather than the web.config) It causes the
session to be abandoned. Is this expected behavior?
 
Back
Top