[Zope] Redirecting

Antonio Beamud Montero antonio.beamud@agora-2000.com
13 Mar 2002 14:35:39 +0100


Hello again:
I have a form, and the action of this form is used by some forms in
diferent parts of my site, I want to redirect te return of this action
to the proper site...

I have done something like this:

 def process(self, name, REQUEST=None):
    ...
    (blah, blah, blah...)
    if REQUEST is not None:
	return REQUEST.RESPONSE.redirect(REQUEST.get('HTTP_REFERER'))

Is the correct form?

Thanks.
-- 
Microsoft merges technologoies: 
Windows CE + Windows ME + Windows NT = Windows CEMENT

----
Antonio Beamud Montero
Agora Systems S.A.

http://www.agoratechnologies.com