I'm trying to design a system that in the end must consist of a DCOM
(Automation) based application server, an IntraWeb app to provide access to
the application from the internet and a thin client Win32 exe to connect to
the application server from within the LAN.

One of the nice things of IntraWeb is that it transparently maintains user
context (sessions). In an automation server this can be done by exporting a
session object. However, the IntraWeb app is cannot keep references to a COM
object between two accessed of the same sessions, due to the fact that the
two accesses may use different threads and the COM object reference can't be
shared by those threads. So basically, the IntraWeb server can only use a
COM object as long as it services a single HTTP request.

So now the question is, how can I avoid having to create a stateless DCOM
application server (which is something I don't want). Does anybody know if
there's a standard solution for this on the market? Or maybe there's a
technique I overlooked?

Peter Laman
Senior Software Engineer
Lance ICT Group
Roermond, the Netherlands
http://www.lance-safety.com

----
----

__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to