I'm trying to serialize and unserialize a quite long object -- 250KB compressed -- via session but it's not working.
I've done two tests. The first one consisted on directly serialize and unserialize the object more than once for checking if the problem was the serialization per se but everything ran ok. The second one consisted on writing the serialized object into a file and that worked fine too.
Unfortunately it would be insane to post here or elsewhere all the code itself.
Has anyone dealed with a problem like that or suggest any other test to be done?