protected function getSesionLogOrCreate($idlog = 'idlog')
 {
     if (!$this->getRequestParameter($idlog)) {
         $log_sesion = new SesionLog();
     } else {
         $log_sesion = SesionLogPeer::retrieveByPk($this->getRequestParameter($idlog));
         $this->forward404Unless($log_sesion);
     }
     return $log_sesion;
 }