Hi RDM
Thanks! That works perfectly, and teaches me about namespaces.
I just had to fix '/dtml-else' (I also do that)::
dtml-if sort_key
dtml-if "REQUEST.form.has_key('sort_key')"
dtml-call "RESPONSE.setCookie('sort_key',REQUEST.form['sort_key'])"
/dtml-if
dtml-else
Hi Loren, J. Atwood, Maik
Thanks for all the info! I'll digest give feedback
where I can. In the meantime, this is what I've fixed up
for myself (with a LOT of help from Roche Compaan) ..
In DTML Document 'index_html'::
dtml-var docsSorted
In DTML Method 'docsSorted'::
dtml-if
On Fri, 25 Aug 2000, Jean Jordaan wrote:
dtml-if "REQUEST.form.has_key('sort_key')"
dtml-call "REQUEST.set('sort_key', REQUEST.form['sort_key'])"
dtml-call "RESPONSE.setCookie('sort_key',
REQUEST.form['sort_key'])"
dtml-else
dtml-if
From: "Jean Jordaan" [EMAIL PROTECTED]
It looks like I'm going to be using cookies now, and I don't find any
How-To on cookies. What's the most instructive place to look? "UTSL" is
fine as an answer, especially if it points me somewhere, and even more
if it's DTML source ..
The *ZQR* is a
No How-Tos on Cookies?
how about http://www.zope.org/Members/BwanaZulia/cookies/
(I had forgotten to request it to be cataloged now down).
Enjoy,
J
From: Jean Jordaan [EMAIL PROTECTED]
Date: Thu, 24 Aug 2000 09:53:10 +0200
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: [Zope]
Hi Jean !
Jean Jordaan wrote:
It looks like I'm going to be using cookies now, and I don't find any
How-To on cookies.
I am collecting everything on cookies in the developers portal
of the ZDP:
http://zdp.zope.org/portals/developers/sessionmanagement/cookies
Hope this helps. Once you have