Hi all,
I need to know the procedure to use asp.net session state server for session.
Please help.
Hi all,
I need to know the procedure to use asp.net session state server for session.
Please help.
You need to:
Add the following entry to your web.config file:
<sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424" cookieless="UseCookies" timeout="10" regenerateExpiredSessionId="true" />
Configure the values in the above entry according to this
Note that if you used to use the inProc sessions before, you will not be able to store non serializable objects in session anymore.
Here's a very good article on Code Project which will step-by-step guide you how to do this..