Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CGI variables in cfml event gateway??

Explorer ,
Apr 16, 2009 Apr 16, 2009

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!!

766
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 17, 2009 Apr 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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 17, 2009 Apr 17, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 20, 2009 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 20, 2009 Apr 20, 2009
LATEST

Yeah, I think you are right.. I tried a lot.. But didnt get that. Then I decided to pass the cgi.server_name in the structure to the event gateway.

Thanks for helping me!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources