G
Guest
I have a question related to ASP.net sessions and static attributes. In an
ASP.net application (MyApp) I have a class called Globals with a public
static string called UserName. Will UserName be unique for each session or
will the value of UserName be the same for all sessions?
For example, John launches MyApp and the UserName is assinged the value
"John". Next, Bob launches MyApp and the UserName is assigned the value
"Bob". Does John have a UserName == "John" while Bob has a UserName == "Bob"
or did John's UserName get overwritten to "Bob"?
Thanks, Danny
ASP.net application (MyApp) I have a class called Globals with a public
static string called UserName. Will UserName be unique for each session or
will the value of UserName be the same for all sessions?
For example, John launches MyApp and the UserName is assinged the value
"John". Next, Bob launches MyApp and the UserName is assigned the value
"Bob". Does John have a UserName == "John" while Bob has a UserName == "Bob"
or did John's UserName get overwritten to "Bob"?
Thanks, Danny