List Info

Thread: SessionFilter - Logout session




SessionFilter - Logout session
user name
2006-04-11 10:08:27
Hello,

> I'm trying to destory the current session from within
CherryPy.  Is
> there a command that will do this and execute the
appropriate functions
> that SessionFilter already has declared for when
sessions expire?  I
> want the user to get a new session if they try to log
back in after
> hitting logout.  Thanks in advance.

Can't you just empty their session ?

cherrypy.session.clear()

Remi.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )