[Zope] RE: RE: [Zope] Q: howto change HTTP_REFERER

Chris Withers chrisw@nipltd.com
Wed, 17 May 2000 14:46:47 +0100


a.wacknitz@francotyp.com wrote:
> I am looking for an (elegant) way to do this.

Pass it through as a hidden variable on your intermediate form:

<input type="hidden" name="oldreferer" value="<dtml-var referer>">

Then just use that in your final method:

<dtml-call "RESPONSE.redirect(oldreferer)">

cheers,

Chris