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 basically need to handle session state in an edge function implemented with oak and oak_sessions.
So, in one route, I do:
ctx.state.session.set
and in another route, I do:
ctx.state.session.get
but my session state is never found.
The edge function log shows a message about providing storage if persistSession is set to true. But I do not know if the sessions referred to there are related to oak_sessions and the message or any of the documentation gives a clue at how to “provide storage” to the edge function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I basically need to handle session state in an edge function implemented with oak and oak_sessions.
So, in one route, I do:
ctx.state.session.set
and in another route, I do:
ctx.state.session.get
but my session state is never found.
The edge function log shows a message about providing storage if persistSession is set to true. But I do not know if the sessions referred to there are related to oak_sessions and the message or any of the documentation gives a clue at how to “provide storage” to the edge function.
Any hints?
Beta Was this translation helpful? Give feedback.
All reactions