Created
April 1, 2022 02:00
-
-
Save jpalala/ffa02de37694605df34e062dc9a88d70 to your computer and use it in GitHub Desktop.
php session handler can be overriden
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
SessionHandler implements SessionHandlerInterface , SessionIdInterface { | |
/* Methods */ | |
public close ( ) : bool | |
public create_sid ( ) : string | |
public destroy ( string $id ) : bool | |
public gc ( int $max_lifetime ) : int|bool | |
public open ( string $path , string $name ) : bool | |
public read ( string $id ) : string | |
public write ( string $id , string $data ) : bool | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment