Skip to content

Commit 5ce2cc5

Browse files
remicolletweltling
authored andcommitted
fix regressio introduce in 22e23e7
1 parent e74af70 commit 5ce2cc5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/session/session.c

+3
Original file line numberDiff line numberDiff line change
@@ -2102,6 +2102,9 @@ static PHP_FUNCTION(session_regenerate_id)
21022102
zend_string_release(data);
21032103
}
21042104

2105+
if (PS(use_cookies)) {
2106+
PS(send_cookie) = 1;
2107+
}
21052108
php_session_reset_id();
21062109

21072110
RETURN_TRUE;

0 commit comments

Comments
 (0)