LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Other *NIX (http://www.linuxquestions.org/questions/other-%2Anix-55/)
-   -   Web server html form problem (http://www.linuxquestions.org/questions/other-%2Anix-55/web-server-html-form-problem-4175508383/)

timinator 06-18-2014 11:13 AM

Web server html form problem
 
Hi, we are trying to implement a web based claims app on our HP-UX box. When submitting the main html form using method=post it just hangs, When using method=get it works, but "URI too long" error. Any suggestions would be appreciated. Thanks

linosaurusroot 06-18-2014 11:59 AM

You haven't said anything about your s/w or showed detailed logs, or the form used.

szboardstretcher 06-18-2014 12:01 PM

Need more info and code..

Random guess tho: I had a similar problem with an SSL/VPN appliance that only allowed GET requests.. it was an edge device, so perhaps make sure that you are connecting directly to the server?

timinator 06-19-2014 10:52 AM

It looks like the problem is when the form is submitted there is WAY to much information being sent back. Is there a way to only send "changed" data?

Thanks

jpollard 06-22-2014 07:17 AM

... and guess what happens when a LOT of data is changed?

This is what the post method is for.

sundialsvcs 06-23-2014 01:19 PM

On the client side, use a debugger in your web browser to LQQK AT exactly(!) what the two sides are saying to one another, and exactly what response is returned. This is the only way to understand, thence to debug, whatever is happening.

Clearly, if a substantial amount of data is to be sent, you need to use POST, because the size of the URL-string is quite limited. If you're trying POST and things seem to be "hanging," what is undoubtedly happening is that an undetected error is occurring. Most likely, the host is rejecting your request (for a reason that yu cannot now see), and your client-side logic isn't prepared to deal with an error response. Since the expected response never arrives, the whole thing seems to "hang." (It's actually not suspended from a gibbet ... it's just Waiting For Godot.)


All times are GMT -5. The time now is 11:37 PM.