Conversation
Notices
-
Tomas SA2TMS (tomas@social.umeahackerspace.se)'s status on Sunday, 01-Sep-2019 18:16:13 EDT Tomas SA2TMS
So I'm back in the web mines, and the thing that has most struck me most this last week is the way document.cookie works in JS. To add some key=value to it you just set document.cookie="key=value". Not something like document.setCookie("key", "value").. Reading it back gives you the entire list of cookie variables (not just the one you added), which you of course have to parse yourself (or use jquery or whatever)