Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SessionState Server Error
Message
From
18/09/2003 00:48:04
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
17/09/2003 11:56:56
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00829936
Message ID:
00830193
Views:
28
Also, check the machine.config in the .NET Framework folder. The hierarchy of configurations is machine.config -> web.config -> page directives.

>Mindy,
>
>I'm pretty sure that SessionState is enabled by default. Perhaps someone turned it off in your Web.config file? Check that out ...
>
>~~Bonnie
>
>>I receive the following error at the runtime of my project when it tries to cast a string variable into session in the .vb code behind file.....
>>
>>"Session State can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive."
>>
>>The enableSessionState property for the main page of the project is set to true. EnableSessionState = "true" in the HTML code as well. There are, however, about 5 .aspx files within this project. Where else do I need to set SessionState = "true"?? Thanks in advance, again!
Previous
Reply
Map
View

Click here to load this message in the networking platform