Hello there, long time reader ( and Yii dev) first time poster.
Recently we started using a tracing server-side software to try to identify bottlenecks in our web app (newrelic, for the record). I was surprised on what was causing this issue: ChttpSession::open was taking 8-12 seconds on almost all the traces that did an ajax request.
Is there any solution on this? Im storing the session on files as per default, not memcache/d. Thanks on advance.
So this way the session data will be stored on database, yeah. I just guessed that session_start() is blocking when using files as session storage. If your code works, that will be another reason for moving our session storage to db or even cache.