I have a VB.NET application running on a terminal server (Windows 2008 Server).
In the login form I use:
Public bGrantAccess As Boolean = False
If the variable is set to true after validation this will happen for all terminal server users, not only for the specific user. This means when user A has logged in and user B, C, D, etc. are automatically logged in.
How should variables be declared when running the application on a terminal server so they are user specific?