[nycphp-talk] Getting fragment - after the hashmark
Hans Zaunere
lists at zaunere.com
Sat Jun 25 14:14:32 EDT 2005
> > I tried this myself, with no luck.
> >
> > I passed ?foo=bar#tomfrag to a file with a phpinfo call, and the
> > fragment never appears. Weird.
>
> http://www.w3.org/TR/webarch/#media-type-fragid
>
> Interpretation of the fragment identifier is performed solely by the
> agent that dereferences a URI; the fragment identifier is not passed
> to other systems during the process of retrieval. This means that some
> intermediaries in Web architecture (such as proxies) have no
> interaction with fragment identifiers and that redirection (in HTTP
> [RFC2616], for example) does not account for fragments.
Well heck - that covers it. So, when rewriting URLs - for paging for example - there's no way to keep the fragment.
I suppose, if it really mattered so much, someone could write a JS snippet that would call ahead to the web server, which would track via the user's session, but that's a lot of work just for a fragment.
H
More information about the talk
mailing list