svelte-kit-cookie-session
svelte-kit-cookie-session copied to clipboard
⚒️ Encrypted "stateless" cookie sessions for SvelteKit
Edit: sorry for the initial confusing title -- GitHub mobile is kind of weird. Hey there! I *hate* asking questions via GitHub issues, but I wasn't sure how else to...
This PR implements syncing sessions between the server and client. You'll have to set the session store yourself, but this can be easily done. This works best with the `enhance`...
![image](https://user-images.githubusercontent.com/5511220/189433986-d4f1e553-fdb0-49b1-af2b-be7606276eab.png) Here, we see that the "cookie" object is optional. But in most libraries, there would be nice JSDoc comments here that describe each individual option and the default value...
Please consider adding support for Cookies Having Independent Partitioned State (CHIPS) by adding the possibility to provide `cookie.partitioned` option expressed as boolean value. This is relevant for enabling setting the...
Please, is it safe/secure to pass sensitive session data to page like this? ``` /** @type {import('@sveltejs/kit').LayoutServerLoad} */ export function load({ locals, request }) { return { session: locals.session.data };...