This article presents a summary of component threading models and it's (threading model) implications under Active Server Pages (ASP).
|
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.
|