Today I was on Facebook and noticed how they show you a notification when you enter a page that has a new feature, but right after you click close the notification disappear forever. If you do nothing, the notification will always be there, if you click close then you can clear your cache, change computres, logout and login again, and the notification will not be there.
My question is, what is the best way to store that info? How can I store that the user has already seen that notification so I don’t have to show it again?
Cookies?
Sessions?
Databases?
Javascript?
How?
The notification queue should be saved in a database. Session or cookies aren’t reliable for this.
However, this is just an assumption and the way I would implement a notification interface, but I guess the Facebook implementation is quite similar.