-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0-a1
-
None
-
None
Noticed this while trying to track issues with the web push manifest down.
Having the following HTML:
<link rel="manifest" href="{{ U_MANIFEST }}"> |
This is causing the session management to run at least 2x on every page. Once for the page being loaded, and a second time because of app.php which is used for the URL to the manifest in the HTML LINK tag above.
Somehow, just having app.php/manifest in that HTML tag is triggering a whole second round of session management.
I'm also seeing this with other stuff too like cron tasks, avatar loading. For example, when loading board index, session_begin runs 3 to 5 additional times, for these "pages":
app.php/manifest
app.php/download/avatar/2_1715912555.gif
app.php/cron/cron.task.text_reparser.poll_option (this will change to different cron jobs on each page load)
app.php/favicon.ico (I don't even know where this is coming from, maybe just browser looking for a favicon default?)
(Note: I'm using xdebug with a breakpoint in session_begin() to see everytime we run that function and what the current "page" is that triggered it.)