Handbook
Glossary
put-cookie ( request/response cookie -- request/response )
HTTP protocol objects
ยป
HTTP cookies
Prev:
get-cookie ( request/response name -- cookie/f )
Next:
delete-cookie ( request/response name -- )
Vocabulary
http
Inputs
request/response
a
request
or a
response
cookie
a
cookie
Outputs
request/response
a
request
or a
response
Word description
Stores a cookie in a request or response.
Side effects
Modifies
request/response
Definition
USING:
accessors
kernel
sequences
;
IN:
http
:
put-cookie
( request/response cookie -- request/response )
[
name>>
dupd
get-cookie
[
dupd
delete-cookie
]
when*
]
keep
over
cookies>>
push
;