The scope of an object determines which scripts can use that object. By default, when you create an object instance, the object has page scope. Any script command in the same ASP page can use a page-scope object; the object is released when the .asp file completes processing the request. The recommended scope for most objects is page scope. You can change the scope of an object, however, to make it accessible from scripts on other pages. This topic explains how to work with page scope objects and how to change the scope of objects. Using Page Scope Objects An object that you create by using Server.CreateObject or the HTML
Setting the Scope of COM Objects in ASP Pages
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:Office文档保护的全套方案
下一篇:在非主线程中创建窗口
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
ASP.NET Web Pages - 页面布局
ASP.NET Web Pages - 页面布局通过 Web Pages ,创建一个布局一致的网站是很容易的事。一致
html asp.net 内容页 应用程序 页面布局