[Zope] how to capture the referring URL??
Tino Wildenhain
tino@wildenhain.de
Mon, 03 Sep 2001 08:55:28 +0200
Hi,
--On Montag, 3. September 2001 14:05 +0800 bak <kedai@kedai.com.my> wrote:
> On Monday 03 September 2001 01:12 pm, Trevor Toenjes wrote:
>> 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
*warning* this is not always available and can easy be faked *warning*
Regards
Tino
> try setting up a DTML Method with this and see what other goodies are at your
> disposal
>
> <dtml-var REQUEST>
>
>
>
>> Thanks,
>> -Trevor Toenjes
>>
>> _______________________________________________
>> Zope maillist - Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> ** No cross posts or HTML encoding! **
>> (Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )