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
after that line, what else am I suppose to do? what exaclty are the logic wrap before my handlers in terms of sessions? or I would be the one to write these logic myself?
I'm so unclear about this and the docs does'nt say much and looking into the code
Have you checked the example it has example of 3 curl requests that showcase of that middleware work with handlers - how handlers can put values to session and read it from there.
sessions are not always tied to auth. you can use sessions as storage for auth. session middleware does not do auth, you need to use additional middlewares for auth checks - which could use sessions as storage.
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
Uh oh!
There was an error while loading. Please reload this page.
Echo is a framework, so it does somethings for me, that's agreed. What does the custom session middleware do? that is my question.
after that line, what else am I suppose to do? what exaclty are the logic wrap before my handlers in terms of sessions? or I would be the one to write these logic myself?
I'm so unclear about this and the docs does'nt say much and looking into the code
that is all, that does'nt also tell me much. I checked the middleware package too, nothing on session. would I be writting this logic myself then?
All reactions