I need to know how to configure the .config to manage Session state in SQL Server
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First you need to create a Session database. In order to do this:
Where ServerName is your server name.
This will create this database ASPState
Now the configuration on the web.config
Add this sentence over
sqlCommandTimeout=”7200″ = 2hours and timeout=”120″ = 2hours
If you need more options regarding aspnet_regsql you can take a look HERE