Administration Guide
Overview Guide
Installation Guide
Previous Next Contents



Specifying HTTP Variables for Input to AppLogic Objects
The HTTP variables can be passed as part of the application request to AppLogic objects. This allows the developer to determine certain information about the request and use that information when processing the request.

For example, the application might look at the HTTP_REFERER variable to determine from where the request is coming. This information might be used to present a more individualized greeting screen, or just to keep statistics such as from where application requests are coming.

These variables are specified by setting the HTTP variable to a 1 for Microsoft web servers, or to a string for Netscape web servers. Use the current entries in the registry as an example.

To specify HTTP variables for input to AppLogic objects

  1. Open the registry editor by typing kregedit at the command prompt.
  2. The registry editor opens and displays the keys and values that apply to the Netscape Application Server. If the web server and Netscape Application Server are installed on separate machines, the registry editor opens and displays the keys and values that apply to the web connector plug-in.

    For Windows NT, use regedit and start at HKEY_LOCAL_MACHINE\\SOFTWARE\\KIVA.

  3. For Netscape web servers, open the following key:
  4. KIVA\\Enterprise\\2.0\\HTTPAPI\\INPUTNSAPI

  5. For Microsoft web servers, open the following key:
  6. KIVA\\Enterprise\\2.0\\HTTPAPI\\INPUTISAPI

    Each value under these folders represents an HTTP variable and whether it is being passed to the Netscape Application Server along with the application request. If the value is non-zero, that variable is passed to the Netscape Application Server with the application request.

    The HTTP variable is in ALL CAPS, such as HTTP_REFERER.

  7. Add a new String value with the new HTTP variable name.
  8. Double-click the new HTTP variable and enter the one of the following as the value data:
  9. Click OK.
  10. Repeat steps 4 through 6 for each new HTTP variable.
  11. When finished, close the registry editor.
 

© Copyright 1998 Netscape Communications Corporation