views:

119

answers:

2

Hi all,

I need to know the procedure to use asp.net session state server for session.

Please help.

+1  A: 

You need to:

  1. Start the stat session windows service
  2. 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" />

  3. 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.

Locksfree
+1  A: 

Here's a very good article on Code Project which will step-by-step guide you how to do this..

http://www.codeproject.com/KB/aspnet/ExploringSession.aspx

this. __curious_geek