Solved

Request entity too large

Posted on 2001-06-27
5
354 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

831 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