开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜