punjabtechnicaluniversity.blogspot.in
1. InProc:- In this mode Session state is stored in the memory space of the Aspnet_wp.exe process.This is the default setting.If the IIS reboots or web application restarts then session state is lost.
2. StateServer:-In this mode Session state is serialized and stored in a separate process (Aspnet_state.exe); therefore, the state can be stored on a separate computer(a state server).
3. SQL SERVER:- In this mode Session state is serialized and stored in a SQL Server database.
1. InProc:- In this mode Session state is stored in the memory space of the Aspnet_wp.exe process.This is the default setting.If the IIS reboots or web application restarts then session state is lost.
2. StateServer:-In this mode Session state is serialized and stored in a separate process (Aspnet_state.exe); therefore, the state can be stored on a separate computer(a state server).
3. SQL SERVER:- In this mode Session state is serialized and stored in a SQL Server database.
Session state can be specified in <sessionState> element of application configurationfile.Using State Server and SQL SERVER session state can be shared across web farmsbut note this comes at speed cost as ASP.NET needs to serialize and deserialize data overnetwork again and again.
0 comments:
Post a Comment
North India Campus