开发者

silverlight forms authentication heartbeat

开发者 https://www.devze.com 2023-01-17 02:03 出处:网络
I have a silverlight application protected by forms authentication.I want the开发者_C百科 forms authentication to stay alive as long as the silverlight application is up.

I have a silverlight application protected by forms authentication. I want the开发者_C百科 forms authentication to stay alive as long as the silverlight application is up.

I created a heartbeat web.service that silverlight calls. In the web motheod I set a session variable.

However I am still having trouble with the forms authentication kicking in.

Any idea what might be causing it and what the best proactice for keeping forms authentication alive is?


I believe you can turn on sliding expiration.

http://msdn.microsoft.com/en-us/library/system.web.security.formsauthentication.slidingexpiration.aspx

0

精彩评论

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

关注公众号