class ArrayDriver implements SessionHandlerInterface (View source)

Traits

Methods

bool
close()

Close the session handling

bool
destroy(string $id)

Destroy session information

int|false
gc(int $max_lifetime)

Garbage collector

bool
open(string $path, string $name)

When the session start

string
read(string $id)

Read the session information

bool
write(string $id, string $data)

Write session information

Details

bool close()

Close the session handling

Return Value

bool

bool destroy(string $id)

Destroy session information

Parameters

string $id

Return Value

bool

int|false gc(int $max_lifetime)

Garbage collector

Parameters

int $max_lifetime

Return Value

int|false

bool open(string $path, string $name)

When the session start

Parameters

string $path
string $name

Return Value

bool

string read(string $id)

Read the session information

Parameters

string $id

Return Value

string

bool write(string $id, string $data)

Write session information

Parameters

string $id
string $data

Return Value

bool