Forums - C# Corner

Forum guidelines
Pradeep Yadav

Pradeep Yadav

  • 635
  • 1.4k
  • 85.9k

Getting error even after setting enableSessionState to true

Jul 11 2017 4:30 AM
Geting Error
Error=Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration. at System.Web.UI.Page.get_Session() at
 
Even we have set enableSessionState as true.

Answers (2)