HTTP cookies
HTTP protocol objects

Prev:HTTP headers


Every request and response instance can contain cookies.

The furnace.sessions vocabulary implements session management using cookies, thus the most common use case can be taken care of without working with cookies directly.

The class of cookies:
cookie


Creating cookies:
<cookie> ( value name -- cookie )


Getting, adding, and deleting cookies in request and response objects:
get-cookie ( request/response name -- cookie/f )

put-cookie ( request/response cookie -- request/response )

delete-cookie ( request/response name -- )