HttpSetCookieFile

This function will enable cookies in the current RMNet session and, optionally, can specify the location of a file used to store and retrieve cookies in Mozilla or Netscape cookie format.

Usage

CALL "HttpSetCookieFile" [USING
         cookie-file]
         GIVING
         status-code.

Parameters

cookie-file An optional alphanumeric item specifying the location of a file used to store and retrieve cookies in Mozilla or Netscape cookie format. You may repeat the call for multiple cookie files. If given a blank or bad cookie-file then the call will merely enable cookies for the current RMNet session.
status-code A numeric item that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError.