contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpObjectSetCookieAttribute    
  Related Syntax     Other Library Functions  

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

  define function HttpObjectSetCookieAttribute
                 modifiable  stream HttpObject
     for         value       stream CookieName
     attribute   value       stream AttrName
     to          value       stream AttrValue


Purpose

This function sets a named attribute value for a cookie header in an HTTP request or response object. If a nonexistent cookie name is specified, the HTTP object will be in error. Usually, HttpObjectSetCookieAttribute is called in a server program.

Input arguments:

Example:

  ; HttpObjectSetCookieAttribute

  local HttpRequest my-Request
  local HttpResponse my-Response

  HttpObjectSetCookieAttribute my-Request
     for "DocUserID" attribute "Domain" to "www.omnimark.com"
  HttpObjectSetCookieAttribute my-Response
     for "DocUserID" attribute "Domain" to "www.omnimark.com"

    Related Syntax
   HttpObjectSetCookieValue
   HttpObjectGetCookieAttributes
   HttpObjectGetCookieValues
 
  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:08 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.