Spiffy-cookies
This egg provides procedures for cookie-management.
Author
Many thanks to Christian Kellermann, Moritz Heidkamp and Peter Bex for the helpful discussions and suggestions.
Requirements
Procedures
- read-cookie nameprocedure
Return the value for cookie name or #f if it is not set.
- set-cookie! name value #!key comment max-age domain path secure expires http-onlyprocedure
Set cookie named name with value value. The keyword parameters can be used to set optional cookie's attributes.
- delete-cookie! name #!key domain pathprocedure
Delete cookie name by setting its max-age to 0.
License
BSD
Version History
Version 1.1
- added expires and http-only keyword parameters to set-cookie! (thanks to Thomas Hintz)
Version 1.0
- initial release