- see footer for list info -<
Morning all,

I have the code below on my site to check whether a transaction is going through on the live server. If it's not on live, then the test_status param is set to true and the transaction dealt with accordingly.

<cfset request.liveServer = "http://www.betenoir.net";>

<cfif CGI.SERVER_NAME neq "#request.liveServer#">
   <cfset request.test_status = "true">
</cfif>


Problem is, very occasionally, a transaction comes from the live server but is being flagged as a test in the code block above. How can this be? Does CGI.SERVER_NAME sometimes not work?

Thanks, Damien
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to