阅读背景:

如何设置asp.net标识cookie到期时间

来源:互联网 

I use Asp.Net Identity to control my app's authorization. Now, I need to do this: if the user does not operate in 30 minutes, jump to the login page, when he login does not select "isPersistent" checkbox. And, if he selected "isPersistent" checkbox, set the expiration date of cookie for 14 days. I try to do this by change the Startup.Auth.cs like this:I use Asp.Net Identity to control my app's auth




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: