Wednesday, December 22, 2010

how to determine if forum has new posts

Programmer Question

Hey, i am coding a small php forum from scratch and would like to show readers what posts he hasnt read yet and what forum categories have unread posts since this visit, pretty much how phpbb or invision boards work.



How do i approach this, cookies? phpbb doesnt seem to use cookies for this, not very a good idea do have a cookie for each post... maybe use css visited attribute? but i dont see how would that work if a new post pops up.



Thanks.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails