[Zope] how to capture the referring URL??

Trevor Toenjes zope@toenjes.com
Mon, 3 Sep 2001 08:22:40 -0400


> >> another newbie Q...
> >> I am trying to figure out how to capture the PREVIOUS URL in a 
> variable.
> >> It looks like I need to do something with PARENTS and absolute_url.
> >>
> >> What is the proper syntax?
> >>
> >
> > <dtml-var "REQUEST['HTTP_REFERER']">
> > oughta do it
> > try setting up a DTML Method with this and see what other 
> goodies are at your
> > disposal
> >
> > <dtml-var REQUEST>

> *warning* this is not always available and can easy be faked *warning*
> Regards
> Tino


Tino,
thanks for the warning, but could you clarify what you mean by faked.
Do you have another way that can't be faked?

Thanks for the help,
Trevor