php-src/ext/session
Christoph M. Becker b510250b8e Fix #79413: session_create_id() fails for active sessions
The comment on `PS_VALIDATE_SID_FUNC(files)` is very clear that the
function is supposed to return `SUCCESS` if the session already exists.
So to detect a collision, we have to check for `SUCCESS`, not
`FAILURE`.

We also fix the wrong condition in session_regenerate_id() as well.
2020-03-31 08:38:23 +02:00
..
tests Fix #79413: session_create_id() fails for active sessions 2020-03-31 08:38:23 +02:00
config.m4 Trim trailing whitespace in source code files 2018-10-13 14:12:55 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
mod_files.bat Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
mod_files.c Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
mod_files.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
mod_files.sh Update _bits_per_char to use with new PHP 7.1. or greater 2018-05-07 14:41:49 +02:00
mod_mm.c Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
mod_mm.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
mod_user_class.c Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
mod_user.c Merge branch 'PHP-7.2' into PHP-7.3 2019-10-04 06:12:29 +02:00
mod_user.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
php_session.h implement same site cookie see https://bugs.php.net/bug.php?id=72230 see https://tools.ietf.org/html/draft-west-first-party-cookies-07 see https://scotthelme.co.uk/csrf-is-dead/ 2018-07-31 12:40:24 +02:00
session.c Fix #79413: session_create_id() fails for active sessions 2020-03-31 08:38:23 +02:00