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

when session stored in redis,the session destory has a bug #12835

feiyu1993 opened this Issue May 2, 2017 · 1 comment


None yet
2 participants

feiyu1993 commented May 2, 2017

when session stored in redis , delete a wrong redis key

	 * {@inheritdoc}
	public function destroy(string sessionId = null) -> boolean
		var id;

		if sessionId === null {
			let id = this->getId();
		} else {
			let id = sessionId;

		return this->_redis->exists(id) ? this->_redis->delete(id) : true;


the id should be _PHCR+prefix+id


This comment has been minimized.

Show comment
Hide comment

sergeyklay commented May 2, 2017

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