My HTML submits a form as following:
<FORM id=form1 name=form1 onsubmit="return submitForm();"
action="" method=post> (now comes defintion of some fields..)
if (validateGcmForm() == true)
document.form1.action = "http://" + parent.location.host + "/mcc7500/cgi- bin/gcmconfwebappl" ;
return true ;
return false ;
My C++ CGI was indeed invoked but it couldn't find any value using cgicc::getElement().
and even more, getenv("CONTENT_LENGTH") was NULL.
however, looking at a protocol analyzer, I see that the a packet of "POST" type is sent to the server, and the names & values of all my fields were sent as well.