not sure I’ve understood what you want to do… anyway if Yii::app()->session->getIsStarted() doesn’t do what you want, then I guess that the method you used with count() / getCount() is the best available… (btw… I’d prefer to use them as method instead of properties, but this is more personal taste than useful)