会话的服务器设置..请帮助我如何.. [英] server setting of session..please help me how..

查看:60
本文介绍了会话的服务器设置..请帮助我如何..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检查会话的服务器设置以及我的网站的配置文件

how to check the server setting of session as well as config file of my webite

推荐答案

打开IIS,单击应用程序池",选择应用程序池"为您的应用程序.
右键单击,选择属性".
在性能"选项卡中,将空闲超时"设置为空闲.....分钟后关闭工作进程的所需分钟".

您可以在网站的web.config文件中执行相同的操作.
在web.config文件中,找到sessionState标记,设置会话的超时时间.

像这样的东西.

Open the IIS, click on the Application Pools, Select the Application pool for your application.
Right Click on that, Select Properties.
In the Performance tab, Set the idle timeout as your desired minutes for "shutdown worker processes after being idle for ..... minutes".

The same thing you can do in the web.config file of your website.
in web.config file, find sessionState tag, set timeout time for your sessions.

something like this.

<configuration>
  <system.web>
    <sessionstate mode="StateServer">
      stateConnectionString="tcpip=SampleStateServer:42424"
      cookieless="false"
      timeout="20"/>
  </sessionstate></system.web>
</configuration>


这篇关于会话的服务器设置..请帮助我如何..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆