Pack QueryString

A

Axel Dahmen

I've got a (probably) long list of data which I want to send to an ASPX page by query string. To keep the URL short and compact I want to compress the data before I put it into the query string. The target page is supposed to unpack the data again.

I'm thinking about a technique similar to the one ViewState uses, only for query strings.

Is there any class available in the .NET framework compressing and unpacking string data?

TIA,
Axel Dahmen
 
N

Natty Gur

Axel Hi,

1) You can always send the data via Post. The data will be embedded in
the request and you will be free from the query string limitation.

2) .Net don’t have any compressing and unpacking string utility but A)
LosFormatter is the class that responsible of compressing and unpacking
view state. B) Check out #ZipLib[1]. This is an open source that does
that job. I’m using it without any problems.

[1]http://www.icsharpcode.net/OpenSource/SharpZipLib/Default.aspx

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
 
A

Axel Dahmen

Thanks, Natty, I'll check out your sources! Regarding your suggestion to post: I can't use post because I want to provide my parameters in hyperlinks.

Best wishes,
Axel Dahmen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top