G
Guest
Hi,
I have declared a global variable in module using the following syntax
(without Class) in my ASP.NET application:
Public UserName As String
There is no problem for me to share the value among all the webforms.
However, the value can be overwritten by another client/computer who is
accessing to the application. For example:
1st user set UserName="abc" and 2nd user set UserName="xyz". In this case,
the 1st user will get the "xyz" instead of "abc". Any idea to prevent the
value to be overwritten by other client? Thanks.
Dennis.
I have declared a global variable in module using the following syntax
(without Class) in my ASP.NET application:
Public UserName As String
There is no problem for me to share the value among all the webforms.
However, the value can be overwritten by another client/computer who is
accessing to the application. For example:
1st user set UserName="abc" and 2nd user set UserName="xyz". In this case,
the 1st user will get the "xyz" instead of "abc". Any idea to prevent the
value to be overwritten by other client? Thanks.
Dennis.