Jump to content

Tracking user information


Alex007152

Recommended Posts

Hi,

 

I'm having some trouble with tracking user information. I'm currently stuck with the forums on my gaming website, i need to track what topics have been read by the user and wich topics are yet to be read. (e.g. newly created topics appear as "not read yet" to whoever hasn't read the topics). I've tried numerous way's to do this with sessions but it didnt turn out very well. I see boards everywhere displaying correctly wich topics i haven't read yet and wich i have read already. Any idea's on how to do this? I'd greatly appreciate all help to solve this problem.  :)

Link to comment
https://forums.phpfreaks.com/topic/70191-tracking-user-information/
Share on other sites

A session var won't store the info, you need to use a db or flatfile for persistent storage...

 

Any idea's on how to do it with a db or flatfile for persisten storage? Sessions didnt seem to work, just gave it a try though  :P. Anyway, i'm using MySQL. I could do it with a db but im a bit concerned about the webspace it could take.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.