Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15583

Updating session time in AJAX request ignores 60 seconds check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.4-RC1
    • Component/s: Sessions
    • Labels:
      None

      Description

      There's a check to update the session time only once a minute, but this is ignored for AJAX requests which results in unnecessary UPDATE queries along the lines of:

      UPDATE phpbb_sessions
      SET session_time = 123
      WHERE session_id = 'abc';
      

      https://www.phpbb.com/community/viewtopic.php?f=556&t=2461861
      https://www.phpbb.com/customise/db/extension/mchat_extension/support/topic/190116

        Attachments

          Activity

            People

            Assignee:
            nicofuma nicofuma
            Reporter:
            kasimi kasimi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: