Smarter Stats Migration - sessionstate error
Problem reported by Dev Sev - 2/3/2021 at 6:19 PM
Hi After migrating smarterstats to new server, i found out the application ran a runtime error.

When i added session state mode with attribute InProc, everything worked fine but Is it safe to do so?

Added below code on web.config:

    <sessionState mode="InProc" />

This is the error i get if i remove the sessionstate line above:

 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. 

Reply to Thread