How to destroy session #76

Closed
ghost opened this Issue Oct 7, 2012 · 1 comment

1 participant

@ghost

Is the correct way to destroy a session just sending back:

{:session {}}

or

{:session nil}

This is not documented in the Session wiki page.

@weavejester
Collaborator

The correct way is {:session nil}, which is documented in the wrap-session docstring but not in the wiki. I've updated the wiki on the canonical repository: https://github.com/ring-clojure/ring

@weavejester weavejester closed this Oct 7, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment