src/DynamoDb/SessionHandler.php
public function close()
    {
        $id = session_id();
        // Make sure the session is unlocked and the expiration time is updated,
        // even if the write did not occur
        if ($this->openSessionId !== $id || !$this->sessionWritten) {
            $result = $this->connection->write($this->formatId($id), '', false);
            $this->sessionWritten = (bool) $result;
        }

        return $this->sessionWritten;
    }
public function close()
    {
        $id = session_id();
        // Make sure the session is unlocked and the expiration time is updated,
        // even if the write did not occur
        if ($this->openSessionId !== $id || !$this->sessionWritten) {
            $result = $this->connection->write($this->formatId($id), '', false);
            $this->sessionWritten = (bool) $result;
        }

        return $this->sessionWritten;
    }
public function close ( ) { $ id = session_id ( ) ; // Make sure the session is unlocked and the expiration time is updated, // even if the write did not occur if ( $ this -> openSessionId !== $ id || ! $ this -> sessionWritten ) { $ result = $ this -> connection -> write ( $ this -> formatId ( $ id ) , '' , false ) ; $ this -> sessionWritten = ( bool ) $ result ; } return $ this -> sessionWritten ; }
Close a session from writing.

@return bool Success
Close a session from writing .