开发者

Silverlight and Session

I have a silverlight web application that maybe open for days. 开发者_运维问答It uses a legacy web service that uses session...

How can I keep the session of the web service alive as long as the Silverlight appication is alive....

Good times


If you are in control of both the Silverlight Client and the Webservice, you could add a Keep-Alive Method to the Service and periodically call it via Timer from the Silverlight Client. It's definitely not pretty though. In my opinion it would be better to find a way to work out a solution that does not require to maintain session state (or state in general) within the service.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜