[thelist] Getting the URL from the location bar in ASP?

Michele Foster michele at wordpro.on.ca
Mon Mar 31 06:20:20 CST 2003


----- Original Message -----
From: "Christian Anderson" <chris at jobdragon.com>


> Hi,
>
> I had a few lines of ASP that would get the URL from the browsers location
> bar, and store it as a string, but unfortunately I've lost it... and cant
> remember how it was done.
>

<% PageName = Request.ServerVariables("SCRIPT_NAME")
Response.write PageName %>

http://www.devguru.com/Technologies/asp/quickref/request_servervariables.htm
l

I think that's what you meant?

Mich



More information about the thelist mailing list