We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 :
// close session and restore default handler session_write_close(); session_set_save_handler(new SessionHandler());
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:
public function saveSession(\SimpleSAML\Session $session) { @session_start(); $_SESSION['SimpleSAMLphp_SESSION'] = serialize($session); }
The text was updated successfully, but these errors were encountered:
What happens if you try the following?:
// close session and restore default handler session_write_close(); session_set_save_handler(SessionHandler::getSessionHandler());
Sorry, something went wrong.
No branches or pull requests
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: