h6. [[AcornHTTP]] h6(. » [[AcornHTTP SWI Calls|SWI Calls]] h6((. » HTTP_AddCookie h2. HTTP_AddCookie h5. (SWI &83FBD) |_<^{width:4em}. Entry | | |<^. R0 |\2<^. Flags || ||<^.Bit 0 => |<^. Set for secure| ||<^.Bits 1-31 => |<^. Reserved. Must be zero|| |<^. R1 |\2<^. Pointer to name || |<^. R2 |\2<^. Pointer to value || |<^. R3 |\2<^. Pointer to expiry date-time || |<^. R4 |\2<^. Pointer to path || |<^. R5 |\2<^. Pointer to domain || |_<^{width:4em}. Exit | | |<^. - |<^. No exit defined | h4. Use Cookies set through a response received from a web server can be moved from the unread queue to the cookie store using [[HTTP_ConsumeCookie]]. This call is intended to allow additional cookies to be set, for example, through the execution of Javascript. h4. Notes Values R1-R5 should be pointers to NULL-terminated strings. The date-time format is expected to be that used for the Set-Cookie HTTP response header field. Cookies created using this call are not saved persistently in the cookies file in <Choices$Write>.WWW.AcornHTTP.Cookies h4. See also * [[HTTP_EnumerateCookies]] * [[HTTP_ConsumeCookie]] * [[URL_GetURL]]