Professional Documents
Culture Documents
Cookie details
Hello Username. We have a new book for
you:XYZ VB Book
InProc:
This is same as the conventional ASP session
management. Session is stored in memory on the web
server.
StateServer session management
By setting the mode attribute to StateServer, is storing
session data in a separate in-memory cache controlled
by a Windows service running on a separate machine.
The state service, called the ASP.NET State Service
(aspnet_state.exe), is configured by the
stateConnectionString attribute in the Web.config file.
It specifies the services server and the port it monitors:
<sessionState mode="StateServer"
stateConnectionString="tcpip=myserver:42424"
cookieless="false" timeout="20" />
using the state service has the advantages of process
isolation and sharability across a web farm.
<sessionState mode="Off|InProc|StateServer|
SQLServer" cookieless="true|false"
timeout="number of minutes"
stateConnectionString="tcpip= server:port"
sqlConnectionString="sql connection string"
stateNetworkTimeout="number of seconds"/>