[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Passing HTTP_REFERER to a custom 404 page?



<snip>
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
</snip>

Thanks - but the servervariables collection is precisely what I've been
trying to use.  Most of the variables are there, but http-referer' (and
variations on the theme) are blank.  I believe this may be a configuration
setting of some sort, but I am at a loss to know what.

Jay