Documentation

NativeFileSessionHandler extends SessionHandler
in package

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

Tags
author

Drak drak@zikula.org

Table of Contents

__construct()  : mixed

Methods

__construct()

public __construct([string|null $savePath = null ]) : mixed
Parameters
$savePath : string|null = null

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

Tags
see
https://php.net/session.configuration#ini.session.save-path

for further details.

throws
InvalidArgumentException

On invalid $savePath

throws
RuntimeException

When failing to create the save directory

Return values
mixed

Search results