Hi <@U4H0M349G> how would you handle sessions in h...
# http4k
c
Hi @dave how would you handle sessions in http4k? I am trying to a simple string that should persist in the session
d
TBH, I've only ever stuck it in redis or encrypt it and stick it entirely into a cookie.
j
Sessions as in maps of stuff that hang around in memory between request invocations are not very compatible with 12 factor apps, so probably not terribly common. You could probably hook up a filter and a RequestContext to create a session-like experience, but would definitely be careful there...
👍 1