Skip to main content
Inspiring
April 17, 2009
Question

CGI variables in cfml event gateway??

  • April 17, 2009
  • 1 reply
  • 816 views

Hi All,

Do we get cgi variables in event gateway cfc?? I tried with cgi.server_name. But I got the result as"none". Is there anything that I am missing???Plz Help!!

    This topic has been closed for replies.

    1 reply

    April 17, 2009

    As CGI variables are created by the webserver (and there are some differences as to what are sent back depending on whether you use IIS or Apache etc.) If your event gateway CFC is being called via the event system and not via the webserver, these values would not be populated.

    What specific CGI scope information do you need?

    balumohanAuthor
    Inspiring
    April 17, 2009

    I tried to get cgi.server_name. Got it as "none".

    April 20, 2009

    I don't think CGI scope is enabled for gateway instances - they are not using a webserver which is where that value is coming from.