[ZPT] Zope Persistent Objects

Andreas Jung andreas at andreas-jung.com
Tue Mar 23 13:24:34 EST 2004



--On Dienstag, 23. März 2004 12:14 Uhr -0600 "Nguyen, Joe" 
<Joe.Nguyen at coair.com> wrote:

> Hi,
>
>
>
> Simple question; if I passed in a dictionary from an external method. How
> would I keep that dictionary persistent so that I can refer to it anytime?
> For instance,
>
>
>
> In a python script, I would have something similar to dictObject =
> passInDictionaryObject.
>
> How do I make this so I can retrieve "dictObject" anytime I want to?  Do I
> use ZODB?  I've read over it a little but im nto sure if that's the right
> way to go.  Can I just do a test = context.REQUEST.get('dictObject')
> without passing variables?  Please help.
>
>

Use Zope Sessions.

-aj






More information about the ZPT mailing list