contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpObjectGetCookieValues    
      Other Library Functions  

Library: HTTP
Include: omtcp.xin, omhttp.xin
Declaration

  define function HttpObjectGetCookieValues
              read-only   stream   HttpObject
     into     modifiable  stream   CookieValues


Purpose

This function returns the names and values of all the defined cookies for the HTTP request or response object. The values are returned in the stream argument as keyed items on the shelf. Usually, HttpObjectGetCookieValues is part of a server program.

Input argument:

Output argument:

Example:

  ; HttpObjectGetCookieValues

  local HttpRequest my-Request
  local HttpResponse my-Response
  local stream request-Cookies
  local stream response-Cookies

  HttpObjectGetCookieValues my-Request into request-Cookies
  HttpObjectGetCookieValues my-Response into response-Cookies

  repeat over request-Cookies
     output "%g(request-Cookies)%n"
  again
  repeat over response-Cookies
     output "%g(response-Cookies)%n"
  again

        Other Library Functions
   HttpConnectionSendResponse
   HttpObjectGetCookieAttributes
   HttpObjectGetCookieValues
   HttpObjectGetHeaders
   HttpObjectGetStatusReport
   HttpObjectIsInError
   HttpObjectSetCookieAttribute
   HttpObjectSetCookieValue
   HttpObjectSetHeader
   HttpRequestGetSearchItems
   HttpRequestSend
   HttpRequestSetFromUrl
   HttpRequestSetSearchItem
   HttpResponseOutput
   HttpServiceAwaitRequest
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:07 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.