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

Updating session time in AJAX request ignores 60 seconds check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.4-RC1
    • 3.2.2
    • Sessions
    • None

      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

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

              Created:
              Updated:
              Resolved: