Esempio n. 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         String username1 = JCookie.GetCookieValue("CurrentLogin");
         this.UserID.Text = username1;
     }
 }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                Application.RemoveAll();

                this.username.Value = JCookie.GetCookieValue("login_userid");
                if (JCookie.GetCookieValue("login_remember") == "true")
                {
                    this.remember.Checked = true;
                }
            }
        }