Session undefined in IIS6 even with EnableSessionState

E

Eric

HttpContext.Current.Sesssion is undefined for me.
Everyplace I've looked I have enabled session state.
This includes: machine.config, web.config. IIS Manager, and on the page
itself.

The machine I'm putting this on is a domain controller but I can't imagine
thats the problem.
Thanks,

Eri
 
E

Eric

Thanks for the reply Alvin.
Doesn't look like those articles address the session issue (unless I missed
something). The bug is for version 1.0 framework though I had already taken
those steps. There is something else keeping SessionStateModule from
loading; perhaps it's in these documents but I'm not sure the trial and
error approach is worth it.

It's so basic a problem too.
Session is <undefined> when I step into an empty page.
The error message so clear. "Make sure you enablesession state at the page
or web.config"
And the problem, a halting one.

Eric



Alvin Bruney said:
Yup, that's it. Domain controllers have special issues. Start here.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetAP01.asp

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Eric said:
HttpContext.Current.Sesssion is undefined for me.
Everyplace I've looked I have enabled session state.
This includes: machine.config, web.config. IIS Manager, and on the page
itself.

The machine I'm putting this on is a domain controller but I can't imagine
thats the problem.
Thanks,

Eri
 

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

Top