Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17



Posted on 1999-07-26
Medium Priority
Last Modified: 2013-12-25
I am using C language to write my CGI program.
what is the maximum size for QUERY_STRING?
How can i increase the size for QUERY_STRING?
Question by:aimui
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 84

Expert Comment

ID: 1835233
It depends on whatever limits the server or the browser impose.
If this is a problem, you may be able to avoid those limits by using POST instead of GET.

Accepted Solution

tree123 earned 400 total points
ID: 1835234
query string have a max of 256 characters... no way to expand. posting your data via post instead of get gives your lots more info but the data is only a query string if its a ? in the browser used by the get form posting method. there is now way to increase this unfortunatley
LVL 84

Expert Comment

ID: 1835235
tree123, are your query strings being limited to 256 characters by your browser or by your server?
Most allow a lot more.  Which versions are you using?

Expert Comment

ID: 1835236
the limitation is from the browser as it actually has to be able to support the number of letters that follow the ?. i didn't know about support for longer strings, but i stick to the old school code where possible to keep everyone happy. if you know of a good online link for ssi related issues let me know. :-)

Featured Post

Amazon Web Services EC2 Cheat Sheet

AWS EC2 is a core part of AWS’s cloud platform, allowing users to spin up virtual machines for a variety of tasks; however, EC2’s offerings can be overwhelming. Learn the basics with our new AWS cheat sheet – this time on EC2!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question