asp.net – 使用FormsAuthentication持久的cookie超时

asp.net – 使用FormsAuthentication持久的cookie超时

我正在创建一些“记住我”功能作为登录的一部分. 当我在登录过程中创建一个持久性的cookie,具体如下: FormsAuthentication.SetAuthCookie(someusername, true); 而我的Web.Config如下所示: authentication mode=Forms forms loginUrl=~/sign-in timeout=28

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部