32 lines
1.0 KiB
C#
32 lines
1.0 KiB
C#
using SteamWare;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
using System.Web.UI.WebControls;
|
|
|
|
namespace MoonProTablet
|
|
{
|
|
public partial class jumper : System.Web.UI.Page
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
// elimino precedenti cookie e valori utente...
|
|
user_std.UtSn.logOffUtente();
|
|
memLayer.ML.emptySessionVal("MatrOpr");
|
|
memLayer.ML.emptySessionVal("UserAuthKey");
|
|
memLayer.ML.emptyCookieVal(memLayer.ML.CRS("cookieName"));
|
|
int MatrOpr = memLayer.ML.QSI("MatrOpr");
|
|
string UserAuthKey = memLayer.ML.QSS("UserAuthKey");
|
|
if (MatrOpr >= 0 && UserAuthKey != "")
|
|
{
|
|
// salvo in sessione
|
|
memLayer.ML.setSessionVal("MatrOpr", MatrOpr);
|
|
memLayer.ML.setSessionVal("UserAuthKey", UserAuthKey);
|
|
}
|
|
// redirect...
|
|
Response.Redirect("tryLogin");
|
|
}
|
|
}
|
|
} |