April 2nd, 2000, 10:49 PM
Hi, I'm currently writing a PHP-MySQL bulletin board, similar in function to the UBB that this website uses. This question is more cookie-related than PHP though.
What I'm wondering is how does the UBB track when the visitor viewed each individual thread, so that it can tell them that there has been updates since the last visit? I can set cookies for each thread of course, but that's not desirable, since there could be many of them, and so the visitor would be constantly sending out heaps of cookies.
So if not one cookie for each thread, what then? Is it kept in the server database, linked to the visitor's information?
April 3rd, 2000, 05:59 AM
I will be thankful if somebody tells me where I will get bulletin board code, similar in function to the UBB that this website uses.
April 3rd, 2000, 11:20 AM
The cookie contains the date/time of the last visit (or a pointer to a db record containing the same information). This is then compared to the date/time of the messages.