Page 1 of 1
Table "User_Preferences" in BD ?
Posted: Wed May 22, 2024 8:30 am
by IgorA100
As far as I understand, this table was created to store user settings?
Is this table not in use yet?
There is an idea to store some data in it, and not in cookies, for example:
zmSkin, zmCSSб zmMonitorStatusPositonSelected, zmMontageRatioForAll
Re: Table "User_Preferences" in BD ?
Posted: Wed May 22, 2024 2:02 pm
by iconnor
Yes. But cookies would still be used, the values in this table would setup the defaults for the session.
Re: Table "User_Preferences" in BD ?
Posted: Wed May 22, 2024 8:21 pm
by IgorA100
iconnor wrote: ↑Wed May 22, 2024 2:02 pm
But cookies would still be used
What for?
Re: Table "User_Preferences" in BD ?
Posted: Thu May 23, 2024 5:57 pm
by iconnor
Because it is a per-session setting, the user preference sets the default value on login, but then it can be changed.
We should probably switch to storing more things in the session table server-side instead of cookies to reduce traffic though.