i want to ask a question about how web applications keep your account open on web browser even you close the browser then re open it ex : facebook
how they do keep your account open, they use the session backend or they use localstorage of the web api js to keep it? thank you
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
one way you can do it is like this:
That could be one way to do it; as in how to save application state, the answer is also in localStorage. In this subject you also have to bear in mind that for this to be efficient, your app's state should be kind of "serialized" and kind of "normalized".
I suggest you research on the following topics: