FileSessionHandler
extends BaseSessionHandler
in package
Table of Contents
- $prefix : string
- $session : string
- $blocking : bool
- $fp : mixed
- $gc_divisor : int
- $gc_probability : int
- $path : string
- __construct() : mixed
- 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
$blocking
private
bool
$blocking
= true
$fp
private
mixed
$fp
= null
$gc_divisor
private
int
$gc_divisor
$gc_probability
private
int
$gc_probability
$path
private
string
$path
Methods
__construct()
public
__construct(array<string|int, mixed> $config) : mixed
Parameters
- $config : array<string|int, mixed>
Return values
mixed —close()
public
close() : bool
Tags
Return values
bool —delete()
public
delete(string $key) : bool
Parameters
- $key : string
-
session_id
Tags
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
get(string $key) : string
Parameters
- $key : string
-
session_id
Tags
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
set(string $key, string $session_data) : bool
Parameters
- $key : string
-
session_id
- $session_data : string
Tags
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