Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread TFileComboBox and submission headers
Thu, Mar 3 2016 8:58 AMPermanent Link

Matthew Jones

I would like to use a TFileComboBox to upload a file. I need to include
a header in the form submission to show authentication. Is there a way
to add headers to the submit? I can add an edit box to add a field, but
headers would be better.

(Actually, I have now realised that the more secure way is to have the
server return a GUID to the file, and then only the uploader could know
that, but it would still be nice to have the header control...)


--

Matthew Jones
Thu, Mar 3 2016 9:19 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< I would like to use a TFileComboBox to upload a file. I need to include a header in the form submission to show authentication. Is there a way to add headers to the submit? I can add an edit box to add a field, but headers would be better. >>

No, you'll need to use a URL parameter or a TEdit on the THTMLForm that is hidden.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Mar 3 2016 9:34 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

> << I would like to use a TFileComboBox to upload a file. I need to
> include a header in the form submission to show authentication. Is
> there a way to add headers to the submit? I can add an edit box to
> add a field, but headers would be better. >>
>
> No, you'll need to use a URL parameter or a TEdit on the THTMLForm
> that is hidden.

Thanks. As I said, there is a better (more secure still) way, but good
to know I didn't miss anything.

--

Matthew Jones
Image