Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-8236

Topic views not incremented if guest session just created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.5
    • 3.0.x
    • Viewing posts
    • None
    • PHP Environment:
      Database:

      JD_2020:

      Uh oh... We found a problem pertaining to this again.

      The best way I can describe it, is it appears as though you must have a session in phpBB3 on some other page of the forum before it will increment your guest account.

      The way I found this out is I Twittered a link to the forum which got several hundred views. These people never visited my particular forum in the past, and I noticed the view counter wasn't incrementing. I logged out, and navigated through the forums to that thread, and it incremented fine. I think thought it was because I went to the direct URL, so I clicked the link in my Twitter, and it still incremented me fine.

      But there were hundreds of people browsing the thread, that didn't get incremented...

      So I RDP'ed to a server I have which I know never visited the site before, and I clicked the link in my Twitter - the view count did NOT increment. I then refreshed the page - it still did NOT increment. I then clicked the "Board Index" button, then navigated back to the thread, and it incremented fine. I then went back to Twitter, clicked the link there, it brought me to the thread, and incremented.

      So it seems in order for any guest view counts to increment with your fix, they need to have loaded some other forum category first. I hope that helps to explain the problem a bit... Any additional code suggestions would be appreciated =).

      Thanks!
      -Josh

            Acyd Burn Meik Sievertsen [X] (Inactive)
            Acyd Burn Meik Sievertsen [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: