lib/ezsession/classes/ezpsessionhandlerdb.php
public function deleteByUserIDs( array $userIDArray )
    {
        // re use destroy to make sure it works with callbacks
        $db = eZDB::instance();
        $userINString = $db->generateSQLINStatement( $userIDArray, 'user_id', false, false, 'int' );
        $rows = $db->arrayQuery( "SELECT session_key FROM ezsession WHERE $userINString" );
        foreach ( $rows as $row )
        {
            $this->destroy( $row['session_key'] );
        }
    }
public function deleteByUserIDs( array $userIDArray )
    {
        // re use destroy to make sure it works with callbacks
        $db = eZDB::instance();
        $userINString = $db->generateSQLINStatement( $userIDArray, 'user_id', false, false, 'int' );
        $rows = $db->arrayQuery( "SELECT session_key FROM ezsession WHERE $userINString" );
        foreach ( $rows as $row )
        {
            $this->destroy( $row['session_key'] );
        }
    }
public function deleteByUserIDs ( array $ userIDArray ) { // re use destroy to make sure it works with callbacks $ db = eZDB :: instance ( ) ; $ userINString = $ db -> generateSQLINStatement ( $ userIDArray , 'user_id' , false , false , 'int' ) ; $ rows = $ db -> arrayQuery ( "SELECT session_key FROM ezsession WHERE $userINString" ) ; foreach ( $ rows as $ row ) { $ this -> destroy ( $ row [ 'session_key' ] ) ; } }
Remove all session data for a specific user

@param array(int) $userIDArray
Remove all session data for a specific user