I speak not only from experience, but from knowledge. I have used ASP since
it first appeared, and have authored books and articles on the subject of
ASP. While criticising my advice, you bring up no actual facts or data, only
innuendo. You obviously are not here to help, but with your own agenda, one
that doesn't serve anyone but yourself.
However, for the benefit of others, I will answer your innuendo: The Request
object is simply an object made up of the various text elements of an HTTP
Request. The ASP Request.ServerVariables Collection is derived by parsing
the Request and the headers in it. In the case of
Request.ServerVariables("SERVER_NAME"), the value in the Collection is the
domain name of the path requested by the browser. For example, if you
request
http://www.microsoft.com/default.asp, "microsoft.com" is the domain
name portion of the Requested URL. EVERY REQUEST includes either a domain
name, machine name, or an IP address. This variable will NEVER be empty.
What you are ignorantly proclaiming is in relation to
Request.ServerVariables("HTTP_REFERER"), which will indeed be empty if the
browser was just opened, and the URL was either typed in, or a favorite was
used, as the HTTP_REFERER is the URL of the page that linked to the current
one to bring the browser there.
The blanket statement "several instances why the server variables may never
be populated with data" indicates that there are instances where NO Server
Variables will be populated with data. If you knew what they were, you would
know how ridiculous that assertion is.
--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.