0

How to save user data until the next openening of the code in Javascript?

When a user saves data, e.g. a setting, I want it to still be available after the user closes and reopens the code. Storage and document.cookie are blocked, is there a way I can achieve this?

26th Jan 2018, 1:38 PM
Draphar
1 Antwort
+ 1
If its a possible resource, you can send the data to a server side component, which stores it in a database and retrieves it at login time. At client side, i think the cookie is the only option...
27th Jan 2018, 1:13 PM
Panka
Panka - avatar