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
I notice this gem doesn't act as a drop in replacement, i.e. ActiveRecord Session Store alternative. What do we do with existing Rails session management? For instance, the default Rails project will have:
I just did some research on ActionDispatch::Session::CookieStore. Apparently it must be set in order for ActionDispatch::Flash to work. So to answer my own question, what to about existing session management: do nothing, leave it in place so the things work as you expect them to in Rails.
I keep the Rails session storage around (usually a cookie store). As you say, it's useful for things like flash or other minor things you need to pop into a short lived session. Authie doesn't use it however. Authie stores a session ID in a cookie.
I notice this gem doesn't act as a drop in replacement, i.e. ActiveRecord Session Store alternative. What do we do with existing Rails session management? For instance, the default Rails project will have:
Would you remove
ActionDispatch::Session::CookieStore
Rack middleware?Nice work btw.
The text was updated successfully, but these errors were encountered: