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). Is the presence of a query string screwing things up here?? TIA AM -- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================
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
participants (2)
-
AM -
Maik Jablonski