4 Aug
2000
4 Aug
'00
9:22 p.m.
Hi! On Fri, Aug 04, 2000 at 12:49:52PM -0500, Christopher J. Kucera wrote:
I'm working on a Product, and I'd like to be able to do a RESPONSE.redirect() from inside the Python code. What I had was basically this:
[...]
def someConditions(self): if (some number of conditions): return 1 else: self.REQUEST.RESPONSE.redirect('blahblahblah')
You actually should use something like this: raise 'Redirect','http://my.server/my/path' -- christian -- Christian Scholz MrTopf@IRC COM.lounge http://comlounge.net/ communication & design cs@comlounge.net