Allow CDbHttpSession to store binary payload #267

qiangxue opened this Issue Feb 15, 2012 · 0 comments


None yet

2 participants


Changing the data column to a binary type will allow vanilla Yii to work together with alternative serializers such as igbinary (cf. <>, benchmark: <>) which yields smaller session payloads and increased speed.

The attached patch brings the already existing logic from CDbCache.createCacheTable() to CDbHttpSession.createSessionTable().

Migrated from

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

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
@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