, , , , ,

To Save Session in StateServer we can add the following section in the webConig of an application.

The <SessionState></SessionState> tag has to be used inside system.web.

Also look the timeout set to 40 minutes.

This means: Session will expire after 40 minutes of inactivity, not after 40 min of starting activity.

      <!--Session Keeping on StateServer-->
      <sessionState mode="StateServer" stateConnectionString="tcpip=" cookieless="false" timeout="40"/>