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

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

返回顶部