Where the data stores when we use sessions.NewCookieStore #1979
Unanswered
wangmingzhiJohn
asked this question in
Q&A
Replies: 1 comment
-
You are referring to this example as you see in the example imports block that import (
"github.com/gorilla/sessions"
"github.com/labstack/echo-contrib/session"
) that session store is stored in middleware function and exists until that function object is garbage collected. and |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tried like the document said, it did work. But I am confused about where the session data stores. I found that this session could be available if the server is restarted which means it was not stored in memory.
Beta Was this translation helpful? Give feedback.
All reactions