• 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

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 2 views
Problem: Do you know that Unable to load the requested class: pdf?
asked Apr 13 jamuna1 30.2k points
1 vote
1 answer 3 views
Problem: Can I get some advice with my this wordpress problem I am facing? Wordpress the requested url was not found on this server.
asked Apr 28 PkGuy 23.5k points
0 votes
1 answer 783 views
Problem: I tried to find out the solution on the web when I face this problem but I did not get any fruitful information that I can continue if you read the above question and understand what is the solution of this please cooperate with me- Thanks
asked Mar 21 shamimkhan 15.1k points
0 votes
1 answer 6 views
Problem: I am using R 3.4.4., Os windows 7. I want to use rvest to make a session and scrape some data. Here is my code: sess<- html_session("https://www.tomato.com.hr/telefonski-imenik", encoding = "UTF-8") test <- read_html(sess, encoding = "UTF-8" ... your administrator.<br><br>Your support ID is: 9986573 ... does it mean that the site has some kind of protection or there is some other problem?
asked Apr 25 Yeamin 22k points
0 votes
1 answer 384 views
Problem: I am getting this error when trying to upload an import on WordPress on my XAMPP local dev environment: Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 I changed the upload_max_filesize from 2M to 1000M, but that didn't seem to do anything. Any ideas?
asked Apr 18 munim01 21k points
1 vote
1 answer 3 views
Problem: Can anyone tell me the solution of this problem? post content length of bytes exceeds the limit
asked Apr 7 MUHAMMAD MUNEEB 83k points
0 votes
1 answer 3 views
Problem: I want to do performance testing of large files using java in Amazon cloud. Help me someone.
asked 5 days ago salim1 60.6k points
0 votes
2 answers 409 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 16 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 Feb 26 sasha 16.2k points
0 votes
1 answer 5 views
Problem: I need someone to understand this problem:error the requested url could not be retrieved and find the solution.
asked Apr 4 ashik 14.6k points