com.HTTPServiceRequest.findRequestCookie

Enables the server to retrieve a cookie sent by the client by name.

Syntax

findRequestCookie(
   name STRING)
  RETURNS STRING
  1. name defines the cookie to retrieve.

Usage

Enables the server to retrieve a cookie sent by the client by name.

The method returns the value of the cookie, or NULL if the named cookie does not exist.

In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).