Skip to content
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

[zend-session] Zend_Session_SaveHandler_DbTable - fix 'Failed to write session data using user defined save handler' warning on php 7+ #164

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

fredericgboutin-yapla
Copy link
Contributor

@fredericgboutin-yapla fredericgboutin-yapla commented Dec 22, 2022

Replaces my original PR #163

update returns 0 if the data being updated matches the one in the database, which produces a false return, which in turn triggers a warning in Zend_Session::writeClose - session_write_close()

Co-Authored-By: Pablo Guzman 26124783+Dringho@users.noreply.github.com

Original commit: Shardj/zf1-future@9175301

Original pull request: Shardj/zf1-future#23

Originally submitted to zf1-future by @Dringho

update returns 0 if the data being updated matches the one in the database, which produces a `false` return, which in turn triggers a warning in Zend_Session::writeClose - session_write_close()

Co-Authored-By: Pablo Guzman <26124783+Dringho@users.noreply.github.com>
@falkenhawk falkenhawk changed the title Fix when the date is the same as stored [zend-session] Zend_Session_SaveHandler_DbTable - fix 'Failed to write session data using user defined save handler' warning on php 7+ Dec 22, 2022
Copy link
Member

@falkenhawk falkenhawk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@falkenhawk falkenhawk merged commit 29758cd into zf1s:master Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants