I have a asp.net mvc site that being hosted via IIS 7. I believe by default the session data is save in memory on the server.
Is there some way or setting to change so that IIS will save session data to disk?
Hope this makes sense. I'm not a really server guy and don't understand a lot of the details of how sessions are managed on the server. Any details / articles would be helpful.
Thanks.
There are few different ways to do this. You should probably take a look at MSDN - Session-State Modes.
One of the options is to use SQL Server to persist across multiple IIS servers and/or when an AppPool is restarted (or server for that matter).