On Friday, November 04, 2005 7:53 AM [EDT], Paul Richards-Training <[EMAIL PROTECTED]> wrote:
> Hi... > > The problem I am having is this: > > On a site about animals there is a page called pets.asp > The page contains a number of anchors which look like this: > > /pets.asp#dogs > /pets.asp#cats > /pets.asp#turtles > > I need to capture all the requests for each anchored section of the > site individually. > > So I am hoping my request report would look like this: > > /pets.asp 50 > /pets.asp#dogs 20 > /pets.asp#cats 20 > /pets.asp#turtles 10 > > The problem is, I am having trouble extracting these anchor > references, just getting the top-level pets.asp requests reported but > nothing at the sub-level below the # argument. That's because the anchors are a client side feature - they aren't passed to the server, so they aren't in your logs. If you make a request for /pets.asp#dogs, the browser has to load all of pets.asp, and then jump to #dogs, so it just asks the server for /pets.asp. If you then click on the link to /pets.asp#cats, your browser doesn't send anything to the server, it just jumps to that anchor in the page that it already has. (I just checked in Firefox and Internet Explorer. It's possible that some other browsers might include this information, but I wouldn't count on it). Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

