Reputation: 2153
I have a similar problem than Is it possible to recycle IIS application pools without losing user sessions?
I have a web site in dev using IIS Express. My session is in a database. I search how to recycle the app pool of my site without killing the session. Its easy on IIS but in IIS Express, I dont know how to recycle without restarting by Visual studio. But when I do that, the session is killed.
Upvotes: 2
Views: 2378
Reputation: 65806
You can stop the IIS Express server by right-clicking the icon in the system tray. Relaunching the page from VS will restart it, but IIS Express wasn't meant for anything other than quick page testing and you don't have that level of control with it.
You can configure your application to NOT use IIS Express and instead use the full IIS in the project's properties. This way, you'll have the full range of features available to you.
Upvotes: 2