protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            SecurityData.AuthCookieTime();

            pph.AssignControls();
        }
Example #2
0
        protected bool DoAuth()
        {
            if (!String.IsNullOrEmpty(loginTemplate.UserName) && !String.IsNullOrEmpty(loginTemplate.Password))
            {
                if (FormsAuthentication.Authenticate(loginTemplate.UserName, loginTemplate.Password))
                {
                    FormsAuthentication.SetAuthCookie(loginTemplate.UserName, true, "/");

                    SecurityData.AuthCookieTime();

                    return(true);
                }
            }

            return(false);
        }
Example #3
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            SecurityData.AuthCookieTime();
        }