protected void btnlogout_Click(object sender, EventArgs e)
 {
     using (Birthday.BLL.SessionService ss = new Birthday.BLL.SessionService())
     {
         if (ss.CurrentUser != null)
         {
             ss.CurrentUser = null;
             Response.Redirect("login.html");
         }
     }
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        using (Birthday.BLL.SessionService ss = new Birthday.BLL.SessionService())
        {
            if (ss.CurrentUser != null)
            {
                lblUser.Text = ss.CurrentUser.UserCode;
                ScriptManager.RegisterStartupScript(Page, this.Page.GetType(), "onload", "SetMenu('" + ss.CurrentUser.Profile.ProfileName + "');", true);

                //ScriptManager.RegisterStartupScript(Page, this.Page.GetType(), "onload", "SetMenu('HR User');", true);
            }
        }
    }