SPUG: Trapping Named Anchor References

Matt Tucker tuck at whistlingfish.net
Mon Oct 9 15:03:10 CDT 2000

-- David Vergin <dvergin at bigmindmedia.com> spake thusly:

> My best solution is redundancy: Always dup the anchor ref in the
> query string. Thus:
> http://www.myserver.com/cgi/coolsite.pl?page=124&anch=item16#item16
> This allows me to handle any link the user may have saved and to
> rebuild the anchor ref from the query string during log-in. It's not
> exactly normalized but it does the job. <g>
> Any suggestions?
> As always, rtfm's, url's, suggested lines of inquiry, wise counsel,
> key words for searches: all welcome.

As far as I can tell, this is the only way to do it. The problem is 
that the browser isn't passing this information to the server; it's 
simply using it to jump the display to a particular anchor on the page.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://mail.pm.org/archives/spug-list/attachments/20001009/c8901f73/attachment.bin

More information about the spug-list mailing list