Reading And Checking Any Http Session

Hello

I would like to have reading and/or existence checking functions for any http session in Yii (not only the session of the current request), since i cant find similar functionality with the PHP session functions.

Something which could look like this:




// returns true if the given session ID exists and is active

Yii::app()->session->isSessionActive('some-session-id');


// returns the $_SESSION array of the given session ID if it exists and is active, or null otherwise

Yii::app()->session->getSessionData('some-session-id');



Mainly because CHttpSession can be changed with any other implementation, so it could give the correct way of doing these operations.

Sorry for my bad english

Thanks