Possible Duplicate:
How to check logged in online users using Zend Framework
I know how to check if the current user is logged in:
Zend_Auth::getInstance ()->hasIdentity ()
But how do I check if another user is logged in or not?
So if I wanted to check if user_id number 5 is logged in or not, does this have to be some kind of last logged in time check?