Use CFHEADER as in:
<CFHEADER STATUSCODE="606" STATUSTEXT="some descriptive text">
Note that ColdFusion seems to be preset for some status codes to ignore some
or all of your customized headers. I don't know how it will respond to a
custom status code.
For more details, you can see a preso I gave on CF and HTTP. The PPT is
available for d/l from
http://www.mdcfug.org/talks/ColdFusionFoundationsHTTP_09-09-03.ppt and code
samples are available from
http://www.mdcfug.org/talks/ColdFusionFoundationsHTTP_09-09-03.zip .
--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/
-----Original Message-----
From: Howie Hamlin [mailto:[EMAIL PROTECTED]
Sent: Monday, January 05, 2004 11:58 AM
To: CF-Talk
Subject: HTTP Response codes
Can ColdFusion be forced to send a particular HTTP response code? For an
application that I have I need to send a 606 response when an error occurs.
Thanks,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Please vote for iMS here:
http://www.sys-con.com/coldfusion/readerschoice2003/index.cfm <<<<
>>> Find out how iMS Stacks up to the competition:
http://www.coolfusion.com/imssecomparison.cfm
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

