DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Max Length of query string?

  1. #1
    Dana Guest

    Max Length of query string?


    I have some users of my site using AOL with IE6 experiencing difficulty with
    navigating through the site after they have logged in.

    I run a sessionless site, tracking user info and various credentials through
    a very long an incomprehensible query string. If the information in the
    querystring does not live up to various checksums, the user is kicked back
    to the login screen. This is what is happening.

    So far, only the users of AOL with IE6 are experiencing problems. I personally
    use IE5.5 still so I am not sure if this is an IE6 problem or what.

    My question, though.. is there a limit to the length of a querystring? In
    the "old days" I thought it was 256 characters but more modern browsers could
    handle around 8k of query string data.

    If it's still 256, I'm curious why most of my users aren't experiencing a
    problem.

    Thanks for the help.

    Dana

  2. #2
    Harish Mohanbabu Guest

    Re: Max Length of query string?


    In IE, the maximum URL length is 2,083 characters. However if you are using
    GET method, you are limited to maximum of 2,048 characters.

    Cheers,
    Harish Mohanbabu

    "Dana" <dana.sims@ivans.com> wrote:
    >
    >I have some users of my site using AOL with IE6 experiencing difficulty

    with
    >navigating through the site after they have logged in.
    >
    >I run a sessionless site, tracking user info and various credentials through
    >a very long an incomprehensible query string. If the information in the
    >querystring does not live up to various checksums, the user is kicked back
    >to the login screen. This is what is happening.
    >
    >So far, only the users of AOL with IE6 are experiencing problems. I personally
    >use IE5.5 still so I am not sure if this is an IE6 problem or what.
    >
    >My question, though.. is there a limit to the length of a querystring?

    In
    >the "old days" I thought it was 256 characters but more modern browsers

    could
    >handle around 8k of query string data.
    >
    >If it's still 256, I'm curious why most of my users aren't experiencing

    a
    >problem.
    >
    >Thanks for the help.
    >
    >Dana



  3. #3
    Dana Guest

    Re: Max Length of query string?


    hmm. well looks like total url length (including the http://servername, script
    name, AND string) is all of 140 - 160 characters. So that can't be the problem.

    The querystring contains 10 variables... one of which is empty (i.e. ?aa=1&bb=4i834d985&cc=&dd=632
    cc is empty of value)

    That shouldn't be a problem either. Sigh. This one has me stumped.

    Thanks for the answer to the question though =)


    "Harish Mohanbabu" <HarishM@MailCity.Com> wrote:
    >
    >In IE, the maximum URL length is 2,083 characters. However if you are using
    >GET method, you are limited to maximum of 2,048 characters.
    >
    >Cheers,
    >Harish Mohanbabu
    >
    >"Dana" <dana.sims@ivans.com> wrote:
    >>
    >>I have some users of my site using AOL with IE6 experiencing difficulty

    >with
    >>navigating through the site after they have logged in.
    >>
    >>I run a sessionless site, tracking user info and various credentials through
    >>a very long an incomprehensible query string. If the information in the
    >>querystring does not live up to various checksums, the user is kicked back
    >>to the login screen. This is what is happening.
    >>
    >>So far, only the users of AOL with IE6 are experiencing problems. I personally
    >>use IE5.5 still so I am not sure if this is an IE6 problem or what.
    >>
    >>My question, though.. is there a limit to the length of a querystring?


    >In
    >>the "old days" I thought it was 256 characters but more modern browsers

    >could
    >>handle around 8k of query string data.
    >>
    >>If it's still 256, I'm curious why most of my users aren't experiencing

    >a
    >>problem.
    >>
    >>Thanks for the help.
    >>
    >>Dana

    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center