Skip to main content
Dileep_NR
Inspiring
April 18, 2009
Answered

Event Gateway and CGI

  • April 18, 2009
  • 1 reply
  • 1994 views

Hi All

     I have create an eventgateway and call the gateway instance using "SendGatewayMessage" function.  The gateway instance working properly.

But i have write the CGI to a pdf

the CGI.SERVER_NAME is NONE, REMOTE_ADDR is empty string

How can i get the SERVER_NAME and REMOTE_ADDR

Please help

This topic has been closed for replies.
Correct answer ilssac

You have to pass that information into the event handler function.

CGI variables are built by the web server and passed the the application server.

Invoking a gateway event with SendGatewayMessage does not go through the web server so no CGI variables.

1 reply

ilssac
ilssacCorrect answer
Inspiring
April 20, 2009

You have to pass that information into the event handler function.

CGI variables are built by the web server and passed the the application server.

Invoking a gateway event with SendGatewayMessage does not go through the web server so no CGI variables.