asp.net - formsauthentication.setauthcookie默认过期时间?

标签 asp.net authentication

我以为要等好几年,没想到一小时内就通关了。

最佳答案

根据Explained: Forms Authentication in ASP.NET 2.0 , "默认值为 30 分钟":

<system.web>
  <authentication mode="Forms">
    <forms loginUrl="Login.aspx"
           protection="All"
           timeout="30"
           ...

关于asp.net - formsauthentication.setauthcookie默认过期时间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1447092/

相关文章:

wcf - 使用 jQuery/Ajax 从 JavaScript 调用 WCF/JSON/REST WebService

wcf - Windows Phone 7 应用程序 + WCF + SSL + 用户名认证

c++ - 编程逻辑

c# - ASP.NET 即发即忘(单向)Web 服务

authentication - React Native Expo 推特认证

jquery - JSON 格式无效

android - java.lang.string 无法转换为 jsonarray asp.net

android - 如何使用 OTP 进行身份验证

c# - asp.net c# 中的登录页面错误

.net - 我如何知道我是否在网络环境中运行?