简体   繁体   English

如何增加会话超时?

[英]How to increase session timeout in silver light?

I have been trying to increase session time out in silverlight from the default timeout time. 我一直在尝试从默认超时时间开始增加Silverlight中的会话超时。 I am setting this time in webconfig. 我这次在webconfig中设置。 When I try to decrease the time it works fine and session gets expired in given time. 当我尝试减少时间时,它可以正常工作,并且会话在给定时间内过期。 But it seems that increasing the time has no effect at all. 但是似乎增加时间根本没有任何效果。 I dont think this issue is code specific. 我不认为此问题是特定于代码的。 Any suggestions? 有什么建议么?

Did you configure both client and server side config files ? 您是否同时配置了客户端和服务器端配置文件? Both should be consistant, otherwise it works according to lower value. 两者应保持一致,否则将根据较低的值工作。

Check for configurations on this site 在此站点上检查配置

I would check the application pool advanced settings in IIS. 我将检查IIS中的应用程序池高级设置。 There is an Idle time out and Regular Time Interval (Recycling) setting. 有一个Idle time out和“ Regular Time Interval (回收)”设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM