Hi,
I have a class in the APP_CODE folder which needs access to Session
variables.
When I try to read them I the following error:
Session state can only be used when enableSessionSt ate is set to true,
either in a configuration file or in the Page directive. Please also
make sure that System.Web.Sess ionStateModule or a custom session state
module is included in the <configuration> \<system.web>\< httpModules>
section in the application configuration.
What should I do to make it work?
Thanks.
I have a class in the APP_CODE folder which needs access to Session
variables.
When I try to read them I the following error:
Session state can only be used when enableSessionSt ate is set to true,
either in a configuration file or in the Page directive. Please also
make sure that System.Web.Sess ionStateModule or a custom session state
module is included in the <configuration> \<system.web>\< httpModules>
section in the application configuration.
What should I do to make it work?
Thanks.
Comment