Strange or not the next html form code generate a empty,only header,
POST request.

<form method="post" action="/SomeAction" onsubmit="">
<input type="submit" value="Proceed to next step" />
</form>

The cause is the onsubmit event.

If in the httpserver onPosteDocument I accept the request the connection
will hangup because no OnPostedData will trigger.
So I ask, what is the best way to treat this situation?
Probably a change in the httpserver code to immediately trigger the
onPostedData when requestelength=0? Mainly because, normally the code to
handle the POST requests is in the onPostedData handle procedure.
Or call the onPostedData from the onPosteDocument with dummy parameters
and don't accept the request?

Thanks,
Rui



-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to