My cookie does not store the complete serialize object. It stores part of the string but not the whole string, my total string lenght is less than 4k. I do not know what could possibly be wrong. If anybody has any suggestions please reply. Thanks.
With Version 0 cookies, values should not contain white space, brackets, parentheses, equals signs, commas, double quotes, slashes, question marks, at signs, colons, and semicolons.