L
lumazi
Hello Everyone,
I have a confusing problem. I'm getting the following error
message on an ASPX page ...
Session state can only be used when enableSessionState is set to true,
either in a configuration file or in the Page directive
I've seen it before and figured something was shut off. I checked
and by default the session state is turned ON. I've got the web.config
setup for session state as follows ...
<sessionState
mode = "SqlServer"
sqlConnectionString="data source=localhost;Integrated
Security=SSPI;Initial Catalog=ASPState"
cookiesless="false"
timeout="20"/>
I'm at a bit of a loss as to what's happening. According to the
code and setup, session state should be working. Am I missing
something? what else can I check?
Thank you in advance for any assistance,
Scott Vercuski
I have a confusing problem. I'm getting the following error
message on an ASPX page ...
Session state can only be used when enableSessionState is set to true,
either in a configuration file or in the Page directive
I've seen it before and figured something was shut off. I checked
and by default the session state is turned ON. I've got the web.config
setup for session state as follows ...
<sessionState
mode = "SqlServer"
sqlConnectionString="data source=localhost;Integrated
Security=SSPI;Initial Catalog=ASPState"
cookiesless="false"
timeout="20"/>
I'm at a bit of a loss as to what's happening. According to the
code and setup, session state should be working. Am I missing
something? what else can I check?
Thank you in advance for any assistance,
Scott Vercuski