phpDocumentor

SessionService
in package

Class SessionService

Table of Contents

$path  : Path
$repository  : SessionRepository
$server  : Server
$url  : Url
__construct()  : mixed
SessionService constructor.
setupSession()  : void
configureCookie()  : void
Session cookie configuration.
configureIni()  : void
PHP ini session configuration.
configureName()  : void
Session name configuration.
determineSaveHandlerAndPath()  : array<string|int, mixed>|array<string|int, string>
Determines the session save handler type and path.

Properties

Methods

setupSession()

public setupSession() : void
Return values
void

configureCookie()

Session cookie configuration.

private configureCookie(string $host, string $path) : void
Parameters
$host : string
$path : string
Return values
void

configureIni()

PHP ini session configuration.

private configureIni() : void
Return values
void

configureName()

Session name configuration.

private configureName(string $host, string $webPath, string $serverPath) : void
Parameters
$host : string
$webPath : string
$serverPath : string
Return values
void

determineSaveHandlerAndPath()

Determines the session save handler type and path.

private determineSaveHandlerAndPath() : array<string|int, mixed>|array<string|int, string>
Return values
array<string|int, mixed>|array<string|int, string>

Search results