NativeFileSessionHandler

class NativeFileSessionHandler extends SessionHandler

Native session handler using PHP's built in file storage.

Methods

__construct(string $savePath = null)

Details

__construct(string $savePath = null)

Parameters

string $savePath Path of directory to save session files Default null will leave setting as defined by PHP. '/path', 'N;/path', or 'N;octal-mode;/path

Exceptions

InvalidArgumentException On invalid $savePath
RuntimeException When failing to create the save directory

See also

http://php.net/session.configuration.php#ini.session.save-path for further details.