src/A1comms/GaeSupportLaravel/Session/DatastoreSessionHandler.php
/**
     * googlegc - Cleans up expired sessions in GAE datastore (garbage collection).
     *
     * @access public
     *
     * @return mixed Value.
     */
Cleans up expired sessions in GAE datastore (garbage collection).
@access public

@return mixed Value.
Cleans up expired sessions in GAE datastore ( garbage collection ) . @access public @return mixed Value .
public function googlegc()
    {
        $this->obj_store->query("SELECT * FROM sessions WHERE lastaccess < @old", ['old' => $this->deleteTime]);
        while ($arr_page = $this->obj_store->fetchPage(100)) {
            Log::info('Processing page of ' . count($arr_page) . ' records...');
            if (!empty($arr)) {
                $this->obj_store->delete($arr_page);
            }
        }
    }
public function googlegc ( ) { $ this -> obj_store -> query ( " SELECT * FROM sessions WHERE lastaccess < @old " , [ 'old' => $ this -> deleteTime ] ) ; while ( $ arr_page = $ this -> obj_store -> fetchPage ( 100 ) ) { Log :: info ( 'Processing page of ' . count ( $ arr_page ) . ' records...' ) ; if ( ! empty ( $ arr ) ) { $ this -> obj_store -> delete ( $ arr_page ) ; } } }
googlegc - Cleans up expired sessions in GAE datastore (garbage collection).
googlegc - Cleans up expired sessions in GAE datastore ( garbage collection ) .