25 lines
610 B
C#
25 lines
610 B
C#
using Data;
|
|
using SteamWare;
|
|
using System;
|
|
using System.Web.UI;
|
|
|
|
namespace PUB
|
|
{
|
|
public partial class SitePBO : System.Web.UI.MasterPage
|
|
{
|
|
protected void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
memLayer.ML.setSessionVal("ER_EditMode", ER_EditMode.mPBO);
|
|
bool userAuth = devicesAuthProxy.stObj.userHasRight("PBO");
|
|
// se ha permesso --> salvo KEY di riferimento...
|
|
if (userAuth)
|
|
{
|
|
memLayer.ML.setSessionVal("idxAmm", "0");
|
|
memLayer.ML.setSessionVal("idxFornitore", "0");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |