Building and passing Environment variables
My .NET web application captures a users domain/network id using the System.Environment Class.
Dim suser As String = Environment.UserName.ToString
ViewState("suser") = suser
I can drop that into a ViewState and use it through out my web application. How could I make the "suser" variable I created a Environment Variable (or is it already one because I used the System.Environment class) and can it be passed to a text file?
Thanks
]
|