Hi everyone!
I'm trying to list the online users of my app by analyzing Beaker's
sessions directly from the sessionstore (type = sqla in my case). By
"online user" I mean "her session has been accessed in the last 30
minutes", and it works nicely.
My current problem is that when a user logs out, the session doesn't
get deleted, so she still results as online... Is there a way to
intercept the logout process and remove the session?

I'm using repoze.who FriendlyFormPlugin to handle login/logout.. I
tried to subclass it and override identify() or challenge(), but when
I try to gain access to the session, I get a "No object (name:
session) has been registered for this thread". Am I going the wrong
way?

Many thanks in advance!

(I'm using Pylons 1.0)

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to