i understand way too little about web data types. while having to store a shitload of data in cookies (sorry for that, no localstorage for local sites, insensitive though) i was so proud of compressing strings with bitshifting only to find out that uriencoding bloats chinese characters massively up. fml

  • 2
    If you store more than a few bytes in any cookie you're prolly doing it wrong.
    Instead, store a session_id or request_id in the cookie and put the actual data somewhere else.
    Maybe also take a look at JWT
  • 1
    @molaram i fully agree on normal web applications, but cookies as storage is the only way for a complete static local site in ie11. which is wrong in many other ways but the only solution for this usecase (and my skills not being able to do a proper application in another language)
  • 1
    @erroronline1 Sounds like you're in for a fun time
  • 0
Add Comment