E
Elie Grouchko
Hi All
I am using Application.lock to protect a reference to a COM+ object while
calling Server.Execute() to another ASP page. I am doing this to pass the
object's reference to the other page, and I CAN'T rely on the session
object.
Is this a safe way to protect the object reference? i.e. does the
Application object remain locked when calling Server.Execute() ?
Help/advice will be greatly appreciated.
Thanks ahead
Elie Grouchko
**********************************
The code looks like that:
page1.asp
---------------------
dim ObjectRef
set ObjectRef = Server.CreateObject("Server.Object")
....
Application.Lock
set Application("reference") = ObjectRef
Server.Execute("page2.asp")
page2.asp
I am using Application.lock to protect a reference to a COM+ object while
calling Server.Execute() to another ASP page. I am doing this to pass the
object's reference to the other page, and I CAN'T rely on the session
object.
Is this a safe way to protect the object reference? i.e. does the
Application object remain locked when calling Server.Execute() ?
Help/advice will be greatly appreciated.
Thanks ahead
Elie Grouchko
**********************************
The code looks like that:
page1.asp
---------------------
dim ObjectRef
set ObjectRef = Server.CreateObject("Server.Object")
....
Application.Lock
set Application("reference") = ObjectRef
Server.Execute("page2.asp")
page2.asp