Beispiel #1
0
 public User(System.Web.HttpContext context)
 {
     System.Web.HttpRequest request = context.Request;
     gUserName = WebCommon.GetUserName(context);
     //if (gUserName.ToLower() == "bfking")
     //  if (request.QueryString["user"] != null)
     //    gUserName = request.QueryString.Get("user");
     SetUserInfo();
 }
    private void SetPageVariables()
    {
        gUserName = WebCommon.GetUserName(Context);
        XmlDocument xmlDoc = new XmlDocument();

        xmlDoc.Load(GetFileFullPath());
        XmlNode node           = xmlDoc.SelectSingleNode("//Changes/Change/date");
        string  lastUpdateDate = node.InnerText;

        litLastUpdateDate.Text = lastUpdateDate;  //this is the last updated date
    }
Beispiel #3
0
 public User(string fullUserName)
 {
     gUserName = WebCommon.GetUserName(fullUserName);
     SetUserInfo();
 }