I’ve read this article: http://www.thedevelo…d-php-sessions/
And I wonder, how this idea can be implemented in Yii correctly?
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
CHttpSession::close()
Very nice writing!
I was just about to use this, but, what about what people say on this article and comments?
http://www.mysqlperformanceblog.com/2007/03/27/php-sessions-files-vs-database-based/