On Thu, 25 May 2006, Bo Berglund wrote:
> I have a strange question that might not even belong here
It doesn't. The www-html list is for discussing the development of HTML,
not for problems of practical authoring with the tools there are today.
There's nothing strange in the question, but it isn't about HTML.
You cannot manipulate URLs in HTML the way you would like to.
Usually people use some kind of preprocessing or dynamic generation of
pages when dealing with problems like this. Perhaps you could use a link
that refers to a CGI script which uses the Referer field to decide where
to go. This would avoid some efficiency problems that you might have if the
entire page were dynamically generated.
A suitable place to ask for ideas on your problem might be the Usenet
discussion group news:comp.infosystems.www.authoring.site-design.
--
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/