[mod_python] Re: DbmSession

Stefan Glaus stefanglaus at gmail.com
Fri Apr 28 10:35:27 EDT 2006

The relevant code is as follows:

session = Session.Session(req)
if session.is_new():
req.write(session.id() + '<BR><BR>')

I'm running this on apache 2.0 with python 2.4.2 and mod_python 3.2

The code works now, it is setting cookies but I don't know what
changed. Sorry for the lack of detail in the original post... first
time :)

Thanks for your reply and if I figure out what I've changed in order
for it to work, I'll follow up

On 4/28/06, Jim Gallacher <jpg at jgassociates.ca> wrote:
> Daniel Nogradi wrote:
> >> I'm trying to use the DbmSession class. MemorySession works (for a
> >> single process) but whenever I try using DbmSession, no cookies are
> >> being set in my browser.. Is there something I'm overlooking here?
> >
> > Please post the (minimal) code that you use, that way it will be
> > easier to tell what might go wrong. For example: are the db files
> > created on your server where the session data should be stored?
> Also, your OS and mod_python version would be helpful. :)
> Jim

More information about the Mod_python mailing list