Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SessionState Server Error
Message
De
18/09/2003 00:48:04
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
17/09/2003 11:56:56
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00829936
Message ID:
00830193
Vues:
27
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!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform