会话和APP范围的COM对象 [英] Session and APP Scope for COM objects
问题描述
我们将开发一个WIN CE设备的ASP页面。在系统上运行的Web服务器的httpd。我对COM对象的范围
几个疑点 是否WinCE的(httpd的)ASP支持会话和应用范围?
页面是否单独范围在ASP支持WinCE下?
我应该怎么做来介绍会话和应用范围?
我在哪里可以得到更多这方面的信息?
的请问WinCE的(httpd的)ASP支持会话和应用范围?的
根据 MSDN :
Windows CE不提供支持
对于Session或Application对象
并不会发送会话ID
饼干在IIS上使用。因此,
没有为自动技术
要求间或保持状态
会话。
块引用>关于 WinCE下ASP 的,创建COM对象从 MSDN :
要在Windows上创建一个COM对象
CE-基于ASP的,使用脚本
创建COM语言支持
代替的目的,
的Server.CreateObject方法,如您
会使用基于IIS的ASP。
块引用>在同一页面示例code:
<%
暗淡NEWOBJECT
设置NEWOBJECT =的CreateObject(class.name)
%GT;的我在哪里可以得到更多这方面的信息?的
MSDN - Web服务器(HTTPD)的Windows CE
We are going to develop ASP pages for a WIN CE device. The web server running on the system is httpd. I have a few doubts on the scope of com objects
Does WinCE(httpd) ASP support Session and App Scope? Does page scope alone is supported in ASP in Wince? What should I do to introduce session and app Scope? Where can I get more information on this?
解决方案Does WinCE(httpd) ASP support Session and App Scope?
According to MSDN:
Windows CE does not provide support for the Session or Application objects and does not send the Session-ID cookie that is used on IIS. Therefore, there is no automatic technique for maintaining states between requests or sessions.
About creating COM objects in Wince ASP, from MSDN:
To create a COM object on Windows CE–based ASP, use the scripting language support for creating COM objects, instead of the Server.CreateObject method, as you would using IIS-based ASP.
Sample code from the same page:
<% dim newObject set newObject = CreateObject("class.name") %>
Where can I get more information on this?
MSDN - Web Server(HTTPD) Windows CE
这篇关于会话和APP范围的COM对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!