How to use public server for session in asp.net 2.0
2 answers
You need:
- Start the session window stat service
-
Add the following entry to your web.config file:
<sessionState mode = "StateServer" stateConnectionString = "tcpip = 127.0.0.1: 42424" cookieless = "UseCookies" timeout = "10" restoreateExpiredSessionId = "true" />
-
Adjust the values ββin the above entry according to this
Note that if you've used inProc sessions before, you will no longer be able to store non-serializable objects in the session.
+2
source to share
+2
source to share