Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define global variables?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00848129
Message ID:
00848597
Vues:
16
Michel,

You can't have static members unique to a session. You would need to use session variables instead.

>>One thing to keep in mind is that static or shared variables are across all sessions in ASP.NET. They are not bound to a session so cUsername is the same for ALL sessions.
>
>This is exactly what I want.
>
>While at it, what would be required to have it unique per session?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform