From 7b29c3fba6678ea84285aa60b2494cc79f388bbb Mon Sep 17 00:00:00 2001 From: Yasuo Ohgaki Date: Fri, 11 Nov 2016 12:52:31 +0900 Subject: Revert "Fix Bug #73461" This reverts commit 0383de14678e4c77e11ebf261530d4c1260825a1. --- ext/session/session.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/session/session.c') diff --git a/ext/session/session.c b/ext/session/session.c index bbc531aa73..5484390c7e 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -106,7 +106,6 @@ static inline void php_rinit_session_globals(void) /* {{{ */ /* TODO: These could be moved to MINIT and removed. These should be initialized by php_rshutdown_session_globals() always when execution is finished. */ PS(id) = NULL; PS(session_status) = php_session_none; - PS(in_save_handler) = 0; PS(mod_data) = NULL; PS(mod_user_is_open) = 0; PS(define_sid) = 1; @@ -2036,7 +2035,7 @@ static PHP_FUNCTION(session_create_id) } } - if (!PS(in_save_handler) && PS(session_status) == php_session_active) { + if (PS(session_status) == php_session_active) { int limit = 3; while (limit--) { new_id = PS(mod)->s_create_sid(&PS(mod_data)); -- cgit v1.2.1