0👍
Cookies are meant to be sent back to the browser. If what you’re looking for has to remain in the server only you could consider using a middleware that keeps that data in memory, filesystem or redis as example
- [Vuejs]-Axios gets a new session id with every request, and also refuses to send csrf, but why?
- [Vuejs]-Single Page Application: How to unmount app in Vue.js 3 Composition API when enter/reload the app?
Source:stackexchange.com