Copy link to clipboard
Copied
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!!
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
I tried to get cgi.server_name. Got it as "none".
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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!