FYI: ctor in asp.net and session properties

S

Schley Andrew Kutz

I figured out after much confusion this weekend that you cannot reference
the Session.SessionID property in a page's constructor. It will tell you
that you must have enableSessionState set to true over and over. It works
fine in Page_Load or PreRender as it should.

Just thought I'd throw that out there.

-a
 

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,763
Messages
2,569,562
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top