Originally posted by mkalter:
A session that is allocated in a DLL is still local to the process that has initialized the DLL. Any subsequent processes that use the same DLL merely share the code, not the data. To share a physical database session between multiple processes, you probably need to use a 3-tier technique. The middle tier will own the session, and can reside on the same machine as the client tier.