[Grok-dev] Kill the session of one user
alvreinoso at gmail.com
Thu Aug 19 11:23:47 EDT 2010
Got it. I tried to delete it and couldn't get it if I do something like:
However, if I try to delete the objects inside session['data'], it's working
Do you know where Zope or Grok controls when the user is killed after he's
been inactive for a while?
Jeffrey D Peterson wrote:
> Sessions are Containers, Containers are objects, seems like you should
> be able to remove it:
> del session['key_to_get_users_session']
> I haven't done it, but that's a path you could investigate.
> Jeffrey Peterson
> bgpete3 at gmail.com
>> -----Original Message-----
>> From: grok-dev-bounces+bgpete=gmail.com at zope.org [mailto:grok-dev-
>> bounces+bgpete=gmail.com at zope.org] On Behalf Of bribon
>> Sent: Wednesday, August 18, 2010 3:34 PM
>> To: grok-dev at zope.org
>> Subject: [Grok-dev] Kill the session of one user
>> I have two problems:
>> I'm using ISession, IClient.... from Zope. I'd like to kill the session
>> whoever user once user is logged out. I know how to manage the timeout
>> resolution, but I haven't found out how to kill the session object yet.
>> can I make it?
>> When one user is inactive for 15 minutes, grok or zope kills his
>> so that user has to log in again. I don't know if Zope or grok controls
>> that, but I'd like to change that behavior. Any idea?
>> View this message in context: http://old.nabble.com/Kill-the-session-
>> Sent from the Grok mailing list archive at Nabble.com.
>> Grok-dev mailing list
>> Grok-dev at zope.org
> Grok-dev mailing list
> Grok-dev at zope.org
View this message in context: http://old.nabble.com/Kill-the-session-of-one-user-tp29475738p29483184.html
Sent from the Grok mailing list archive at Nabble.com.
More information about the Grok-dev