Speeding up AJAX requests

I’ve read this article: http://www.thedevelo…d-php-sessions/

And I wonder, how this idea can be implemented in Yii correctly?

Which idea? How to close the session?

How to catch the moment when all session data is written and close it.Or it should be done only manually? Even if so, are there native Yii methods to close the session?

If you use DbSession you won’t have any problems :P


CDbSession sounds better :) I read the docs and here is solution: http://programmersno…se-db-sessions/

Very nice writing!

I was just about to use this, but, what about what people say on this article and comments?