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

Fix for an error if save handler use mysql and destroy expired session. #109

Open
wants to merge 9 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@sawarame

sawarame commented Mar 28, 2018

Fix for an error if save handler use mysql and destroy expired session.

details

Commands out of sync; you can't run this command now

sawarame added some commits Mar 28, 2018

fix for if MySQL is used as a save handler, an error will occur iwhen…
… lifetime is exceeded.

"Commands out of sync; you can't run this command now"
@@ -211,6 +211,33 @@ public function testExpiredSessionDoesNotCauseARecursion()
$this->adapter->query("DELETE FROM `sessions` WHERE `{$this->options->getIdColumn()}` = '123';");
}
public function testSssionDestroyWhenLifetimeExceeded()

This comment has been minimized.

@samsonasik

samsonasik Mar 28, 2018

Contributor

typo: %s/Sssion/Session

This comment has been minimized.

@sawarame

sawarame added some commits Mar 28, 2018

@sawarame sawarame changed the title from Fix for error when lifetime is exceeded. to Fix for an error if save handler use mysql and destroy expired session. Mar 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment