contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   HttpObjectSetCookieValue    
  Related Syntax     Other Library Functions  

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

  define function HttpObjectSetCookieValue
              modifiable  stream HttpObject
     for      value       stream CookieName
     to       value       stream CookieValue


Purpose

This function sets a named cookie value in an HTTP request or response object. Usually, HttpObjectSetCookieValue is called in a server program.

Input arguments:

Example:

  ; HttpObjectSetCookieValue

  local HttpRequest my-Request
  local HttpResponse my-Response

  HttpObjectSetCookieValue my-Request for "DocUserID" to "123abc456"
  HttpObjectSetCookieValue my-Response for "DocUserID" to "123abc456"

    Related Syntax
   HttpObjectSetCookieAttribute
   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.