Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

ZealPHP_Pool_NullSessionHandler
in package
implements SessionHandlerInterface

FinalYes

Save handler that stores nothing. Used only by pool_reset_session() (below) to run a throwaway session through session_destroy() without touching real data.

Table of Contents

Interfaces

SessionHandlerInterface

Methods

close()  : bool
destroy()  : bool
gc()  : int
open()  : bool
read()  : string
write()  : bool

Methods

destroy()

public destroy(string $id) : bool
Parameters
$id : string
Return values
bool

gc()

public gc(int $max_lifetime) : int
Parameters
$max_lifetime : int
Return values
int

open()

public open(string $path, string $name) : bool
Parameters
$path : string
$name : string
Return values
bool

read()

public read(string $id) : string
Parameters
$id : string
Return values
string

write()

public write(string $id, string $data) : bool
Parameters
$id : string
$data : string
Return values
bool
On this page