Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Pack QueryString

    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

    Axel Dahmen Guest

  2. Similar Questions and Discussions

    1. URL (Querystring) Encode
      Hi, I am working with VB. Does anyone know how to encode a set or querystrings using vb? For example: Unencoded:...
    2. Multiple Querystring
      Hi all, Here's a newbie question for you all. I have a page lets call it main.asp On this page there are 2 links both pointing to the same page...
    3. Querystring Check
      Hi all, I am new to asp so bear with me. I want to write a page which will load a default page for me with some links and all. lets say someone...
    4. Calling from a QueryString
      > Hello everyone, im trying to get my Flash MX to grab some things from the just put another <param> tag in your <object> tag. it should look...
    5. querystring question
      "Gonzosez" wrote ... I dont think you need to, I believe that its only whilst the info travels through cyberspace and arrives at its...
  3. #2

    Default Re: Pack QueryString

    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


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default Re: Pack QueryString

    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

    ---------------------
    "Natty Gur" <natty@dao2com.com> schrieb im Newsbeitrag news:ODuBT0ePDHA.1584@TK2MSFTNGP11.phx.gbl...
    > 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

    Axel Dahmen Guest

  5. #4

    Default Re: Pack QueryString

    Server.Transfer("newpage,.aspx",true) will transfer the request to other
    page including the post and get data.

    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


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139