asp.net “Remember Me” cookie

后端 未结 3 1855
孤独总比滥情好
孤独总比滥情好 2020-12-14 13:12

I have implemented remember me option in my asp.net webform by using this,

protected void LBtnSubmit_Click(object sender, EventArgs e)
 {
  if (this.ChkRemem         


        
3条回答
  •  情书的邮戳
    2020-12-14 14:09

    I would not store the users password in a cookie... Rather store the user id and the ip address in the cookie.

提交回复
热议问题