(ns your-namespace
(:require noir.cookies))
Stateful access to cookie values
Usage: (get k)
(get k default)
Get the value of a cookie from the request. k can either be a string or keyword
Usage: (put! k v)
Add a new cookie whose name is k and has the value v. If v is a string a cookie map is created with :path '/'. To set custom attributes, such as "expires", provide a map as v.