session_set_save_handler
session_set_save_handler
(PHP 4, PHP 5, PHP 7)
session_set_save_handler — Sets user-level session storage functions
Description
bool session_set_save_handler ( callable $open , callable $close , callable $read , callable $write , callable $destroy , callable $gc [, callable $create_sid [, callable $validate_sid [, callable $update_timestamp ]]] )
Since PHP 5.4 it is possible to register the following prototype:
bool session_set_save_handler ( SessionHandlerInterface $sessionhandler [, bool $register_shutdown = true ] )