When in a Session, I can use Session.Header("Host")
and get the hostname that the app is responding from. How can I do this in HandleSpecialURL
? I can not rely on the OS to give me a hostname because my app is responding to many different hosts via Apache’s VirtualHost mechanism. Depending on the virtual host the app is responding to, I connect to a different database.
Request.GetRequestHeader(“host”)
That was silly. I had my eyes so much on Header()
I didn’t even see GetRequestHeader()
. Thanks!