I think you are pretty much out of luck there. The browser doesn't appear to
send the page hash.
Here is what I get for a trace when I enter
http://localhost/wbtmanager/listsesvars.asp#help
GET /wbtmanager/listsesvars.asp HTTP/1.1
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Host: localhost
Connection: Keep-Alive
Cookie: ASPSESSIONIDAQDTTRCT=FALPMHFALOJJNKDGPKIEHFPO;
ASPSESSIONIDCSCSTQCS=NPLFPHFAOPELEGGFCEIKDJHE
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Nathan Sokalski" <nj********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
That would work for data posted via a form using the GET method, but what
about URLs that jump to a specific part of the page (using something like
filename.asp#titleindex)?
--
Nathan Sokalski
nj********@hotmail.com
www.nathansokalski.com
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.29... Nathan Sokalski wrote on 28 jun 2004 in
microsoft.public.inetserver.asp.general: I need to get the full URL of the current page in ASP. When using
Request.ServerVariables("URL") anything after the filename (such as a
#section1 to jump to an area on the page or data submitted from a form
using
the GET method) is automatically removed. I do not know of any keys
for the Request.ServerVariables collection that do this, but cannot
find any other objects/properties that would be appropriate. Any help
would be appreciated. Thank You.
response.write Request.ServerVariables("URL") & "?" &
Request.querystring
Please stop this gross crossposting.
Foollow up only to: microsoft.public.inetserver.asp.general
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)