[thelist] 404 Error Information

.jeff jeff at members.evolt.org
Fri Mar 1 17:57:00 CST 2002


josh,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Feingold Josh S
>
> Is there a way to find out what page a user was trying
> to find and what the referring page was when they got
> a 404 error in an IIS environment?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

if you're using a url 404 handler, then yes.  the page they requested is
available in cgi.query_string.

a request like this:

http://www.domain.com/foo/bar/index.cfm?catid=26&sid=134590871435

would result in a query string like this:

404;http://www.domain.com/foo/bar/index.cfm?catid=26&sid=134590871435

if you're *not* using a url 404, then i don't know of any way to find out
what url the user was requesting.

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thelist mailing list