src/Budkit/Session/repository/Database.php
public function write($userdata, $splash, $session, $sessionId, $expiry)
    {

        $database = $this->database;

        $database->insert($session->table, array(
            "session_key" => $database->quote($sessionId),
            "session_ip" => $database->quote($splash['ip']),
            "session_host" => $database->quote($splash['domain']),
            "session_agent" => $database->quote($splash['agent']),
            "session_token" => $database->quote($splash['token']),
            "session_expires" => $expiry,
            "session_lastactive" => time(),
            "session_registry" => $database->quote($userdata)
        ));
    }
public function write($userdata, $splash, $session, $sessionId, $expiry)
    {

        $database = $this->database;

        $database->insert($session->table, array(
            "session_key" => $database->quote($sessionId),
            "session_ip" => $database->quote($splash['ip']),
            "session_host" => $database->quote($splash['domain']),
            "session_agent" => $database->quote($splash['agent']),
            "session_token" => $database->quote($splash['token']),
            "session_expires" => $expiry,
            "session_lastactive" => time(),
            "session_registry" => $database->quote($userdata)
        ));
    }
public function write ( $ userdata , $ splash , $ session , $ sessionId , $ expiry ) { $ database = $ this -> database ; $ database -> insert ( $ session -> table , array ( "session_key" => $ database -> quote ( $ sessionId ) , "session_ip" => $ database -> quote ( $ splash [ 'ip' ] ) , "session_host" => $ database -> quote ( $ splash [ 'domain' ] ) , "session_agent" => $ database -> quote ( $ splash [ 'agent' ] ) , "session_token" => $ database -> quote ( $ splash [ 'token' ] ) , "session_expires" => $ expiry , "session_lastactive" => time ( ) , "session_registry" => $ database -> quote ( $ userdata ) ) ) ; }
Writes session data to the database store

@param type $userdata
@param type $splash
@param type $session
@param type $sessionId
@param type $expiry
Writes session data to the database store