Tutorial by Examples

The System.Web.SessionState.HttpSessionState object provides a way to persist values between HTTP requests. In the example below, a user's preference for warnings is being saved in the session. Later on, while serving another request to the user, the application can read this preference from session...
If you find that you have multiple servers that need to share session state, storing it in the ASP.NET process memory will not work. For example you may deploy into a web-farm environment with a load balancer that distributes requests in a round-robin fashion. In this environment a single user's req...
If you don't want to use SQL server you can use Amazon's hosted Dynamo DB nosql database as a session store. You'll need the AWS SDK. To install this from the Visual Studio nuget package manager console use the following command Install-Package AWSSDK You can then configure your sessionState p...

Page 1 of 1