Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.