Table "User_Preferences" in BD ?

Current Development version likely to have breaking changes
Post Reply
IgorA100
Posts: 97
Joined: Sat Feb 03, 2024 11:55 am

Table "User_Preferences" in BD ?

Post 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
User avatar
iconnor
Posts: 2948
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Table "User_Preferences" in BD ?

Post by iconnor »

Yes. But cookies would still be used, the values in this table would setup the defaults for the session.
IgorA100
Posts: 97
Joined: Sat Feb 03, 2024 11:55 am

Re: Table "User_Preferences" in BD ?

Post by IgorA100 »

iconnor wrote: Wed May 22, 2024 2:02 pm But cookies would still be used
What for?
User avatar
iconnor
Posts: 2948
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Table "User_Preferences" in BD ?

Post 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.
Post Reply