NetTalk Central

Author Topic: Content-Disposition: form-data;  (Read 3896 times)

johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Content-Disposition: form-data;
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Content-Disposition: form-data;
« Reply #1 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


johanco123

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • Email
Re: Content-Disposition: form-data;
« Reply #2 on: January 25, 2017, 03:15:15 AM »
Tanks Bruce