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

[email protected] (Ivan Grigoriev)
Newsgroups php.general
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.