[Zope] session

Maciej Wisniowski maciej.wisniowski at coig.katowice.pl
Tue Feb 13 06:21:47 EST 2007


> In session object, but i don´t know how to do it.
> Can you help me please????
Please stay on list.

Something like:

session = self.REQUEST.SESSION
session.set('_key', credentials)

to retrieve data:

creds = session.get('_key', None)

So after proper authentication you may store object with
user name etc. in session and later just check if it is there.
If so, then user is authenticated...
In general this is how CAS4PAS plugin works.

-- 
Maciej Wisniowski



More information about the Zope mailing list