There are a couple of different ways to delete cookies from the collection.
(tin-delete collection tin)
(cookie-delete-first collection)
nil
if there are no cookies left in
collection.
(cookie-delete-last collection)
nil
if there are no cookies left in
collection.
The following two functions can be used to delete several cookies that fulfills certain criteria.
(collection-filter-cookies collection predicate &rest extra-args)
collection-filter-cookies
they will be passed
unmodified to predicate.
(collection-filter-tins collection predicate &rest extra-args)
collection-filter-cookies
, but
predicate is called with a tin instead of a cookie.
And finally, a way to delete all cookies in one swift function call:
(collection-clear collection)
Go to the first, previous, next, last section, table of contents.