I don't want to get the two sites mixed up. I have 2 SQL databases as well. so I need two connection strings.
Is there a way to have an 'IF' statement in the global.asax file to tell which folder on the server the global.asax file is sitting in when it runs, then set Session(WhereAmI") = ???? .
is there a way to do this somehow?
IF folder = "TEST" then
Session(WhereAmI") = "TEST"
Else
Session(WhereAmI") = "Production"
End if
DougP
Is there a way to have an 'IF' statement in the global.asax file to tell which folder on the server the global.asax file is sitting in when it runs, then set Session(WhereAmI") = ???? .
is there a way to do this somehow?
IF folder = "TEST" then
Session(WhereAmI") = "TEST"
Else
Session(WhereAmI") = "Production"
End if
DougP