I have built a custom error page that successfully handles a couple of 
different errors through the Apache VirtualHost ErrorDocument directive. 
I would like to log the requested page. I can display the requested page 
to the user, javascript:window.location, once the error page displays 
but I would like to access the window.location information and log it as 
the page is processed. Something like:
<cflog file="page-errors" type="error" text="IP: #CGI.Remote_Addr# 
Requested: 'javascript:window.location'" />

Any suggestions on how to accomplish this? I have tried CGI.Script_Name 
and CGI.HTTP_Referer but they do not seem to work.

Thanks for the help!

Doug James
IT Developer
MUSC - Hollings Cancer Center
843.792.6357
http://hcc.musc.edu

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183485
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to