You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
Seeing that buffalo uses gorilla's sessions package, I wanted to replace the cookie storage with a redis-backed storage from gopkg.in/boj/redistore.v1. When I did this, flash messages won't clear after dismissing them and reloading the page.
I Looked into this one, our problem seems to be in here If we remove the Save call it works for Redis, but will not work for our default session store.
Seeing that buffalo uses gorilla's sessions package, I wanted to replace the cookie storage with a redis-backed storage from
gopkg.in/boj/redistore.v1
. When I did this, flash messages won't clear after dismissing them and reloading the page.I created a repo at lflux/sessionthing where you can reproduce this by:
:6379
buffalo dev
/
Success flash
. Dismiss and reload the pageBy setting
useRedis = false
in app.go which uses the default cookie storage, the flash message will no longer persist over page loads.The text was updated successfully, but these errors were encountered: