CONFIGURING SESSION STATE Look for the SessionState element in the web.config file. StateServer can be used for a dedicated state server, a sql database can also be used, cookieless session state, and customcookie name, regenerating expired session ids, the timeout for the session with a default of 20 minutes. This element wont be found by default in the default web.config files and web.config files, they use the default and are added manualy to override the defaults. The "mode" attribute, can be Off if session state is not used, InProc is the default and sessions are lost when the server is reset, it's the oldest and performs the fastest since its' in Memory. SessionState is hosted by a windows service installed with the asp.net framework then it is stored in mem on that machine. SQLServer requires sql and a script provided by asp.net to configure it to store state. Custom is by implementing the SessionSTateStoreProvider class. Advantage of StateServe...
About Web and Mobile Development, AI and Cloud