Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to define global variables?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00848129
Message ID:
00848597
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform