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
Session cookie is always accessible via event.request.headers.get('cookie'), but data is not event.context.sessions (used in useSession).
Sometimes the session data is there, and sometimes it's undefined.
Using a middleware to check sessions (just with an await useSession(event, sessionConfig)) makes it work the route level.
I think this should be fixed by #121. I wonder if you have a way to try it and confirm that it works. Or @edivados should we add this case in our test so we can confirm its fixed.
Session cookie is always accessible via event.request.headers.get('cookie'), but data is not event.context.sessions (used in useSession).
Sometimes the session data is there, and sometimes it's undefined.
Using a middleware to check sessions (just with an await useSession(event, sessionConfig)) makes it work the route level.
middleware:
route:
The text was updated successfully, but these errors were encountered: