Yep, you were right, the syntax I used was bad, but now I encountered a 
diffrent problem.
If i set the header as you said and manually refresh the page than it wont 
redirect again.
Anyone encountered this before? Can't find anything on the web about this 

-----Original Message-----
From: Thierry Florac [] 
Sent: Wednesday, March 11, 2009 3:24 PM
To: Dvir Bar-lev
Subject: Re: [Zope] redirect timeout doesn't work

Le mercredi 11 mars 2009 à 14:59 +0200, Dvir Bar-lev a écrit :
> 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’)">

Maybe I'm wrong but I think it should be something like :

  setHeader('Refresh', '5;URL=http://...')

  Thierry Florac
  Chef de projet intranet/internet
  Office National des Forêts - Département Informatique
  2, Avenue de Saint-Mandé
  75570 PARIS Cedex 12
  Mél :
  Tél. : +33
  Fax. : +33

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to