34 lines
756 B
C#
34 lines
756 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Web;
|
|
|
|
/// <summary>
|
|
/// Summary description for MasterV4Base
|
|
/// </summary>
|
|
|
|
public class MasterV4Base : System.Web.UI.MasterPage
|
|
{
|
|
public bool CurrentPageAllowed = false;
|
|
public bool CurrentPageProhibited = false;
|
|
|
|
public DateTime PermissionCacheTimestamp
|
|
{
|
|
get
|
|
{
|
|
if (Session["MainMenu-v4_Enabling_TimeStamp"] != null)
|
|
{
|
|
return new DateTime((long)Session["MainMenu-v4_Enabling_TimeStamp"]);
|
|
}
|
|
else
|
|
return DateTime.MinValue;
|
|
|
|
}
|
|
set
|
|
{
|
|
Session["MainMenu-v4_Enabling_TimeStamp"] = value.Ticks;
|
|
}
|
|
}
|
|
}
|
|
|
|
|