Hi. I'm trying to forward my web site users to a more friendly error
message whenever they encounter a 404 page not found error.
So far, it's been working fine...until XP SP2 came onto the scene.
I've so far refused to update to SP2 so I've been unaware of the issue
until someone just pointed it out to me.
The simple code below fails to forward to the URL I'm passing to it on
XP SP2 machines in IE. Did SP2 disable the ability to use <body
onload= or to use location.href?
<html>
<head>
<cfparam name="variables.baseURL" default="http://www.mycompany.com">
<script language="javascript1.2">
function forward(url){
var baseURL = '<cfoutput>#variables.baseURL#*</cfoutput>'
location.href=baseURL+'/suppor*t/supportform.cfm?referrer=' +
escape(url);
}
</script>
</head>
<body onload="forward(document.locat*ion.href)"></body>
</html>