SessionHandler (class)

The SessionHandler class

Introduction

(PHP 5 >= 5.4.0, PHP 7)

SessionHandler is a special class that can be used to expose the current internal PHP session save handler by inheritance. There are seven methods which wrap the seven internal session save handler callbacks (open, close, read, write, destroy, gc and create_sid). By default, this class will wrap whatever internal save handler is set as defined by the session.save_handler configuration directive whic