/**
 * Is called to read data from a session.
 *
 * @access public
 * @access Integer $id The id of the current session
 * @return Mixed
 */
 public function read($id)
 {
     // Create a query to get the session data, ...
     $select = "SELECT * FROM `sessions` WHERE `sessions`.`id` = :id";
     $result = $this->pdo->row($select, array('id' => $id));
     if (!$result) {
         $insert = "INSERT INTO `sessions` (id, last_updated) VALUES (:id, :time)";
         $t = time();
         $result = $this->pdo->query($insert, array("time" => $t, "id" => $id));
         if ($result > 0) {
             return true;
         }
         return null;
     }
     return $result["value"];
 }