NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: johanco123 on January 24, 2017, 03:54:55 AM

Title: Content-Disposition: form-data;
Post by: johanco123 on January 24, 2017, 03:54:55 AM
Hi Bruce

I the log file of the web server app I am getting the following when doing a POST on a memory form:

Content-Disposition: form-data; name="FormState"
FVFPEGMVZU
-----------------------------180881968911146
Content-Disposition: form-data; name="loc__FTPolicyNo"

It seems to be on any field on the form when any field was accepted.

What will the effect of this Content-Disposition on the running and performance of the web app. If this is an error on my side, what must I lookout for to fix it please.

The user is not ogged in and with the form it connects to the server to validate certain fields in the table.

Can this cause perhaps the server to shut down without any errors.

Kind regards
Johan
Title: Re: Content-Disposition: form-data;
Post by: Bruce on January 24, 2017, 11:25:42 PM
Hi Johan,

The short answer is no, it has no impact on performance, and no impact on stability. Indeed this is all completely normal.

You're used to a "simple" form data format,
parm=value&parm=value and so on. Most forms use that approach.

However if a form contains a <input type='file'> then it changes to a different encoding format. This all happens under the hood, and you don't need to worry about it. Both the netTalk client, and server, handle the form data regardless of encoding, and convert it into appropriate "Values" in the value queue.

Cheers
Bruce

Title: Re: Content-Disposition: form-data;
Post by: johanco123 on January 25, 2017, 03:15:15 AM
Tanks Bruce