How do forum scripts handle read/unread posts?

Discussion in 'PHP' started by sanchez, Jun 10, 2012.

  1. #1
    Hello all,

    I've written a nice forum script for my website and I'm quite happy with it. The way I handled marking threads as read etc. was to save all that info in MYSQL. As the forum grows, I realize that it might not have been the best way. Marking all forums read takes quite a while for the script to execute. I was wondering, how do other forum scripts handle it? Do they use Cookies instead? Please advise.

    Thank you
     
    sanchez, Jun 10, 2012 IP
  2. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #2
    They user a server side method...

    I'm quite sure there's a seperate Table with columns holding the threadid and a username.
     
    NetStar, Jun 10, 2012 IP
  3. ketting00

    ketting00 Well-Known Member

    Messages:
    782
    Likes Received:
    28
    Best Answers:
    3
    Trophy Points:
    128
    #3
    For me, I update a thread that user click. If there is no click they remain not updated and counted.
     
    ketting00, Jun 10, 2012 IP
  4. rae081

    rae081 Member

    Messages:
    145
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #4
    Gotta check into this...
     
    rae081, Jun 11, 2012 IP