diff --git a/GMW/ErrorPage.aspx.cs b/GMW/ErrorPage.aspx.cs index 87bbe00a..c3010c14 100644 --- a/GMW/ErrorPage.aspx.cs +++ b/GMW/ErrorPage.aspx.cs @@ -12,8 +12,9 @@ namespace GMW { protected void Page_Load(object sender, EventArgs e) { - memLayer.ML.setSessionVal("nextPage", user_std.pagCorrente); - Response.Redirect("./login.aspx"); + logger.lg.scriviLog(string.Format("Errore rilevato: pagCorrente {0} | pagPrecedente {1}", user_std.pagCorrente, user_std.pagPrecedente), tipoLog.INFO); + memLayer.ML.setSessionVal("nextPage", user_std.pagPrecedente); + Response.Redirect("./login"); } } } \ No newline at end of file diff --git a/GMW/Web.IIS02_SP.config b/GMW/Web.IIS02_SP.config index 6a612dd8..5c53dd64 100644 --- a/GMW/Web.IIS02_SP.config +++ b/GMW/Web.IIS02_SP.config @@ -33,16 +33,5 @@ - - - - \ No newline at end of file diff --git a/GMW/Web.config b/GMW/Web.config index 217f4936..1164a122 100644 --- a/GMW/Web.config +++ b/GMW/Web.config @@ -34,12 +34,16 @@ - + + +