LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices



Reply
 
Search this Thread
Old 06-18-2014, 11:13 AM   #1
timinator
Member
 
Registered: Sep 2006
Posts: 33

Rep: Reputation: 15
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
 
Old 06-18-2014, 11:59 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 869
Blog Entries: 2

Rep: Reputation: 216Reputation: 216Reputation: 216
You haven't said anything about your s/w or showed detailed logs, or the form used.
 
Old 06-18-2014, 12:01 PM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 3,410
Blog Entries: 1

Rep: Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115Reputation: 1115
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?
 
Old 06-19-2014, 10:52 AM   #4
timinator
Member
 
Registered: Sep 2006
Posts: 33

Original Poster
Rep: Reputation: 15
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
 
Old 06-22-2014, 07:17 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 2,331

Rep: Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593Reputation: 593
... and guess what happens when a LOT of data is changed?

This is what the post method is for.
 
Old 06-23-2014, 01:19 PM   #6
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,455

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
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.)

Last edited by sundialsvcs; 06-23-2014 at 01:20 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Form problem zak100 Linux - Newbie 8 11-02-2013 10:22 AM
php5 problem with uploads from IE using html form input type file miedward Programming 3 04-06-2010 02:24 PM
PHP: html Form Select function problem camlinux Programming 2 05-15-2005 09:23 PM
problem with html form meluser Linux - Software 4 03-15-2003 01:28 PM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration