Thank you. I added "AND cgi.server_port GT 0" to my conditional. This seems like a decent solution.
-Mike Chabot On 8/22/06, Rick Root <[EMAIL PROTECTED]> wrote: > I came across this the other day. > > CGI.SERVER_PORT = -1 > > (or SERVERPORT, can't remember which). > > That's what I used. > > Rick > > Mike Chabot wrote: > > I have an Asynchronous Events via CFML gateway set up to handle a > > logging action. There is a block of code in Application.cfm that > > attempts to validate some CGI variables, which causes problems when > > run inside of an event gateway call. > > > > Is there a preferred way to identify that the page is running from > > inside of an event gateway call so that I can write a conditional and > > skip a certain block of code in Application.cfm? All the CGI variables > > seem to be blank when the page is running in an event gateway call, > > which I suppose is one way to perform the check. > > > > Windows 2003/IIS 6 > > > > Thank you, > > Mike Chabot > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250723 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

