Description

Internet procedure, executed from a Web browser, that tests whether OECGI/OECGI2 is running on a Web server.

Syntax

Inet_Test_Connect(Request)

Note: Request is any text after the string INET_TEST_CONNECT?

Parameters

The Inet_Test_Connect function has the following parameter:

ParametersDescription
Request[in] HTTP-request.
return[out] Incoming request as an HTML script.

Returns

Incoming request as an HTML script, displayed in the Web browser.

See also

Inet_Msg()Inet_QueryParam()Inet_Repos()Inet_Rlist()Inet_Security()Inet_Trace()

Example

To test whether OECGI/OECGI2 is properly installed, use the IP address 127.0.0.1 (the localhost loopback address), and enter the following URL in the server's Web browser:

http://127.0.0.1/cgi-bin/oecgi.exe/Inet_Test_Connect

If OECGI/OECGI2 is properly installed, the following HTML will be returned:

<!DOCTYPE html>
<html>
   <head>
      <title>
         OpenInsight Inet_Test_Connect Response
      </title>
   </head>
   <body >
   <H1>Congratulations!</h1>
   <br>If you can read this, you have successfully connected to OpenInsight
   </body>
</html>

  • No labels