contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpObjectGetCookieAttributes    
      Other Library Functions  

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

  define function HttpObjectGetCookieAttributes
              read-only   stream   HttpObject
     for      value       stream   CookieName
     into     modifiable  stream   CookieAttrs


Purpose

This function returns the names and values of all attributes for the specified cookie in the HTTP request or response object. The values are returned in the stream argument as keyed items on the shelf. Usually, HttpObjectGetCookieAttributes is called in server programs.

Input arguments:

Output arguments:

Example:

  ; HttpObjectGetCookieAttributes

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

  HttpObjectGetCookieAttributes my-Request
     for "DocUserId" into request-CookieAttrs
  HttpObjectGetCookieAttributes my-Response
     for "DocUserId" into response-CookieAttrs

  repeat over request-CookieAttrs
     output "%g(request-CookieAttrs)%n"
  again
  repeat over response-CookieAttrs
     output "%g(response-CookieAttrs)%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.