[Zope] RESPONSE.redirect?

Troy Farrell troy@entheossoft.com
Thu, 17 Oct 2002 15:46:00 -0500


Did you try

<dtml-call expr="RESOPNSE.redirect('reportPage_html?query_start=' + 
str(query_start))">

or something like that?  Substitute in what you need for query_start to 
find the proper variable.

Troy

Michael wrote:
> I have a report from which you can choose to edit or delete.  When someone 
> chooses to edit a record, I would like to be able to set a cookie from the 
> edit_processor and redirect them back to the report on the same page they 
> started ie: "reportPage_html?query_start=3", and if the cookie is present 
> display a message that the changes have been saved.
> 
> If I do <dtml-call "RESPONSE.redirect('reportPage_html')">  it returns them 
> to the first page of queries.  If I do 
> <dtml-call "RESPONSE.redirect('javascript:history.back()')">  It returns them 
> to the corect page, but the cookie is not read.  
> 
> Does anyone have any ideas how this could be accomplished?
> 
> Michael