\core\libSession

session会话类

Summary

Methods
Properties
Constants
set()
get()
all()
del()
destory()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

set()

set(string  $name, string  $val) 

session存储

Parameters

string $name
string $val

get()

get(string  $name) : array|boolean

获取session

Parameters

string $name

Returns

array|boolean

all()

all() 

del()

del(string  $name) 

删除session

Parameters

string $name

destory()

destory() 

销毁所有session