Session.IsNewSession yields true, unless Session_Start is wired ..

  • Thread starter Thread starter Anders Borum
  • Start date Start date
A

Anders Borum

Hello!

I've come across a strange behaviour in ASP.NET.

If you're examining the property "HttpContext.Current.Session.IsNewSession"
in a Page/UserControl, it always yields true, unless the "Session_Start"
method has been wired up in the HttpApplication (global.asax).

Could anybody please confirm this bug or explain the behaviour?
 
Back
Top