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

            SecurityData.AuthCookieTime();

            pph.AssignControls();
        }
Exemple #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);
        }
Exemple #3
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            SecurityData.AuthCookieTime();
        }