Scott Sanders
sanders at apache.org
Sun Jan 9 17:10:06 EST 2005
You need to unlock the session before doing an internal redirect. The session only gets unlocked at the end of the request in which it is created, which will not happen with an internal redirect, thus the lockup. Scott On Jan 9, 2005, at 11:27 AM, Feghhi, Jalil wrote: > > > I have noticed if I do an internal redirect (using the > internal_redirect method in request object) from a psp page to another > psp page, I get into a dead lock if both pages have used the session > object. When I remove it from one of psp pages, everything works. It > seems to me that this is because the second page want to lock the > session object and cannot. Is that > > Is this the way it is supposed to be? > > I am trying to send all my requests to a dispacher.psp and then do an > internal redirect but I need the session objects in both my psp pages. > What is the right way to implement something like this? > > Thanks, > > -Jalil > > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://mailman.modpython.org/mailman/listinfo/mod_python -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 1417 bytes Desc: not available Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050109/e6c4e98e/attachment.bin
|