Fork me on GitHub
#immutant
<
2017-06-03
>
juliobarros17:06:25

How do you specify the session store with immutant? The ring wrap-session middleware takes a :store key but it does not look like immutant does.

tcrawley19:06:51

@juliobarros If you are using the Immutant session middleware, you can't change the store - it uses the underlying in-memory session store, basically

tcrawley19:06:04

if you want a cookie store, you should use the ring middleware instead

juliobarros20:06:24

Thanks @tcrawley, yeah, I want to use my own db/cache store. I’m using a luminus template from a few months ago. It created middleware that used immutants wrap-session. If I understand you correctly, I can use rings wrap-session instead. I’ll give that a try. Thanks.

tcrawley20:06:10

@juliobarros Yep, just use ring's middleware instead. And my pleasure!