English 中文(简体)
采用人工制作的认证表格确定时间
原标题:setting a timeout using a manually created forms authentication ticket

人工制造表征标的施工者迫使我们设定“到期”价值,这一价值高于网上的“停工”。 混入我的标签,这不是我所想要的东西,因为现在用户没有时间。 “会议”在一定时间到期。

由于用户需求原因,我需要人工制作机票,而我决定如何打造我。 我猜测,我可以花费大量时间,并用我的意见授权的方式,在其他地方储存“用户数据”,但这似乎对如此小的事物极为ious。

是否有人工创建Austh Ticket和保持排时环境的途径? 而随着时间的推移,我指的是重新确定用户活动的时间。 不是固定时间。 请帮助!

最佳回答

If you set the slidingExpiration="true" in web.config for your forms element, I think it should take care of resetting the timer even if you pass the expiration date. If you don t create the ticket manually, then the ticket created automatically behind the scene uses the timeout you set in forms element or default(30mins) while creating the FA ticket.

核对以下链接:

http://itworksonmypedne.wordpress.com/2008/07/17/forms-authentication-timeout-vs-session-timeout/>rel=“nofollow”>FAT Timeout

习俗预留

问题回答

暂无回答




相关问题
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!

热门标签