INFO: Component Threading Model Summary Under Active Server Pages

ID: Q243544


The information in this article applies to:
  • Active Server Pages, included with:
    • Microsoft Internet Information Server version 4.0


SUMMARY

This article presents a summary of component threading models and it's (threading model) implications under Active Server Pages (ASP).


MORE INFORMATION

Both (+Free-Threaded Marshaler) Single Free Apartment
Application < OBJECT > tag objects
  • Access is Direct
  • Object runs in current user security context
  • Accesses are not serialized
  • Access through proxy vi Global Interface Pointer (GIP)
  • Object runs in SYSTEM context.
  • Accesses are serialized.
  • Cannot access ObjectContext.
  • Access through proxy via GIP.
  • Object runs in SYSTEM context.
  • Accesses are not serialized.
  • Cannot access ObjectContext.
  • Access through proxy via GIP.
  • Object runs in SYSTEM context.
  • Accesses are serialized.
  • Application Properties (that is, Application("obj")=)
  • Access is direct.
  • Object runs in current user security context.
  • Accesses are not serialized.
  • Access through proxy via GIP.
  • Object runs in SYSTEM context.
  • Accesses are serialized.
  • Cannot access ObjectContext.
  • Access through proxy.
  • Object runs in SYSTEM context.
  • Accesses are not serialized.
  • Cannot access ObjectContext.
  • Assignment is not allowed -- an error appears.
  • Session Objects
  • Access is direct.
  • Object runs in current user security context.
  • Access through proxy.
  • Object runs in SYSTEM context.
  • Cannot access ObjectContext.
  • Access through proxy.
  • Object runs in SYSTEM context.
  • Cannot access ObjectContext.
  • Access is direct.
  • Object runs in current user security context.
  • Session is locked down.
  • Page Objects
  • Access is direct.
  • Object runs in current user security context.
  • Access through proxy.
  • Object runs in SYSTEM context.
  • Cannot access ObjectContext.
  • Access through proxy.
  • Object runs in SYSTEM context.
  • Cannot access ObjectContext.
  • Access is direct.
  • Object runs in current user security context.

  • REFERENCES

    For more information, see the following on the Microsoft Web Workshop:

    Agility in Server Components
    For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
    Q150777 Descriptions and Workings of OLE Threading Models
    Q172925 INFO: Security Issues with Objects in ASP and ISAPI Extensions

    Additional query words:

    Keywords : kbCOMt kbThread kbGrpASP kbDSupport
    Version : winnt:4.0
    Platform : winnt
    Issue type : kbinfo


    Last Reviewed: October 26, 1999
    © 2000 Microsoft Corporation. All rights reserved. Terms of Use.