counting number of new entries in guest book
Posted
by
Lucka
on Stack Overflow
See other posts from Stack Overflow
or by Lucka
Published on 2011-01-09T13:18:06Z
Indexed on
2011/01/09
13:53 UTC
Read the original article
Hit count: 284
I want to display the number of new(unseen) guest entries in the guest book of a user. I was thinking to count it so that, total number of entries in guestbook minus entries in guestbook at time of last login. However, I think that is not a good approach, because if the user logs in but does not go to his guestbook, in that case, the entries should be still "new", also if some new entry is posted in the user while he is online, it does not work in that case too. Any suggested please?
© Stack Overflow or respective owner