Allow CDbHttpSession to store binary payload #267

Closed
qiangxue opened this Issue Feb 15, 2012 · 0 comments

Projects

None yet

2 participants

@qiangxue
Member

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


earlier comments

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:

set for 1.1.10 milestone

@DaSourcerer DaSourcerer added a commit to DaSourcerer/yii that referenced this issue Feb 17, 2012
@DaSourcerer DaSourcerer Fix issue #267 c2bcf6a
@cebe cebe referenced this issue Feb 18, 2012
Closed

Fix issue #267 #364

@samdark samdark was assigned Feb 21, 2012
@samdark samdark added a commit that referenced this issue Mar 9, 2012
@samdark samdark Fix issue #267 CDbHttpSession is now able to store binary payload suc…
…h as the output of the igbinary serializer
9837ec5
@samdark samdark closed this Mar 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment