Files
2021-03-26 17:17:28 +01:00

31 lines
787 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace GPW_Smart
{
public partial class jumper : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// cerco un insieme di parametri in URL (get)...
string UserAuthkey = "";
string idxDipendente = "";
try
{
UserAuthkey = Request["UserAuthkey"];
idxDipendente = Request["idxDipendente"];
}
catch
{ }
// ... li inserisco in sessione ...
Session["UserAuthkey"] = UserAuthkey;
Session["idxDipendente"] = idxDipendente;
// ...infine rimando a pagina di login...
Response.Redirect("~/regNewDevice.aspx");
}
}
}