[Zope] dtml sessions?

Quentin Smith quentins@comclub.dyndns.org
Sun, 1 Sep 2002 23:04:07 -0400


Hi-
Most new Zope installs come with a session manager in the root folder, 
and a temporary folder with a session data container. All you have to do 
is use REQUEST.SESSION.set() instead of REQUEST.set().
HTH,
--Quentin
On Sunday, September 1, 2002, at 10:59  PM, Greg Conway wrote:

> Hi all,
>
> Just wondering, does Zope (I'm using 2.5.0) have built-in session 
> support?
>
> I have just discovered that my REQUEST variables don't stay in memory! 
> so I
> just need something that will store a variable in memory regardless of
> traversing through forms!
>
> I guess that this means sessions sessions or cookies, not really sure 
> about
> either of them, and preliminary findings indicate I may need to add more
> stuff into Zope to get sessions working!
>
> So if there is any easy way of doing this, can somebody please 
> enlighten me
> before I go off at a lengthy tangent again to re-invent the wheel?
>
> :)
>
> many thanks!
>
> Regards,
>
> Greg Conway.
>
> This electronic transmission and any files attached to it are strictly
> confidential and intended solely for the addressee. If you are not
> the intended addressee, you must not disclose, copy or take any action
> in reliance of this transmission. If you have received this
> transmission in error, please notify us by return and delete the same.
> Further enquiries/returns can be posted to postmaster@gmlnt.com
> Thank you.
>
> _______________________________________________
> 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 )
>