This is a million dollar question, I see over and over here and other php related sites and forums, but I NEVER saw an answer to it.
So, I started digging and studying how some of the large high-traffic forums perform this function, showing you which threads have new unread messages in them, and it looks like they store the thread ID number in a user cookie. This way, there will be a cookie with the stream identifier of each stream that you read in a certain amount of time. Or something like that.
Then I read here that cookies can only store X number of characters, so I want to know how much data can be stored in cookies? If I have an identification number of 5-6 characters, how much can I insert in a cookie?
source share