Forum Moderators: open

Message Too Old, No Replies

coldfusion 404 server header response IIS

         

synergytheory

8:59 pm on Oct 4, 2006 (gmt 0)

10+ Year Member




I have the error pages working fine, but I am not sure how to force a 404 server header response [getting a 200 response]

Searched around and couldn't find a snippets of code to do the job, anyone know how to do it in coldfusion?

LifeinAsia

9:19 pm on Oct 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Try something like:
<cfheader statuscode="404" statustext="Object Not Found">

synergytheory

9:47 pm on Oct 4, 2006 (gmt 0)

10+ Year Member



That did the job...

Much thanks