Hi all,

I was going to open a ticket (and subsequently send a patch) to handle
session events when I bumped into this:

http://trac.symfony-project.org/ticket/4735

apparently my enhancement proposal has been already refused in the
past so instead of opening a ticket I'd like to support it here. I
think having session/storage event notified is a good thing in general
but I'll report my case just to give an example:

I need to do a "who's online" system for authenticated and
unauthenticated people on a site. In order to do so I'm persisting the
session on db, and handling the authentication event but I also need
to know when unauthenticated poeple hit the site (so I need to know
when a session is created) and also when authenticated and not
authetnticated people sessions expire and the cleanest way is by
notyfiny an event when gc happen I think (I could also go with a
separate cron process but I chose the other way).

No doubt I can have this extending the already existing sfStorage
classes or making my own (that is exactly what I did) but, again, I
think handling session events would be a good enhancement for symfony
extendibility.


Cheers

Martino

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to