How to compress query string data
i am using QueryString to pass data.There is about 1900 characters of data. After I URLEncode
the data, it is much larger than 2042 characters. I would like to
compress the data before encoding it so the resulting size is less than
2042.
can anybody have idea!
Loading
buyi wenPosted Sep 13, 2015, 12:19 AM
Niradhip ChakrabortyPosted Jul 29, 2009, 3:09 AM
how about writing all those characters to a memo field in a database on the server. Then you can pass the ID of that db record in your query string, and the child page can retrieve the record.
The Session object can also be used as well, but storing large amounts of data may take its toll on the server resources if user usage is high.
Anupama SinghPosted Jul 29, 2009, 2:52 AM
Niradhip ChakrabortyPosted Jul 29, 2009, 2:45 AM
1.http://marcgrabanski.com/article/compress-query-strings-in-javascript