[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?
- Subject: RE: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?
- From: "Clark E. Morgan" <prlhkr@xxxxxxxxxxxxx>
- Date: Mon May 7 22:39:01 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> Pretty much because I'm an ASP programmer, Chuck. I prefer
> what I'm (obviously) missing is the variable that contains the referrer.
I on the other hand am NOT an asp programmer, nor do I care to be, even
if they do reconsider my application; but what you want is
servervariables("http_referer")
and you would use something like
<%
badPage = request.servervariables("http-referer")
response.write "I have no page called" & badPage
%>
servervariables is an array containing several useful bits of information
and like any array, you can walk it, and send yourself an e-mail of that
each time your 404 page gets called with lots of diagnostic information
that might help you chase down broken links on your site and on others
Clark E. Morgan