本文介绍了在应用程序池之间共享HttpCache的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我托管了一个与应用程序池AppPoolMain关联的网站Main.在此主网站下有一个名为VD的虚拟目录. VD有一个单独的应用程序池AppPoolVD.

我想在VD中编写HttpCache并从Main中读取它,反之亦然.
换句话说,VD和Main都应该能够共享此HttpCache对象.据我所知,这是不可能的.

Q1:我正确吗?
Q2:无论如何,我可以使用哪种解决方法来解决此问题?

请注意,将HttpCache值存储在数据库中不是一种选择.

I have a hosted a website Main associated with an app pool AppPoolMain. There is a virtual directory under this Main website named VD. VD has a separate app pool AppPoolVD.

I want to write HttpCache within VD and read it from within Main and vice-versa.
In other words, both VD and Main should be able to share this HttpCache object. As far as I know, this is not possible.

Q1: Am I correct?
Q2: In any case, what kind of work-around can I use to get around this problem?

Please note that storing the HttpCache value in a database is not an option.

推荐答案


这篇关于在应用程序池之间共享HttpCache的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 09:49