In my ASP.net project I have been assigning usernames to a variable in Module1 when users log in.
The variable is declared as Public oUsername at the top of the module.
When another user logs in it changes that variable to their username.
I thought that Module1 wasn't shared like this. Why is it?
Is there a better way place to store the variable?
ASP.NET
Last Comment
Murray Brown
8/22/2022 - Mon
Dorababu M
What was your requirement? What do you mean by module?
The variable is declared as Public oUsername at the top of the module.
Means on the page?