Hello. As we know, php by default stores the session in files, and blocks this session file when it is opened.

So here. I need to redefine the function of recording the session in this way via session_set_save_handler so that all the functionality remains the same as the default, that is, with the lock and all the tasks, but add one small function call there. Not the essence of what

Hence the question - How to completely override the session handlers so that they do not differ from the native ones? The main issue is blocking. Since as far as I know, there is a lock on flock, but in this case we will not support queue requests.

Help me

    0