Click here to Skip to main content
15,299,255 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
This is what is shown in my the design mode of visual studio for a page of my web site project:
"menuPageSession 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."
So this the line i add to my web.config file:
<pages buffer="true" enableSessionState="true"></pages>
    <httpModules>
      <add type="System.Web.SessionState.SessionStateModule" name="Session"/>
    </httpModules>
Under the "system.web"  tag, but the problem still persist
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900