Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jfgiogktkt
· 5y ago · 0 comments
What's the advantage over storing it just in the cookie then, since you need to look at it anyway, and since the localstorage storage half is useless on it's own (thus not useful from JS)?
Comments
[–]
hmsimha
5y ago
You're limited in how much data you can store in a cookie
[–]
solitus
5y ago
Your front-end probably does not need to know about the signature which is the part you leave in an HTTP only cookie.