I have an object that I am currently storing in a session. It is fairly large (16KB) so I would like to zip it or compress if before putting it in the session.
What function should I use after serializing the object?
Compressing an object for session
Moderator: General Moderators
- mydimension
- Moderator
- Posts: 531
- Joined: Tue Apr 23, 2002 6:00 pm
- Location: Lowell, MA USA
- Contact:
if you have access to the Apache zlib module you could always have a run at this: http://www.php.net/manual/en/ref.zlib.php
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact: