LinuxQuestions.org
Visit Jeremy's Blog.
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, 10:13 AM   #1
timinator
Member
 
Registered: Sep 2006
Posts: 39

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, 10:59 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
You haven't said anything about your s/w or showed detailed logs, or the form used.
 
Old 06-18-2014, 11:01 AM   #3
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
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, 09:52 AM   #4
timinator
Member
 
Registered: Sep 2006
Posts: 39

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, 06:17 AM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

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

This is what the post method is for.
 
Old 06-23-2014, 12:19 PM   #6
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,642
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
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 12: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 09:22 AM
php5 problem with uploads from IE using html form input type file miedward Programming 3 04-06-2010 01:24 PM
PHP: html Form Select function problem camlinux Programming 2 05-15-2005 08:23 PM
problem with html form meluser Linux - Software 4 03-15-2003 12:28 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 06:15 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
Open Source Consulting | Domain Registration