• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
zip a string

#1
[eluser]Ryubr[/eluser]
Hi,

My goal is to reduce a cookie size (as you know it is limited to 4kb) and the idea is to have this string bigger than 4kb "zipped" to be saved to the cookie. As plain text it will be great to add more data tah the 4kb.

Of course when i get the cookie i will need to unzip it. So the idea is to have it as string, or some encoded text that can be reversed.

I think it would be possible by zip the string and get the contents. But i don't see how the zip class can help on this.

Any ideias :-)

Thanks in advance!


Messages In This Thread
zip a string - by El Forum - 09-02-2008, 08:43 AM
zip a string - by El Forum - 09-02-2008, 09:11 AM
zip a string - by El Forum - 09-02-2008, 11:22 AM
zip a string - by El Forum - 09-02-2008, 11:22 AM
zip a string - by El Forum - 09-02-2008, 11:43 AM
zip a string - by El Forum - 09-02-2008, 02:04 PM
zip a string - by El Forum - 09-02-2008, 03:43 PM
zip a string - by El Forum - 09-03-2008, 04:42 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.