On 6 July 2013 20:07, Thomas Heller wrote:
> You can also set some options for the cookie itself, see :cookie-attrs (
> http://clojuredocs.org/ring/ring.middleware.session/wrap-session) which
> should fix your expiration issues.
>
In this case it doesn't matter much, but note that the Ring docs
On Sat, Jul 6, 2013 at 10:07 PM, Thomas Heller wrote:
> Hey,
>
> cookie-store does not expect a string but a map like (cookie-store {:key
> your-key}) otherwise it will generate a random new key each restart, which
> you observed.
>
> You can also set some options for the cookie itself, see :cook
Hey,
cookie-store does not expect a string but a map like (cookie-store {:key
your-key}) otherwise it will generate a random new key each restart, which
you observed.
You can also set some options for the cookie itself, see :cookie-attrs
(http://clojuredocs.org/ring/ring.middleware.session/wra
Hi all,
I wrote a small site using compojure and friend and naturally I used ring's
own wrap-session to handle sessions. My code looks like this:
(def app
(-> app-routes
(friend/authenticate {:credential-fn (partial
creds/bcrypt-credential-fn