Set Custom Cookie #4448
Unanswered
hackthedev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi i'd like to use Socket.io to set a custom cookie.
I want to create a cookie named (example) "theme" with values like "dark", "default".
My plan is to store stuff like the style that should be loaded upon next visit and the duration would be as long as possible. I've once done this but it was with PHP sadly.
Any help? Thx in advance
PS: I've seen some examples but i dont really understand them they look very complicated
Beta Was this translation helpful? Give feedback.
All reactions