在传统的ASP应用范围使用字典对象

在传统的ASP应用范围使用字典对象

本文介绍了在传统的ASP应用范围使用字典对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从my最后一个问题没有人知道我可以在传统的ASP使用的应用范围Dictionary对象?你不能使用的Scripting.Dictionary - 如果你尝试,你会看到类似下面的内容:

Following up from my last question does anyone know how I can use a dictionary object in application scope in Classic ASP? You cannot use Scripting.Dictionary - if you try you will see something similar to the following:

Application object error 'ASP 0197 : 80004005'
Disallowed object use /xxx.asp, line 2. Cannot add object with apartment model behavior to the application intrinsic object.

我发现 4GuysFromRolla但它指向和的 - 这两者都是死链接

I found this article on (good ol') 4GuysFromRolla but it points to Microsoft's free Lookup Component and a free Dictionary Component from Caprock Consulting - both of which are dead links.

这篇文章清楚地解释为什么你不能使用的Scripting.Dictionary 的应用范围,但我想知道是否有人知道一个自由选择的或者我可能发现4GuysFromRolla提到的旧组件的副本?

The article clearly explains why you can't use the Scripting.Dictionary in application scope, but I was wondering if anyone knew of a free alternative or where I might find a copy of the old components that 4GuysFromRolla mentioned?

推荐答案

我可以通过以下链接从盖层咨询下载词典组件:http://web.archive.org/web/20000619122506/http://www.caprockconsulting.com/data/CaprockDCT.zip

I was able to download the Dictionary Component from Caprock Consulting using this link: http://web.archive.org/web/20000619122506/http://www.caprockconsulting.com/data/CaprockDCT.zip

这篇关于在传统的ASP应用范围使用字典对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 17:38