[openstreetmap/openstreetmap-website] display warning in new note form after too many anonymous notes (PR #5468)
Anton Khorev
notifications at github.com
Mon Jan 6 07:38:22 UTC 2025
> 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/c2572477541 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250105/32a3b873/attachment.htm>
More information about the rails-dev
mailing list