[Grok-dev] Kill the session of one user
Jeffrey D Peterson
bgpete at gmail.com
Wed Aug 18 19:39:51 EDT 2010
Sessions are Containers, Containers are objects, seems like you should just
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
>
>
> Hello,
>
> I have two problems:
>
> I'm using ISession, IClient.... from Zope. I'd like to kill the session
> of
> whoever user once user is logged out. I know how to manage the timeout
> and
> resolution, but I haven't found out how to kill the session object yet.
> How
> can I make it?
>
> When one user is inactive for 15 minutes, grok or zope kills his
> registry,
> 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?
>
> Thanks,
>
> Alvaro
> --
> View this message in context: http://old.nabble.com/Kill-the-session-
> of-one-user-tp29475738p29475738.html
> Sent from the Grok mailing list archive at Nabble.com.
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
More information about the Grok-dev
mailing list