I am wondering if it's possible to kick a fw controller/service on the
OnSessionEnd event.
We have an app that wants to keep track of what the user was doing last ...
even if he does not deliverately log out ... but just let the session
timeout.
I have a service user_mgr which does all user-related stuff as a nice
service.
I have a controller / action auth.login(), auth.logout() ... explicit logout
saves the user's session options to the db using the service. Everything is
still there to be saved upon session timeout .. but there is no request ...
Can I still achieve my goal using FW's capabilities?
If so, how?
Thanks for hints
Martin
No. Controllers are tied to requests. No request is active when
onSessionEnd() fires.
Use services directly instead.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)