-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide more information if writing session with custom save handler fails #7787
Comments
What would the desired additional information be? The name of the user defined session handler class? Edit: If you are asking for PHP to somehow distinguish which of the "return false" in |
I think the class name and the function called (updateTimestamp or write) would help to see which of those two functions failed. |
Description
The following code:
Resulted in this output:
But I expected this output instead:
Having this "fake" session handler, it is impossible to say where session write failed and find the cause. An installed error handler just reports
errorHandler::errorHandler called at [:]
PHP Version
php 8.0.14
Operating System
Mageia 8
The text was updated successfully, but these errors were encountered: