Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User cs8st's Avatar
    Join Date
    Mar 2003
    Posts
    36
    I am currently writing an application which is supposed to talk to a server via a http connection and receive data from the server for processing.

    The problem i am having is that if the url is above a certain length the application refuses to make the connection. I beleive the max length is about 120 - 130 characters.

    does anyone have a possible solution that would allow me to get around this problem?

    thx for the help.

  2. #2
    Nokia Developer Expert jalev's Avatar
    Join Date
    Mar 2003
    Posts
    382
    Hello

    That is tru that there is limit of lenght using http get method, but
    http post enables to send more data to the server.

  3. #3
    Nokia Developer Expert jp_fn's Avatar
    Join Date
    Mar 2003
    Location
    Helsinki, Finland
    Posts
    176
    Hi,

    The length of the URL depends on the 7650's sw version. At least in the latest sw version (4.39) the maximum URL length should be 256 characters, but I have not tested it. In the older sw versions (3.12 & 3.16) the limit is about that 100 characters as you have noticed. I assume you have used that older software version.

    Would it be possible to redesign your server side or pack the URL somehow?

    One possible solution is to use HTTP POST instead of HTTP GET. However HTTP POST has its own problems with software versions 3.12 and 3.16. See for example resolution: 15318 from the Forum Nokia knowledge base.

    Best Regards,
    JP / Forum Nokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved