maybe you need to use session state server:add the below phrase in web.config: <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false" timeout="600"/>and start you state server in servers' control panel.good luck.
找个夜深人静偷偷摸摸修改
machine.config默认在C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG目录下。<section name="appSettings" type="System.Configuration.AppSettingsSection, System.Configuration, Version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
restartOnExternalChanges="false" requirePermission="false" />
restartOnExternalChanges设置为false,程序就不会重启了。