• Register
0 votes
80 views

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

Please log in or register to answer this question.

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 82 views
82 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, 2020 jwilliam 3.9k points
0 votes
0 answers 2 views
2 views
Problem: What is the maximum length of a url in different browsers? Do you switch between browsers? Does the http protocol mark it?
asked 3 days ago sasha 13.2k points
0 votes
2 answers 299 views
299 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
0 votes
1 answer 4 views
4 views
Problem : Bad Request - size of a request header field exceeds server limit
asked 6 days ago Shovo210 3.1k points
1 vote
1 answer 17 views
17 views
what is the process of cookies-less and redirect without it?
asked Sep 1, 2020 Sofi55 1.1k points
0 votes
1 answer 6 views
6 views
Problem : Getting Error: you don't have authorization to view this page. http error 403
asked 2 days ago Shovo210 3.1k points
0 votes
1 answer 11 views
0 votes
1 answer 15 views
15 views
Problem: I am very new to programming. Now days I am trying to load the 3D model into the Three.js with a JSONLoader and that particular 3D model is in a same directory as my entire website. Still I am receiving below error: "Cross origin requests are only supported for HTTP." I am unable to know why am I receiving the above error and I am struggling to resolve it.
asked Aug 12, 2020 Raphael Pacheco 4.9k points