durusmail: quixote-users: sessions and mod_python
sessions and mod_python
Re: sessions and mod_python
2003-08-13
Re: sessions and mod_python (Solution, LONG)
2003-08-15
sessions and mod_python
Nathan R. Yergler
2003-07-24
First, thanks to everyone who offered suggestions for my user management
question.  They were very helpful.

I've run into another problem.  I've been trying to move to mod_python
instead of CGI for performance reasons.  In my CGI script I use code
like the following to do session management:

sessions = DirMapping(save_dir="/tmp/bayegle-sessions")
session_mgr = SessionManager(session_class=BayegleSession,
                             session_mapping=sessions)

app = SessionPublisher('bayegle.web', session_mgr=session_mgr)
app.read_config("bayegle.conf")
app.setup_logs()
app.publish_cgi()

In looking at the documentation and doing a Google search, I've been
unable to find any information on implementing sessions with mod_python
(well, there were some posts that said "of course you can; it's easy!",
but apparently not easy enough for me :).  If anyone could provide some
direction, it would be appreciated.  Thanks.

Nathan R. Yergler



reply