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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top