Timeline for Is this correct way to use cookies from a syntax point of view?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 4, 2012 at 21:52 | comment | added | Bill Barry | @Roland, correct (you only nee those last two functions, and it behaves the same way as cookies) | |
| May 4, 2012 at 20:01 | vote | accept | Roland | ||
| May 4, 2012 at 19:18 | comment | added | Roland | Oh, so, if I use the polyfill, I'll end up using only those last two functions by your description, right ? | |
| May 4, 2012 at 19:15 | comment | added | Roland | I did not knew that the localStorage behaves the same way as cookies when it comes to overwrite, so this means I do not need to remove it each time I have a new values for it ? I'm doing the logging because I'm testing now and I like seeing in the console if there's something happening, after I'm done with the testing I remove all the console outputs. And about JSON, I've read that it's best to use it, as the polyfill does too. And I like having the variables as expressions rather than just simple functions :) But that's just me I guess. Thanks for the response, I appreciate it | |
| May 4, 2012 at 19:01 | history | answered | Bill Barry | CC BY-SA 3.0 |