Re: How to retreive the URL of the chosen (but non-exsisting) page after redirect?

Giganews Newsgroups
Subject: Re: How to retreive the URL of the chosen (but non-exsisting) page after redirect?
Posted by:  Evertjan (exjxw.hannivoo…@interxnl.net)
Date: 02 Nov 2007

M@r(o wrote on 02 nov 2007 in comp.lang.javascript:

> We've got the following problem: When a visitor klicks a dead link he
> ends up on a 404-page like should be. On that page there's an
> opportunity to mail the webmaster (me) about the missing page. Most
> visitors don't describe the link or the page they came from
> (containing the dead link) so I really would like to prefill their
> email with the URL of the page that seems to be missing.
> All ideas are welcome...

Using serverside J[ava]script on a ASP platform:

Error page: <% = request.serverVariables("QUERY_STRING") %>

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Replies

In response to

How to retreive the URL of the chosen (but non-exsisting) page after redirect? posted by M@r(o on Fri, 02 Nov 2007