PDA

View Full Version : Mark as read


simoa
12-31-03, 02:12 PM
I Need help here.

How forum recognize read and unread for specific user? Database flag or use cookie?

I am using session for my site with a self wrote forum script but having problem to show who have read or have not read the topic like a forum. Any helps?

Thks.

Chicken
12-31-03, 02:44 PM
I pretty sure vB uses cookies for that purpose.

simoa
12-31-03, 07:11 PM
Cookies...hmm I got problems with cookies..

I do not know how to make my php scripts recognize the cookies and retrieved info from them... perhaps someone can help me?

webhostec
01-18-04, 02:06 PM
I realy prefer using database flags instead of cookie information but you can decide how you like.

For the cookie from php you can retrive the cookie through $_COOKIE variable and after that look in a database or use your own way to get the data