Esempio n. 1
0
        public void ExecutarPageLoad()
        {
            string sLogoff = (string)Page.Request["logoff"];

            if ((sLogoff != null) && (sLogoff.Trim().ToLower().Equals("true")))
            {
                EfetuarLogoff();
                this.Page.Response.Redirect(this.DestinationPageUrl);
                return;
            }
            if (!UsuarioWeb.AutenticacaoJaEfetuada(this.Page.Session))
            {
                this.TextBoxStyle.Font.Size = FontUnit.Small;
                this.TextBoxStyle.Width     = 180;
            }
            else
            {
                this.Page.Response.Redirect(this.DestinationPageUrl);
            }
        }