Lex Berezhny
LBerezhny at DevIS.com
Sun Jan 12 20:35:11 EST 2003
hello, I know the issue of session management has been brought up before, but I have a more specific question on the topic. Is there a way to keep session state across threads/forked apache processes? Storing the session state in a database carries a lot of overhead since every request requires at least one query. Another solution I had in mind was to use the ZODB with ZEO, so that when a user logs in for example a session object will be created in the ZODB. But this seems like a great deal of hoops just to store a few attributes of session. I have also thought about implementing a very basic LDAP like session registry service. Each mod_python process would open a connection to this registry and be able to share session data with other processes. Has anyone else faced such a problem? Are there any other ways to synchronize data between mod_python instances? thanks in advance, - lex -- Lex Berezhny <LBerezhny at DevIS.com>
|