-
Notifications
You must be signed in to change notification settings - Fork 673
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
Session is sometimes closed at this point #1839
Comments
What happens if you try the following?: // close session and restore default handler
session_write_close();
session_set_save_handler(SessionHandler::getSessionHandler()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/simplesamlphp/simplesamlphp/blob/a499a8a39e5572b7d80b8c182b06f9ec129133ac/src/SimpleSAML/SessionHandlerPHP.php#L237C5-L237C5
I'm developping an app with a custom session handler.
So I had to implement the handler reset :
Then when I logout (but I can see a login problem too),
the session is clear of authData and this function saveSession is called.
It appears at this point the session_status() is PHP_SESSION_NONE.
I resolved my problem adding a session start at this point:
The text was updated successfully, but these errors were encountered: