static function Read($SessionID) { $Statement = Session::$DBConnection->prepare("SELECT data FROM sessions WHERE id = :sessionid LIMIT 1"); $Statement->bindParam(':sessionid', $SessionID); $Statement->execute(); $Result = $Statement->fetch(PDO::FETCH_ASSOC); $Key = Session::GetKey($SessionID); $Data = Session::Decrypt($Result['data'], $Key); return $Data; }