Posted on: 10/3/2013 7:57:44 PM | Views : 596

Where is the best place to read the url and determine what domain a user is wanting to go to?
 Maybe the Session_Start event in the gloabl.asax or default.aspx?

Dim strHTTP_HOST As String Dim intInString As Integer strHTTP_HOST = Request.ServerVariables("HTTP_HOST") intInString = InStr(strHTTP_HOST, "MyDomain.com", CompareMethod.Text) If intInString > 0 Then Session("DomainName") = "MyDomain.com" End If  

Go to the complete details ...