>    <script type="text/javascript">
>            Alert("Error");
>    </script>                          
>    <cflocation url="http://#CGI.SERVER_NAME#/testfile.html";>

First thing is that CFLOCATION sets a 302 header which tells the browser 
to redirect, and none of the "output" is sent to the browser.

If you want to show an error and redirect, you'll need to do it all in 
JavaScript (also, alert should be all lower-case)...

alert("Error");
document.location.href = '/testfile.html';


--
Justin Scott, http://www.tlson.com/



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312040
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to