eZPublish  4.7
ezpSessionHandlerPHP Class Reference
+ Inheritance diagram for ezpSessionHandlerPHP:
+ Collaboration diagram for ezpSessionHandlerPHP:

Public Member Functions

 cleanup ()
 reimp (not used in this handler) More...
 
 deleteByUserIDs (array $userIDArray)
 reimp (not used in this handler) More...
 
 destroy ($sessionId)
 reimp (not used in this handler) More...
 
 gc ($maxLifeTime)
 reimp (not used in this handler) More...
 
 read ($sessionId)
 reimp (not used in this handler) More...
 
 regenerate ($updateBackendData=true)
 reimp (Only uses php and callbacks) More...
 
 setSaveHandler ()
 reimp (Does nothing, lets php handle sessions) Does set gc_maxlifetime to SessionTimeout to make sure timeout works like DB handler More...
 
 write ($sessionId, $sessionData)
 reimp (not used in this handler) More...
 
- Public Member Functions inherited from ezpSessionHandler
 __construct ($userHasCookie=false)
 __construct More...
 
 cleanup ()
 Remove all session data Callback: "cleanup_[pre|post]" eZDB $db. More...
 
 close ()
 Session close handler. More...
 
 deleteByUserIDs (array $userIDArray)
 Remove all session data for a specific user. More...
 
 destroy ($sessionId)
 Session destroy handler Callback: "destroy_[pre|post]" eZDB $db string $sessionId string $escKey. More...
 
 gc ($maxLifeTime)
 Session gc (garbageCollector) handler Callback: "gc_[pre|post]" eZDB $db int $maxLifeTime. More...
 
 isConnected ()
 Checks if session handler is connected with backend. More...
 
 open ($savePath, $sessionName)
 Session open handler. More...
 
 read ($sessionId)
 Session read handler. More...
 
 regenerate ($updateBackendData=true)
 Regenerate session id Callback (when $updateBackendData is true): "regenerate_[pre|post]" eZDB $db string $escNewKey string $escOldKey int $escUserID. More...
 
 setSaveHandler ()
 Set it self as save handler. More...
 
 write ($sessionId, $sessionData)
 Session write handler. More...
 

Static Public Member Functions

static dbRequired ()
 reimp (this handler does not use db) More...
 
static hasBackendAccess ()
 reimp (this handler does not use db) More...
 
- Static Public Member Functions inherited from ezpSessionHandler
static count ()
 Counts the number of session and returns it. More...
 
static dbRequired ()
 Signals that handler requires db instance. More...
 
static hasBackendAccess ()
 Signals that handler has direct access to backend, thus is cable of supporting features like gc, cleanup, delete & count. More...
 

Member Function Documentation

ezpSessionHandlerPHP::cleanup ( )

reimp (not used in this handler)

static ezpSessionHandlerPHP::dbRequired ( )
static

reimp (this handler does not use db)

ezpSessionHandlerPHP::deleteByUserIDs ( array  $userIDArray)

reimp (not used in this handler)

ezpSessionHandlerPHP::destroy (   $sessionId)

reimp (not used in this handler)

So callbacks on this function is not called, this is a known limitation. Either make sure your data does not depend on session id, or make sure it is cleanup in session_gc.php (cronjob).

ezpSessionHandlerPHP::gc (   $maxLifeTime)

reimp (not used in this handler)

static ezpSessionHandlerPHP::hasBackendAccess ( )
static

reimp (this handler does not use db)

ezpSessionHandlerPHP::read (   $sessionId)

reimp (not used in this handler)

ezpSessionHandlerPHP::regenerate (   $updateBackendData = true)

reimp (Only uses php and callbacks)

ezpSessionHandlerPHP::setSaveHandler ( )

reimp (Does nothing, lets php handle sessions) Does set gc_maxlifetime to SessionTimeout to make sure timeout works like DB handler

ezpSessionHandlerPHP::write (   $sessionId,
  $sessionData 
)

reimp (not used in this handler)


The documentation for this class was generated from the following file: