[Zope] redirect timeout doesn't work

Dvir Bar-lev dvir.b at puresight.com
Wed Mar 11 10:18:48 EDT 2009


Hi just wanted to add something that I forgot to meantion.
The problem I described only happenes on  IE, on firefox it does the redirect even after I refresh the page manually

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of Dvir Bar-lev
Sent: Wednesday, March 11, 2009 3:47 PM
To: zope at zope.org
Subject: Re: [Zope] redirect timeout doesn't work

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.florac at onf.fr] 
Sent: Wednesday, March 11, 2009 3:24 PM
To: Dvir Bar-lev
Cc: zope at 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.florac at onf.fr
  Tél. : +33 01.40.19.59.64
  Fax. : +33 01.40.19.59.85

_______________________________________________
Zope maillist  -  Zope at 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 )


More information about the Zope mailing list