Answer the question
In order to leave comments, you need to log in
How to remember information about user actions?
How do they remember unviewed topics, unread comments on large sites, for example, on the same habrahabr? Cookies or something else?
Answer the question
In order to leave comments, you need to log in
View statistics, in most cases self-written and highly adaptive to the target task. If global.
The same Habr remembers only the topics that you watched recently. This data is stored on the server. This is not a cache, because is not reset when the server is restarted. That is, these are either files or a database.
You can look in the direction of data storage on the client, - local storage and analogues.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question