开发者

use session with silverlight4 application

开发者 https://www.devze.com 2023-03-12 18:20 出处:网络
I want to use session with my silverlight4 application to store data for temporary period . So开发者_Python百科 how to use Session with silverlight4 Application?Silverlight runs on the client.You don

I want to use session with my silverlight4 application to store data for temporary period . So开发者_Python百科 how to use Session with silverlight4 Application?


Silverlight runs on the client. You don't mention whether you are simply looking at storing data on the clients or whether you want to implement server side session. If you want to store data on the client have a look at Isolated Storage. Silverlight uses Isolated Storage as a virtual file system to store data in a hidden folder on the client machine.

Is your Silverlight app calling WCF services hosted in IIS? If so, and as long as your WCF services opt in for ASP.NET compatibility mode, ASP.NET session is available to you. With ASP.NET session you get the ability to set expiration times, dependencies etc.

0

精彩评论

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