static function Write($SessionID, $SessionData)
 {
     $Key = Session::GetKey($SessionID);
     $Data = Session::Encrypt($SessionData, $Key);
     $TimeNow = time();
     $Statement = Session::$DBConnection->prepare('REPLACE INTO sessions (id, set_time, data, session_key) VALUES (:sessionid, :creation_time, :session_data, :session_key)');
     $Statement->bindParam(':sessionid', $SessionID);
     $Statement->bindParam(':creation_time', $TimeNow);
     $Statement->bindParam(':session_data', $Data);
     $Statement->bindParam(':session_key', $Key);
     $Statement->execute();
     return true;
 }