#Session management in Nuxt3
4 messages · Page 1 of 1 (latest)
For cookie management Nuxt provides composables such as setCookie and useCookie, You can also use Nitro's storage layer with useStorage (see https://nitro.unjs.io/guide/introduction/storage). Full session management solution is still a work in progress as it's mentioned in the roadmap (https://nuxt.com/docs/community/roadmap)
However you can checkout the community module https://github.com/sidebase/nuxt-session
In Svelte I fill some store value (App.Locals) based on cookies in hooks (on every request). So I think I should be ready with some middleware and the set/useCookie. Thanks a lot!