Why don't you add the code as a parameter to the template?

like error.cfm?code=404


--
Hugo Ahlenius

-------------------------------------------------------------
Hugo Ahlenius                  E-Mail: [EMAIL PROTECTED]
Project Officer                Phone:          +46 8 412 1427
UNEP GRID-Arendal              Fax:            +46 8 723 0348
Stockholm Office               Mobile:         +46 733 467111
                               WWW:       http://www.grida.no
                               Skype:        callto:fraxxinus
------------------------------------------------------------- 








 

| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] On Behalf Of Jim Mattson
| Sent: Monday, April 03, 2006 22:49
| To: [email protected]
| Subject: [CFCDev] OT: HTTP Status Code
| 
| Hello,
| 
| We have a client request to change all of the IIS error messages to a 
| specific page.  This page is to print a user friendly message but also

| contain the HTTP Status Code that generated the error.
| For example, 404 or 500.  The question is can CF or Java read the HTTP

| status code on the REQUEST coming in?  We evaluated 
| GetHttpRequestData(), but have not found any way to retrieve the http 
| status code.
| 
| Any ideas would be appreciated.
| 
| Thanks,
| 
| Jim M.
| 
| 
| 
| __________________________________________________
| Do You Yahoo!?
| Tired of spam?  Yahoo! Mail has the best spam protection around 
| http://mail.yahoo.com
| 
| 
| ----------------------------------------------------------
| You are subscribed to cfcdev. To unsubscribe, send an email to 
| [email protected] with the words 'unsubscribe cfcdev' as the subject 
| of the email.
| 
| CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting

| (www.cfxhosting.com).
| 
| An archive of the CFCDev list is available at 
| www.mail-archive.com/[email protected]
| 
| 
| 
| 
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to