> I am not a specialist of cookies VS localStorage, the only advantage of
> cookies is the possibility to set an expiration date ?
The browser sends cookies to the server. It doesn't send localStorage. If the
server knows the counter value, it can display another message based on that
value, that's what I mean by:
> replace the existing "You are not logged in" alert with this more motivating
> one with a note counter server-side.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5468#issuecomment-2572477541
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5468/c2572477...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev