[mod_python] Persistent socket connection.

Gregory (Grisha) Trubetskoy grisha at modpython.org
Mon Oct 27 16:58:34 EST 2003


On Mon, 27 Oct 2003 jbi130 at yahoo.com wrote:

> Upon creation of a new "session" I want to open a socket to a remote
> server and be able to access this socket throughout the users session
> until he logs our or the session is timed out.

Given the multi-process nature of httpd, doing something like this would
be very difficult.

On a single-process multithreaded apache, though, this should be a piece
of cake. Whether or not you can get a single-pocess configuration is
specific to your OS.

Grisha


More information about the Mod_python mailing list