Those. The user is highlighted with the names of topics in which new messages have appeared since his last visit. Shl. So far the most (if not the only) solution I see is to save in the table user_id , post_id and timestamp last view.

  • Means forum engines. - tekken
  • Added this clarification to your question. By the way, you can edit / clarify the questions yourself. - Kromster
  • And why look at others. Especially since nothing else can be invented. the last viewing date must be stored, the question remains where: in the database on the server for a user (what to do with anonymous?), in browser cookies (there are no problems with anonymous, but logging in from another browser or device has its own countdown), mixed options, such as not cookies - we take from the database - Mike
  • @Mike, then the option I proposed is the optimal one? - tekken
  • I would say that he is the only one. At least, nothing else comes to my mind ... Now anonymous users do not give me peace of mind. For them, either not to give such information in principle, or to identify the browser (for example, by cookie) and make such a "virtual" user - Mike

0