You are looking at historical revision 19148 of this page. It may differ significantly from its current revision.

Description

Procedures for cookies management.

Author

Mario Domenech Goulart

Many thanks to Christian Kellermann, Moritz Heidkamp and Peter Bex for the helpful discussions and suggestions.

Requirements

spiffy

Procedures

[procedure] (read-cookie name)

Return the value for cookie name or #f if it is not set.

[procedure] (set-cookie! name value #!key comment max-age domain path secure)

Set cookie named name with value value. The keyword parameters can be used to set optional cookie's attributes.

[procedure] (delete-cookie! name #!key domain path)

Delete cookie name by setting its max-age to 0.

License

BSD

Version History

1.0
initial release