[Zope] Redirection anguish

Dieter Maurer dieter@handshake.de
Wed, 7 Mar 2001 22:28:55 +0100 (CET)


John R. Daily writes:
 > According to old mailing list archives, <dtml-raise type="Redirect">
 > should tell the browser to, well, redirect.
The "dtml-raise type=Redirect" wants to have an absolute URL
as "error value".

Thus,

	<dtml-raise type=Redirect>http://localhost:8080/index_html</dtml-raise>

works while

	<dtml-raise type=Redirect>index_html</dtml-raise>

does not.

 > According to the Zope Book, the same can be achieved via <dtml-call
 > expr="RESPONSE.redirect(target)">
That works fine for me in all cases.



Dieter