English 中文(简体)
Auth early cookie日任满
原标题:Forms Auth premature cookie expiration

我对一个刚刚开始生产的地点感到不安。 由于某种原因,尽管在15分钟的会期中环境似乎正确,但用户报告说,大约5分钟内,他们不得不再次登记。

我可以检查什么? 我怎么能对此表示不安? 我可以在当地或在我们的QA环境中复制。 我是否可以检查国际空间法研究所的环境。 客户的浏览环境?

以下是我的网站。 为认证打字。 感谢!

    <authentication mode="Forms">
        <forms loginUrl="~/admin/Login" cookieless="UseCookies" requireSSL="false" timeout="15" slidingExpiration="true" name="{C8226EAB-2423-45ce-8A1D-3BC227F1BEE9}"/>
    </authentication>
最佳回答

我认为,你还需要确定域名的背景。 不要建立www.yourdomain.com,因为如果用户进入你手中,那么这种方式就会产生偏爱的 co。

把它根植于我们的www: Youdomain.com。

<authentication mode="Forms">
  <forms 
  path="/" 
  domain="yourdoman.com"  // <- maybe this key is the reason
  />
</authentication>
问题回答

你需要为你的网站增添一个机器钥匙。 config文档。 它自动生成了每台自动回收机,使你的 ticket票价值失败。

这与以下问题相似:

figuring out 这就是为什么作为p.net认证票的到期

审校经理将至少主持15分钟的会议。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签