BaseSessionHandler
in package
implements
SessionHandlerInterface
Interfaces, Classes and Traits
- SessionHandlerInterface
Table of Contents
- $prefix : string
- $session : string
- close() : bool
- delete() : bool
- destroy() : bool
- gc() : bool
- get() : string
- open() : bool
- read() : string
- set() : bool
- write() : bool
- prefix() : string
- Session name prefix olarak kullanılacak
Properties
$prefix
protected
string
$prefix
= ''
$session
protected
string
$session
Methods
close()
public
close() : bool
Tags
Return values
bool —delete()
public
abstract delete(string $key) : bool
Parameters
- $key : string
-
session_id
Return values
bool —destroy()
public
destroy(mixed $id) : bool
Parameters
- $id : mixed
Tags
Return values
bool —gc()
public
gc(mixed $max_lifetime) : bool
Parameters
- $max_lifetime : mixed
Tags
Return values
bool —get()
public
abstract get(string $key) : string
Parameters
- $key : string
-
session_id
Return values
string —Encoded string session data
open()
public
open(mixed $path, mixed $name) : bool
Parameters
- $path : mixed
- $name : mixed
Tags
Return values
bool —read()
public
read(mixed $id) : string
Parameters
- $id : mixed
Tags
Return values
string —set()
public
abstract set(string $key, string $session_data) : bool
Parameters
- $key : string
-
session_id
- $session_data : string
Return values
bool —write()
public
write(mixed $id, mixed $data) : bool
Parameters
- $id : mixed
- $data : mixed
Tags
Return values
bool —prefix()
Session name prefix olarak kullanılacak
protected
prefix(string $key) : string
Parameters
- $key : string
Return values
string —key with prefix