[Zope-DB] redirect problems

Dieter Maurer dieter@handshake.de
Mon, 17 Dec 2001 21:09:09 +0100


Antoine Muller writes:
 > ...
 > If it requires an action, it
 > calls a script that performs the task and and then the script redirects
 > the browser onto the initial page with a set of updated parameters.
 > 
 > 2 Questions:
 >  - Is there a better way to perform such a task
You might have a look at my "emulateRedirect"

  <http://www.dieter.handshake.de/pyprojects/zope>

 >  - Why does it work just fine with netscape 4.07 and not with netscape 6
 > and explorer
You are aware that "redirect" wants an absolute URL?

 > It looks like it does not call the new url but instead, it adds the new
 > list of parameters at the end of the first list end thus zope does not
 > correctly understand what is transmitted.
"redirect" is very weakly defined by HTTP 1.1.
There is lots of room for interpretation and different implementations...



Dieter