问题
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