21 lines
899 B
C#
21 lines
899 B
C#
using SteamWare;
|
|
using System;
|
|
using System.Threading;
|
|
|
|
namespace GPW_Smart
|
|
{
|
|
public partial class ErrorPage : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
string currPage = !string.IsNullOrEmpty(user_std.pagCorrente) ? user_std.pagCorrente : "Default";
|
|
string prevPage = !string.IsNullOrEmpty(user_std.pagPrecedente) ? user_std.pagPrecedente : "Default";
|
|
string errorPageRedirect = memLayer.ML.confReadString("errorPageRedirect");
|
|
memLayer.ML.setSessionVal("nextPage", currPage);
|
|
memLayer.ML.setSessionVal("pagPrecedente", prevPage);
|
|
logger.lg.scriviLog($"ErrorPage chiamata: currPage {currPage} | currPage: {currPage} --> Redirect a {errorPageRedirect}", tipoLog.INFO);
|
|
Thread.Sleep(50);
|
|
Response.Redirect(errorPageRedirect);
|
|
}
|
|
}
|
|
} |