[Zope] Re: REQUEST var and links in page

Maik Jablonski maik.jablonski@uni-bielefeld.de
Thu, 17 Oct 2002 00:36:40 +0200


AM wrote:
> Hi,
> 
> I have a DTML doc at the top of which I set a REQUEST var:
> <dtml-call "REQUEST.set('x',y)">
> 
> Now in the page I have a set of links that O generate via a PyScript of 
> the form
> http://site:8080/page?a=b&c=d
> 
> Now if I do a <dtml-var REQUEST> in page I dont see the request variable 
> I set at the top of the page namely 'x'. I thought REQUEST variables 
> were propogated when one followed links (as against typing the URL in 
> the location bar).

No, that's wrong. REQUESTS aren't propagated via links across pages 
without any magic. They only exist for the current "page-request". You 
mean SESSIONS...;-)

cheers, maik

-- 
Maik Jablonski                 __o
www.zfl.uni-bielefeld.de     _ \<_    Deutsche Zope User Group
Bielefeld, Germany          (_)/(_)               www.dzug.org