Session and APP Scope for COM objects

有些话、适合烂在心里 提交于 2019-12-24 05:45:13

问题


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? 

回答1:


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



来源:https://stackoverflow.com/questions/6228561/session-and-app-scope-for-com-objects

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!