[Koha-bugs] [Bug 12410] Remove useless use of cookies
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Oct 28 00:48:47 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12410
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcook at prosentient.com.au
--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #2)
> Cookies are returned to the server, then back to the client.
>
> I do not think we should use them when not needed, here it is only needed
> client-side, and can be replaced with local storage.
>
> Also, privacy, useless data going through the network, etc.
I've been thinking about this lately, and the only issue I can think of relates
to shared devices.
In the case of the staff interface, you can have shared circ terminals,
although it's probably not a drama.
I'm thinking more about public OPAC terminals at libraries. If a user closes
the browser, I don't think the local storage gets cleared. HTML5 session
storage might work although I think its scoping differs a fair bit from session
cookies.
I suppose it'll differ on a case by case basis...
Anyway, I think it would be interesting to take advantage of local storage and
session storage more often for sure.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list