Solved

Request entity too large

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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 will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now