Re: Getting the full URL
From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 06/29/04
- Next message: Bullschmidt: "Re: ASP and page footer"
- Previous message: dlbjr: "Re: Getting URL from string"
- In reply to: Mark Schupp: "Re: Getting the full URL"
- Next in thread: Aaron [SQL Server MVP]: "Re: Getting the full URL"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 20:12:09 -0400
Right, this is all handled on the client side; the browser scans the HTML
and finds the <a name> bookmark, and scrolls to that location. ASP is never
involved in this process at all. In fact, in some scenarios, ASP can cause
the browser to bypass the process altogether.
-- http://www.aspfaq.com/ (Reverse address to reply.) "Mark Schupp" <mschupp@ielearning.com> wrote in message news:e$$b4zWXEHA.3676@TK2MSFTNGP09.phx.gbl... >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" <njsokalski@hotmail.com> wrote in message > news:%23Ev0vCWXEHA.3892@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 >> njsokalski@hotmail.com >> www.nathansokalski.com >> >> >> "Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message >> news:Xns9516ED7FECD25eejj99@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) >> >> > >
- Next message: Bullschmidt: "Re: ASP and page footer"
- Previous message: dlbjr: "Re: Getting URL from string"
- In reply to: Mark Schupp: "Re: Getting the full URL"
- Next in thread: Aaron [SQL Server MVP]: "Re: Getting the full URL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading