Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session variables in code behind file
Message
 
À
26/08/2011 15:02:27
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01521931
Message ID:
01521948
Vues:
37
The reference to a session variable is in a method called from the OnInit method. I finally figured out how to use the workaround in the post, but I access a session variable in this way in many forms. I was hoping maybe just a change in the web.config would handle this.

Anyway, thanks for the feedback.


>
>Is your reference to session in the OnInit method? Did you try the work around suggested here? I have not encountered it but most likely I do not have any cases of session in the OnInit. Can you put it somewhere else?
>Timothy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform