经典ASP会话和Web Garden(多名工人) [英] Classic ASP session and Web Garden (multiple workers)

查看:78
本文介绍了经典ASP会话和Web Garden(多名工人)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在单个工作进程中使用超过1.2GB的RAM并希望使用更多的工作进程时,IIS6速度下降会遇到问题.但是,看起来ASP会话是由工作程序进行的,当浏览器通过另一个工作程序访问某个页面时,它将丢失ASP会话.

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?

我们正在考虑使用其他方式与IIS分开管理会话(不是数据库,也许是内存缓存?).你推荐什么吗?

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.

推荐答案

过去我在旧版应用程序中遇到过类似情况,最终编写了一个简单的组件将ASP Session对象序列化为&从数据库中获取.

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.

这篇关于经典ASP会话和Web Garden(多名工人)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆