[Zope] Info on REQUEST.SESSION

Matt Hamilton matth at netsight.co.uk
Wed Apr 21 15:18:35 EDT 2004


Asad Habib wrote:

> Anybody know of some resources on how to use the SESSION part of the
> REQUEST object? Thanks.

The SESSION object can be used just like a dictionary, e.g:

REQUEST.SESSION['mybasket'] = ('foo', 'bar')

It will then contain this data on any subsequent requests from the same 
client.

-Matt


-- 
Matt Hamilton                                       matth at netsight.co.uk
Netsight Internet Solutions, Ltd.        Business Vision on the Internet
http://www.netsight.co.uk                             +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting



More information about the Zope mailing list