fukamachi / lack

Lack, the core of Clack
MIT License
148 stars 33 forks source link

Allow to change the cookie key of Lack Session #18

Closed fukamachi closed 8 years ago

fukamachi commented 8 years ago

The default is still "lack.session".

Example:

(builder
 (:session :state (lack.session.state.cookie:make-cookie-state
                   :cookie-key "_myapp_cookie"))
 (lambda (env)
   '(200 () ("hi"))))
coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.02%) to 91.773% when pulling ab40f979471eaa6382afdab4a4f68155ca04ea09 on original-session-cookie-key into 54a1a8f7eac9d8e759aadcc6d51993a866518b52 on master.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.02%) to 91.773% when pulling 618435d8edfcc3c7736ed6bc6c69e40a34d683b2 on original-session-cookie-key into 54a1a8f7eac9d8e759aadcc6d51993a866518b52 on master.