[Zope] How to store variables in one session
Chris McDonough
chrism@zope.com
Wed, 19 Jun 2002 19:05:21 -0400
Use the sessioning components of Zope 2.5+. See
http://www.zope.org/Documentation/ZopeBook/BasicObject.stx#2-77 .
There are also examples of using sessioning in the Examples folder
of newer Zopes.
- C
----- Original Message -----
From: <tille@debian.org>
To: "Zope user list" <zope@zope.org>
Sent: Wednesday, June 19, 2002 4:40 PM
Subject: [Zope] How to store variables in one session
> Hello,
>
> I want to write an application which builds a SQL query after
answering a set
> of questions which were presented on several HTML pages in some
forms.
> At first I've thought that I could store the answers in the
REQUEST object
> but I found out that this object does not store values of
variables over
> several requests. Thus I need a way to store some variables over
a certain
> number of user interactions.
>
> In the Zope Developers Guide I found something about "ZODB
Persistent Components"
> (Chapter 4) but first I do not understand how to do this with dtml
and
> second I'm really unsure whether this is the right method for my
application.
> I would like to know what is the best way to store some values
temporarily
> in one user session.
>
> Kind regards
>
> Andreas.
>
>
>
> _______________________________________________
> 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 )
>