asp.netsessioniisapplication-poolworker-process

App Pool creating multiple Sessions for each request? How to kill IIS Sessions?


We working for online travels website using asp.net for that we will have more users , for every request IIS ( We are using IIS8 ) creating one new session and that not killing even the webpage closed , that causes me performance degrade of application and more memory utilization process .

How can i kill sessions in IIS and reduces memory optimization process .


Solution

  • Let's try this. Please reduce your app pool recycling time from 1740 minutes to maybe 60 minutes or 30 minutes.

    Session would be cleared once the app pool recycled if you are using default session stored mode which is InProc.

    Hope it helps. Thanks