Re: run function on session.flush()

2009-01-22 Thread Malcolm Tredinnick

On Thu, 2009-01-22 at 11:55 -0800, Abe wrote:
> I would like to run a function (in my case, send an email summarizing
> recent activity) when a user logs out *or* when their session
> expires.  Is there an easy way to do it without making a new version
> of the Session class?

No.

Regards,
Malcolm



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



run function on session.flush()

2009-01-22 Thread Abe

I would like to run a function (in my case, send an email summarizing
recent activity) when a user logs out *or* when their session
expires.  Is there an easy way to do it without making a new version
of the Session class?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---