开发者

If I run multiple server with ASP.Net but store nothing in a session, do I need a state server?

开发者 https://www.devze.com 2023-02-04 16:18 出处:网络
Is a state server required开发者_如何学C for handling postbacks from webforms?Nope, you do not need a State Searver for handling postbacks... you can even disable Session Handling entirely in web.conf

Is a state server required开发者_如何学C for handling postbacks from webforms?


Nope, you do not need a State Searver for handling postbacks... you can even disable Session Handling entirely in web.config if you don't use it.

http://msdn.microsoft.com/en-us/library/h6bb9cz9(v=VS.100).aspx

<system.web>
   <sessionState mode="Off" />
</system.web>


No. Any of the session state mechanisms (in-proc, state server or SqlServer) are only required if you are using session state.

0

精彩评论

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