It returns the same thing. Note that this variable is not reliable, in that
a person can make that variable be whatever he wants it to be. Example:
yourpage.asp:
<%
Response.Write Request.ServerV ariables("HTTP_ HOST") & " or " &
Request.ServerV ariables("SERVE R_NAME")
%>
Load that page and see the results. Then, open a command prompt (cmd.exe)
and enter this:
(Where xxx.xxx.xxx.xxx is your site's IP address)
echo xxx.xxx.xxx.xxx bogus>>%windir% \system32\drive rs\etc\hosts
Now load
http://bogus/yourpage.asp in your browser.
--
Ray at home
Microsoft ASP MVP
"JT" <an*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** ******@phx.gbl. ..
because i haven't yet setup https on my webserver... smarty
-----Original Message-----
Why not just try it and see?
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
JT <an*******@disc ussions.microso ft.com> wrote in message
news:13******* *************** *******@phx.gbl ... if i am using https, will this work the same as if i were using http?
Request.ServerV ariables("HTTP_ HOST")
returns www.mywebsite.net for http.
what about https?????
thanks much
jt
.