MODIFICHE X GESTIOEN COOKIE X TERMINALINO...
This commit is contained in:
@@ -157,6 +157,15 @@ namespace GMW_Term.WebUserControls
|
||||
}
|
||||
else
|
||||
{
|
||||
// provo a rifare login da operatore in cookie...
|
||||
try
|
||||
{
|
||||
effettuaLoginOperatore(memLayer.ML.getCookieVal("UserBarcode"));
|
||||
}
|
||||
catch
|
||||
{
|
||||
logger.lg.scriviLog("Non sono riuscito a rifare login da cookie operatore", tipoLog.EXCEPTION);
|
||||
}
|
||||
lblData.Text = traduci("Invalid Code");
|
||||
txtScansione = "";
|
||||
}
|
||||
@@ -372,6 +381,8 @@ namespace GMW_Term.WebUserControls
|
||||
{
|
||||
// salvo in sessione valore barcode
|
||||
memLayer.ML.setSessionVal("UserBarcode", dataIn);
|
||||
// salvo anche in cookie...
|
||||
memLayer.ML.setCookieVal("UserBarcode", dataIn);
|
||||
// verifico che il cod operatore passato sia valido per Rilpro.Anagoperatori e Soggetti2Utente
|
||||
httpLog(string.Format("Richiesta di login tramite barcode da {0}, IP {1}", Request.UserHostName, Request.UserHostAddress), tipoLog.STARTUP);
|
||||
esitoLoginTerm esito = TermClass.Ter.doUserLogin(dataIn);
|
||||
|
||||
@@ -209,7 +209,7 @@ namespace GMW_data
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
logger.lg.scriviLog(string.Format("Errore login per il CodSoggetto {0}: eccezione {1}", CodSoggetto, e), tipoLog.FATAL);
|
||||
logger.lg.scriviLog(string.Format("Errore in TermClass.doUserLogin per il CodSoggetto {0}: eccezione {1}", CodSoggetto, e), tipoLog.FATAL);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user