Files
b2bcondomini.it/PUB/PBO/MyHome.aspx.cs
T
2018-09-24 14:22:45 +02:00

30 lines
608 B
C#

using SteamWare;
using System;
namespace PUB.PBO
{
public partial class MyHome : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
bool userAuth = devicesAuthProxy.stObj.userHasRight("PBO");
divButtons.Visible = userAuth;
divAuthError.Visible = !userAuth;
if (!Page.IsPostBack)
{
searchVal = "";
}
}
public string searchVal
{
get
{
return memLayer.ML.StringSessionObj("siteSearchVal");
}
set
{
memLayer.ML.setSessionVal("siteSearchVal", value);
}
}
}
}