refrencing the current URL

Andy Caldwell (acaldwel@nsc.nsc.com)
Mon, 22 Aug 94 13:33:25 -0700


I have been looking for this for a week+ and have gotted nothing
but the proverbial 'blank stare', so perhapse it does not exist.

What I need to do is refrence the current URL in a hotlink (as an
argument in a CGI call).
It seems to me that a keyword reserved for this purpose would be a
natural thing in HTML. The client would do the substitution before
making its request.
i.e.:

<A HREF="/some/cgi-bin/script.pl?$Current_URL>

Mosaic (my client) would actualy request
<A HREF="/some/cgi-bin/script.pl?http://the/current/URL.html">

This doesn't seem hard to do on the client end and I think it
would be very useful. Does something like this exist in HTML or
HTML+? OR, is there anothere way to do it?
-andy acaldwel@nsc.nsc.com