• 2021-04-14
    protected void Page_Load(object sender, EventArgs e)
    {
    if (Request.Cookies["password"] != __________)
    this.TextBox2.Attributes.Add("value", Request["password"]);
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
    if (CheckBox1.__________)
    {
    Response.Cookies["password"]. __________= TextBox2.Text;
    Response.Cookies["password"]. __________= DateTime.Now.AddSeconds(20);
    }
    }
  • 举一反三