[Zope] redirect timeout doesn't work

Andreas Jung lists at zopyx.com
Wed Mar 11 09:19:46 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11.03.2009 13:59 Uhr, Dvir Bar-lev wrote:
> Hi
> 
>  
> 
> I want to redirect a user from my page to another page after a certain
> time, I put this code in the dtml  page at the top I want to redirect from:
> 
>  
> 
> <dtml-call "REQUEST.RESPONSE.setHeader('Refresh', '5', ‘URL Address’)">

Likely improper syntax. The correct syntax for the Refresh header is

Refresh: 5; url=http://foo.com

- -aj
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkm3unIACgkQCJIWIbr9KYxzVgCg0qp4wPDCQygnDCv4aUQlqNKG
QxcAoKgZndhxhKPfyYhTOb82nRWPZR08
=L8/u
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 330 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20090311/1ede06bc/attachment.vcf 


More information about the Zope mailing list