The mobile application makes Ajax requests to the site on Yii 1.x. In Yii, for each such request, a new user session starts, because the mobile application does not know how to store a COOKIE to send PHPSESSID to the site.
How to make sure that when requests from the mobile application session in Yii did not start? At the same time, I know how to determine exactly the requests from the mobile application. The question is about stopping the session mechanism!
By the way, sessions are stored in the database, the configuration is as follows:
'session' => array( 'timeout' => 32400, // 9 часов 'class' => 'system.web.CDbHttpSession', 'connectionID' => 'db', 'sessionTableName' => 'session', ),