Click here to Skip to main content
15,901,284 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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>
      <add type="System.Web.SessionState.SessionStateModule" name="Session"/>
Under the "system.web"  tag, but the problem still persist

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