Send a string of lenth 2000 character to browser

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Prajaktaj
    New Member
    • Apr 2008
    • 34

    Send a string of lenth 2000 character to browser

    Hi All,
    I have one string variable of length of approximately 2000 characters which I am sending to the browser through URL from javascript. But the browser does not accept the string more than length of 1800 characters. I cant send the string in chunks, I want to send it one go itself. So please let me know if anyone of you is having any solution.

    Thanks for any help.
  • rnd me
    Recognized Expert Contributor
    • Jun 2007
    • 427

    #2
    can you please elaborate on what you are trying to do and what you have so far?

    specifically, where is the data coming from, and which url are you referring to?

    Comment

    • Prajaktaj
      New Member
      • Apr 2008
      • 34

      #3
      Sorry for not being very clear...

      I am trying to create client server application , in which client is designed in flash and server in C#.net. The communication between two is through javascript.I am trying to send one string variable of length 2000 charachter which is coming from flash and i want to form an url in javascript in which I am going to send that string variable as a parameter to server.

      When I send the string variable up to length 1800 it works fine...How can I send the same of length 2000 characters?

      Comment

      • rnd me
        Recognized Expert Contributor
        • Jun 2007
        • 427

        #4
        urls are limited to ~2kb, so there is not much you can do.

        remember that cookie are also transported, so that gives you another 2kb.

        any more, and you will need to use a POST request instead of a GET request.

        Comment

        Working...