\Think\Session\DriverMemcache

Summary

Methods
Properties
Constants
open()
close()
read()
write()
destroy()
gc()
No public properties found
No constants found
No protected methods found
$lifeTime
$sessionName
$handle
N/A
No private methods found
No private properties found
N/A

Properties

$lifeTime

$lifeTime : 

Type

$sessionName

$sessionName : 

Type

$handle

$handle : 

Type

Methods

open()

open(string  $savePath, mixed  $sessName) 

打开Session

Parameters

string $savePath
mixed $sessName

close()

close() 

关闭Session

read()

read(string  $sessID) 

读取Session

Parameters

string $sessID

write()

write(string  $sessID, String  $sessData) 

写入Session

Parameters

string $sessID
String $sessData

destroy()

destroy(string  $sessID) 

删除Session

Parameters

string $sessID

gc()

gc(string  $sessMaxLifeTime) 

Session 垃圾回收

Parameters

string $sessMaxLifeTime