Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global Variables C#
Message
From
18/12/2009 20:05:05
 
 
To
18/12/2009 18:54:28
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01438724
Message ID:
01439895
Views:
44
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).
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform