Re: Cannot make use_strict_mode work with custom sessionhandlerupon'files'

From: Date: Sat, 25 Mar 2017 14:32:32 +0000
Subject: Re: Cannot make use_strict_mode work with custom sessionhandlerupon'files'
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-326032@lists.php.net to get a copy of this message
25.03.2017 13:17, Christoph M. Becker пишет:
Have you tried implementing ::validate_sid(); see <https://github.com/php/php-src/blob/6053987bc27e8dede37f437193a5cad448f99bce/ext/session/tests/session_set_save_handler_class_018.phpt#L61-L63>. Sorry. It dosn't work at all.
This test successes only if file u_sess_PHPSESSIDmy_sid exists. If you run only this test, it fails. You will never get into ::validate_sid() function. You have to use ::validateId() instead.

« previous php.general (#326032) next »