Changing the data column to a binary type will allow vanilla Yii to work together with alternative serializers such as igbinary (cf. <http://pecl.php.net/package/igbinary>, benchmark: <http://phpolyk.wordpress.com/2011/08/28/igbinary-the-new-php-serializer/>) which yields smaller session payloads and increased speed.
The attached patch brings the already existing logic from CDbCache.createCacheTable() to CDbHttpSession.createSessionTable().
Migrated from http://code.google.com/p/yii/issues/detail?id=3057
qiang.xue said, at 2012-01-01T03:37:10.000Z:
set for 1.1.10 milestone
qiang.xue said, at 2012-01-01T03:37:36.000Z:
Fix issue #267
Fix issue #267 CDbHttpSession is now able to store binary payload suc…
…h as the output of the igbinary serializer