Bitrix API

CookieSessionHandler implements SessionHandlerInterface

Table of Contents

Interfaces

SessionHandlerInterface

Methods

__construct()  : mixed
close()  : bool
destroy()  : bool
gc()  : int
getResponse()  : HttpResponse
open()  : bool
read()  : mixed
setResponse()  : $this
write()  : bool

Methods

__construct()

public __construct(int $lifetime[, Request $request = null ]) : mixed
Parameters
$lifetime : int
$request : Request = null

destroy()

public destroy(mixed $sessionId) : bool
Parameters
$sessionId : mixed
Return values
bool

gc()

public gc(mixed $maxlifetime) : int
Parameters
$maxlifetime : mixed
Return values
int

open()

public open(mixed $savePath, mixed $name) : bool
Parameters
$savePath : mixed
$name : mixed
Return values
bool

read()

public read(mixed $sessionId) : mixed
Parameters
$sessionId : mixed
Attributes
#[ReturnTypeWillChange]

setResponse()

public setResponse(HttpResponse $response) : $this
Parameters
$response : HttpResponse
Return values
$this

write()

public write(mixed $sessionId, mixed $sessionData) : bool
Parameters
$sessionId : mixed
$sessionData : mixed
Return values
bool

        
On this page

Search results