[Zope] RESPONSE.redirect?

Michael michael@nichestaffing.com
Thu, 17 Oct 2002 14:05:34 -0600


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