Eric Brunson
brunson at brunson.com
Sun Oct 15 11:42:07 EDT 2006
Istvan De wrote: > Hi! > > Can anyone give me an example of sessions working with python server > pages? > globals() show session, but when I try to work with it, mod_python > returns a 0 byte page: > > <% > req.content_type = 'text/html' > > import mod_python > import sys > > #session['a']=1 > #req.write("session saved<BR>") > req.write("Session type: ") > req.write(session.__class__.__name__) > %> > When I run this code I get: Session type: DbmSession Have you checked your apache error log? > Any help is greatly appreciated. > > Best regards, > Istvan > > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python >
|