开发者

Sliding Expiration in ASP.NET web app using claims from STS

开发者 https://www.devze.com 2023-01-02 13:54 出处:网络
Two questions: 1) How/where do I set the lifetime of the session c开发者_如何学Pythonookie in my web application when using an STS to get claims? From what I can tell, it seems I can only do this pro

Two questions:

1) How/where do I set the lifetime of the session c开发者_如何学Pythonookie in my web application when using an STS to get claims? From what I can tell, it seems I can only do this programmatically in the ServiceConfigurationCreated event.

2) How/where can I make sure that the expiration is sliding?


StsDude, I asked your question here: How can I make a security token automatically expire in a passive STS setup?

A code sample for the answer may be found here: http://social.msdn.microsoft.com/Forums/en/Geneva/thread/a048694c-3548-4b4d-9bb3-0589c888fd02

0

精彩评论

暂无评论...
验证码 换一张
取 消