Beispiel #1
0
 protected void Page_Init(object sender, EventArgs e)
 {
     if (!Page.Request.IsSecureConnection)
     {
         SSOHelper.RedirectToSecure();
     }
 }
Beispiel #2
0
 protected void Page_Init(object sender, EventArgs e)
 {
     if (!IsLoggedIn)
     {
         SSOHelper.RedirectToSSOPage("Login.aspx", null);
     }
     else
     {
         if (!Page.Request.IsSecureConnection)
         {
             SSOHelper.RedirectToSecure();
         }
     }
 }
Beispiel #3
0
 protected void Page_Init(object sender, EventArgs e)
 {
     if (!IsLoggedIn)
     {
         SSOHelper.RedirectToSSOPage("Login.aspx", null);
     }
     else
     {
         if (!Page.Request.IsSecureConnection && String.IsNullOrEmpty(Request.QueryString["closePopUp"]))
         {
             SSOHelper.RedirectToSecure();
         }
     }
 }
Beispiel #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsLoggedIn)
            {
                SSOHelper.RedirectToSecure();

                if (!Page.IsPostBack)
                {
                    //if (!String.IsNullOrEmpty(Request.QueryString["url"])) asi solo devuelve null ... Gustavo Saraceni
                    //string url = HttpContext.Current.Request.QueryString["url"];
                    //if (string.IsNullOrEmpty(url))
                    //    url = SSOHelper.Configuration["StartPage"] as string;

                    //btnVolver.OnClientClick = String.Format("window.location='{0}'", Request.QueryString["url" + "/sips"]);
                    RefreshUI();
                }
            }
            else
            {
                SSOHelper.RedirectToSSOPage("Login.aspx", Request.Url.ToString());
            }
        }