• Register
0 votes

Problem :

I am facing the problem with my URLs length. How can I know when my URL's length is exceeded? This issue experienced only after sending large number of query variables in my query string. Can I increase it at run time?

8 4 2
2,300 points

1 Answer

0 votes

Solution :

I have faced such issues in the past.

On your receiving end you normally encounter a 414 Request-URI Too Long-header.

We cannot increase it at runtime. In Apache webserver if you are using it as a webserver then you can limit it to up to 8190 bytes, but not above it without changing your source code & recompiling.

It is completely server dependent and also the UA-dependent, and if you are running Suhusoin with PHP then more possible rules will apply to you.

Such problem arises if your form method is not set and if it tries to fetch the variables from a session. To fix this you need to set the form method as method="POST" then it will surely work.

You can also store your data on a database. After that you need to assign the unique ID to your data

You can pass your ID in your URL. Then you can retrieve the data from database using a ID as key

5 2 1
4,980 points

Related questions

0 votes
1 answer 54 views
Problem : Hi I am trying to develop the web application its working fine but since yesterday I had the problem when I try to click the link it gives me below error The length of the query string for this request exceeds the configured maxQueryStringLength value. ... to auto generate I am trying to use asp dotnet4 Ajax control toolkit and also using the update panel. Any suggestions on this ?
asked Feb 2 jwilliam 3.9k points
0 votes
2 answers 180 views
Problem : I am getting bellow memory error java.lang.outofmemoryerror requested array size exceeds vm limit
asked Nov 5, 2019 peterlaw 6.9k points
1 vote
1 answer 13 views
what is the process of cookies-less and redirect without it?
asked Sep 1 Sofi55 1.1k points