Example #1
0
 /**
  * Session GC (garbage collection) handler.
  * This method should be overridden if {@link setUseCustomStorage UseCustomStorage} is set true.
  * @param integer the number of seconds after which data will be seen as 'garbage' and cleaned up.
  * @return boolean whether session is GCed successfully
  */
 public function _gc($maxLifetime)
 {
     Session::cleanUp($maxLifetime);
     return true;
 }