Web Connection
Posting to webpage
Gravatar is a globally recognized avatar based on your email address. Posting to webpage
  fredkarm
  All
  Jun 7, 2024 @ 08:46am

I have clients fill out a web from on our server and when they hit the submit button it runs a foxpro webconnect function to put the info into a table on our server. Now I have a client who has information on their server put in by their clients, that I need to get into our table, so we gave them our web form with the function in the action line. How do they post to this webform on their server and run the function on our server (I think once they post to our form the function to send it to our webconnect function will happen. Is it something to do with postbacks?

Gravatar is a globally recognized avatar based on your email address. re: Posting to webpage
  Rick Strahl
  fredkarm
  Jun 7, 2024 @ 12:08pm

You can do that yes, but be aware that this is frowned upon because you are effectively doing a cross-domain data submission. This will likely be flagged (on your client's site) by a security audit.

But it should work as long as you're directly submitting the form without using JavaScript.

Here's more info:

https://stackoverflow.com/questions/11423682/cross-domain-form-posting

Gravatar is a globally recognized avatar based on your email address. re: Posting to webpage
  fredkarm
  Rick Strahl
  Jun 8, 2024 @ 07:17pm

Just to confirm, they can have a web page with input fields and in the action command just include the url of my function call e.g. https://www.mycompanyserver.net/wconnect/wc.dll?wwdemo~datain

© 1996-2024