PHP Session never gets closed
-
Hello Adrian,
when set in the options, your plugin opens a PHP session within the file
frontend/controllers/main.class.phpin line 101 usingsession_start(). However, I don’t see any calls tosession_write_close()to close this session in any plugin file.Leaving a PHP session open can adversely affect REST API and loopback calls due to session file lock.
Please add
session_write_close()to your code to close the session at an appropriate time.Kind regards,
Florian
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.