Classic ASP session and Web Garden (multiple worke

2019-07-18 08:41发布

问题:

We are having issues with IIS6 slowdowns when using more than 1.2GB of RAM in a single worker and would like to use more workers. However looks like ASP sessions are made by worker and when the browser accesses some page through another worker it losts the ASP session.

Do you have some tips on how to solve this problem?

We are considering to use some other way to manage session separately from IIS (not database, maybe memcache?). Do you recomend something?

Note.: The application is full of legacy code and we need to avoid big changes in code.

回答1:

I've had a similar scenario with a legacy app in the past and ended up writing a simple component to serialize the ASP Session object to & from the database.