session state

Discussion in 'ASP.NET / ASP.NET Core' started by onderix, May 22, 2010.

  1. I am getting following 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.

    I add sessionstate= true on page drictive and web.config but it still dosent work.

    Thanks in advance.

    Onder
     

Share This Page