Graham Dumpleton
grahamd at dscpl.com.au
Thu Jan 4 16:26:44 EST 2007
Michael Rasmussen wrote .. > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi list, > > New to mod_python so forgive me if I am asking stupid questions:-) > > I have found a strange behaviour of psp.redirect (internal redirect to > the same site) which has the side effect that when you use it all > information of the current session is lost. Is this what is suppose to > happen? By default, PSP only performs a save of the session for you at the end of the request. If you are going to perform a redirect within a page to another page, you will need to save the session object first as the act of redirecting causes the save to be skipped. Ie., session.save() psp.redirect(...) Graham
|