Session state can only to be used when enable sessionState is set to True, either in configuration file or in the page directive. Please also make sure the System.Wbe.SessionStateModule or a custom SessionState modle is included in the <configuration>\<system.web>\<httpModule>.
Solution :
Step : 1
<page enableSessionState="true">.
Step : 2
<modules runAllManagedModulesForAllRequests="True" >.
Step : 3
remove the line if available
<modules>
<remove name="session" />
</modules>
Solution :
Step : 1
<page enableSessionState="true">.
Step : 2
<modules runAllManagedModulesForAllRequests="True" >.
Step : 3
remove the line if available
<modules>
<remove name="session" />
</modules>
No comments:
Post a Comment