#how do I set session from server side in nuxt js ?
4 messages · Page 1 of 1 (latest)
Check this part of the docs: https://nuxt.com/docs/api/composables/use-cookie#handling-cookies-in-api-routes
how can I pass max age btw ?
You can set it in the options:
const cookie = useCookie(name, options)