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

Updating session time in AJAX request ignores 60 seconds check

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.2
    • 3.2.4-RC1
    • Sessions
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: