[mod_python] Strange behavior in using Session

Manera, Villiam vmanera at manord.com
Wed Nov 5 15:56:34 EST 2003


I'm starting to use new Session module and something strange sometimes
happens:<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" />

For debug purpose:

 

def test(req):

            sess = Session.DbmSession(req,timeout=7200) 

sys.stdout=req

            ...

            print 'et voila'

            .....

 

But sometime the output goes to another session on another workstation.

 

So, on the brouser of the programmer that called test was show all it does
except the print 'et voilà'

and on the brouser of a colleague that use Session to, magically appear 'et
voilà'

 

Any Idea

Villiam Manera 
Dirett.  Sistema Informativo 

Manifatture del Nord srl 
viale Regina Elena 13-15 
42100 Reggio Emilia RE 
ITALY 

Tel. +39 0522 508200 
Fax +39 0522 514099 
email : vmanera at manord.com 
www.pennyblack.com 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.modpython.org/pipermail/mod_python/attachments/20031105/a8db8c76/attachment-0003.htm


More information about the Mod_python mailing list