by bitexploder · 9y ago · 0 comments
I dunno everyone has to learn how to use cookies if they are building web apps.
Password is obviously just bad.
I've been building webapps since forever and I've never cookies directly in Javascript like that and I can't, personally, think of a use case where I would do that.
I've only used cookies that store a session id and I store everything in the session. The session id cookies are handled entirely by the servlet container.
I don't believe I'm doing it horribly wrong.