Horde_SessionHandler_Storage::gc PHP 메소드

gc() 추상적인 공개 메소드

This method should only be called internally by PHP via session_set_save_handler().
abstract public gc ( integer $maxlifetime = 300 ) : boolean
$maxlifetime integer The maximum age of a session.
리턴 boolean True on success, false otherwise.
    public abstract function gc($maxlifetime = 300);

Usage Example

예제 #1
0
 /**
  * Garbage collect stale sessions from the backend.
  * This method should only be called internally by PHP via
  * session_set_save_handler().
  *
  * @param integer $maxlifetime  The maximum age of a session.
  *
  * @return boolean  True on success, false otherwise.
  */
 public function gc($maxlifetime = 300)
 {
     return $this->_storage->gc($maxlifetime);
 }