Posting Large Data to Querystring

Discussion in 'ASP .Net' started by apiringmvp, Sep 22, 2005.

  1. apiringmvp

    apiringmvp Guest

    I am trying to post a large amount of data from an XmlSerialized
    Arraylist that is converted into a string of hex values.

    When I pass it to a querystring sometimes its gets truncated.

    Is there another way to hash an XmlSerialized byte array, instead of
    just converting it to a string of hex values (which doubles the
    length).

    Maybe a checksum, something? snippets appreciated...

    Thanks in advanced.

    PS. the hash needs to be URL Safe.
    apiringmvp, Sep 22, 2005
    #1
    1. Advertising

  2. apiringmvp

    Bruce Barker Guest

    base64 encode is better than hex. you could also use a compression routine
    on the byte array, then base64 encode the compressed byte array.

    there is still a 2k limit on the query string (including the base path)

    -- bruce (sqlwork.com)


    "apiringmvp" <> wrote in message
    news:...
    >I am trying to post a large amount of data from an XmlSerialized
    > Arraylist that is converted into a string of hex values.
    >
    > When I pass it to a querystring sometimes its gets truncated.
    >
    > Is there another way to hash an XmlSerialized byte array, instead of
    > just converting it to a string of hex values (which doubles the
    > length).
    >
    > Maybe a checksum, something? snippets appreciated...
    >
    > Thanks in advanced.
    >
    > PS. the hash needs to be URL Safe.
    >
    Bruce Barker, Sep 23, 2005
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. alanb
    Replies:
    2
    Views:
    522
    alanb
    Apr 23, 2004
  2. Alan Silver
    Replies:
    6
    Views:
    478
    Alan Silver
    Sep 19, 2005
  3. Mehdi
    Replies:
    6
    Views:
    36,103
    sloan
    Apr 6, 2006
  4. AmitKu
    Replies:
    7
    Views:
    499
    John Timney \(MVP\)
    Jan 8, 2007
  5. Adeel Ahmad
    Replies:
    1
    Views:
    443
    Anthony Jones
    Mar 7, 2006
Loading...

Share This Page