phpBB does it a very nasty way. It fetches every single thread thats been unread since the users last visit, if you haven't visited in a few weeks on a popular forum then it could potentially eat alot of cpu time and memory, it then loops through the array and checks to see if you have corresponding cookies for every thread entry.ß