Solved

Request entity too large

Posted on 2001-06-27
5
360 Views
Last Modified: 2012-05-04
how do i solve the "request entity too large" error?
im using GET and the page actually has many input text boxes (actually double the size because of hidden fields that stores the original values of records to be updated)
the table clomns and rows all in all is usually 8 x 10 plus 20 other hidden fields. plus half of those 8 x 10 has 1 hidden field each. great.
now i suspect POST is the answer to the problem after scouring the web for a possible enlightenment.
now if i use POST instead of GET, i get the error "data missing". why is that?
0
Comment
Question by:ibo
[X]
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
  • 4
5 Comments
 
LVL 4

Expert Comment

by:jcs_clement
ID: 6234124
well I have tried this

1. "rubbish1.asp"

<%@ Language=VBScript %>
<html>
<head>
</head>
<body>
<form action="rubbish.asp" method="post">
     <%for count = 1 to 1000%>
          <input type="text" name="txt_<%=count%>" value="something_<%=count%>">
     <%next%>    
     <input type="submit" value="submit">
</form>
</body>
</html>



2. "rubbish.asp"

<%@ Language=VBScript %>
<html>
<head>
<title></title>
</head>
<body>
<%
for each item in Request.Form
     Response.Write Request.Form(item) & "<br>"
next
%>
</body>
</html>

rgds
jcs
0
 
LVL 4

Expert Comment

by:jcs_clement
ID: 6234136
It does work here in IE 5.0 and NS 4.7. I don't think there is a limit for number of characters in "POST" method.

Are u using IE 4.0 ?

rgds
jcs
0
 
LVL 4

Expert Comment

by:jcs_clement
ID: 6234164
u can use this also to get the variable name adn the value in the form collection

for each item in Request.Form
     Response.Write Request.Form.Key(item) & " = " & Request.Form(item) & "<br>"
next

rgds
jcs
0
 
LVL 3

Author Comment

by:ibo
ID: 6237119
oks.. it was a caching problem..
netscape reloads the page (twice) for some unknown reason.
the second time, the caches already expired of some sort im not not really sure what happens but i think it has somethin to do with the cache.

can i just ask another question for the points deposited? :)

im using jsp and how do i know if its a textbox or a textarea?
0
 
LVL 4

Accepted Solution

by:
jcs_clement earned 50 total points
ID: 6237309
<html>
<head>
<title>View Messages</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE=javascript>
     function fun(){
          x = document.frmone.txtone.type
          y = document.frmone.txttwo.type
         
          alert(x + "  " + y)
     }
</SCRIPT>
</head>
<form name="frmone">
<body OnLoad="fun()">
     <textarea name="txtone"></textarea>
     <input type="text" name="txttwo">
</form>
</body>
</html>


rgds
jcs
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

734 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