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 
problem

-----Original Message-----
From: Thierry Florac [mailto:thierry.flo...@onf.fr] 
Sent: Wednesday, March 11, 2009 3:24 PM
To: Dvir Bar-lev
Cc: zope@zope.org
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 : thierry.flo...@onf.fr
  Tél. : +33 01.40.19.59.64
  Fax. : +33 01.40.19.59.85

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to