我终于掌握了WebSitePanel,并完成了大部分工作。但是,我注意到服务器闲置一段时间后的第一次体验,在尝试访问登录页面时可能会导致超时错误。我知道这是处理应用程序缓存但我不确切知道如何让它保持应用程序缓存x小时,所以它不需要重新编译,当有人在很长的空闲时间之后。
I am finally getting a handle on WebSitePanel and have most things configured. However, I notice that the first-time experience after the server sits idle for some time, can result in a timeout error when trying to get to the login page. I know this is dealing with application caching but I don't know exactly how to make it keep the application cached for x hours so it doesn't have to recompile when someone its it after a long idle time.
有什么想法吗?
推荐答案
实际上是sql连接的问题,好像有空闲连接一样等待一段时间后,它会断开连接。
is actually the problem with the sql connection as if there is idle connection waiting for a period of time, it will dropped the connection.
你可以尝试
转到 - IIS经理 - 在网站文件夹上右键Cilck并转到属性 - 转到主页配置标签 - 点击配置 - 转到选项 - 将sesson状态超时更改为更大的
更多推荐
首次登录超时
发布评论