For my login system, I need to implement session data for different functionality when users are logged in or not.
I've only ever done sessions in flask, and google searches don't reveal a lot (or, more likely, I'm searching the wrong things). I have two questions:
- Is there a canonical way to do session data in Clojure and can this specifically done in
http-kit? - Is an atom enough, or would this be bad practice?
sessions will have to be managed viaring.http-kitis a server & will only use theringspec for requests and responses.To fetch the session
To add a session to your ring response