Link to home
Start Free TrialLog in
Avatar of ibo
ibo

asked on

Request entity too large

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?
Avatar of jcs_clement
jcs_clement

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
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
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
Avatar of ibo

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of jcs_clement
jcs_clement

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial