Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global Variables C#
Message
 
 
To
18/12/2009 20:05:05
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01438724
Message ID:
01439911
Views:
47
That's why she's an MVP ;-) This is an excellent example of the value of the UT, contrary to the opinion of that drive-by guy from L.A. the other day.

>That worked Bonnie, thanks. Much simpler
>
>>>you probably didn't wade through all the other posts in this thread
>
>Excuse the terrible pun, but there was too much "static"
>
>
>
>
>
>
>>>So, you probably didn't wade through all the other posts in this thread. <g> You don't actually have to instantiate the AppUserClass to set the AppUserID. Since it's all static, you really only have to do this, no instantiating needed:
>
>AppUserClass.AppUserID = "MyID";
>
>Now, if you have other stuff you're doing in the constructor, then the above probably isn't what you want to do. But, if not, then simply setting the static property is just fine (and easier).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform