> Take a look at the identity code and the logout
controller.
Thanks Jorge.
I'm presuming you meant that I should look at the
s?provider.py
files under identity. Actually, in my TG-app, I'm not using
a db,
and hence 'am not using the identity modules. Nevertheless,
I
looked at the (two) providers for SO & SA, but could not
find the
kind of low level details I was hoping to find in CP's
sessionfilter.
Basically, I think what needs to happen when my
"logout" in the
root ctrlr is invoked, is that I should somehow be able to
trigger
the "termination" and "clean_up" of my
session, in the lines of
what is done in sessionfiler - but needs to be triggered
asap
(via a thread possibly). I was hoping to find hi-level api's
to
"mark" the end of a session and ensure it is
"cleaned_up"
asap. That way's if the users tries to re-access a url, I
have
a good chance of redirecting them to a login...
Is the option to create a "output filter" in the
lines of sessionfilter
so the clean up happens rightaways, rather than wait for the
"previously determined expiration time" to be met.
Thanks much,
/venkat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|