I need to know how to configure the .config to manage Session state in SQL Server
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