public final function ecrire($idSession, $donneesSession)
 {
     if ($donneesSession === NULL) {
         return TRUE;
     } else {
         if (!$this->charger($idSession)) {
             $this->record = ORM::forTable(self::NOM_TABLE)->create();
         }
         $this->record->id_session = $idSession;
         $this->record->valeur_session = Securite::crypter($donneesSession);
         $this->record->ip_utilisateur = Outil::getAdresseIP();
         $this->record->setExpr('date_activite', 'NOW()');
         return (bool) $this->record->save();
     }
 }