Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send recordset to server
Message
From
27/08/1999 08:11:54
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00258288
Message ID:
00258322
Views:
11
>Hi All,
>
>I'm building an Internet application for wich I need data of the client. What is the best/easiest way to send data from the client to the server. I've been thinking about a kind of EDI, XML and Recordsets. The EDI and XML kan be uploaded to the server (FTP), but I don't know how to send a recordset to the server.
>(The best solution so far is creating a recordset on the client, save as XML, send to server, read into a recordset en process) I've got the feeling it can be done easier. Any thoughts or reading tips are welcome.

You can't really send an object to the server since an object is internally only a reference to a structure in memory. When you see this emulated, the object is really being broken down into a text stream and reconstructed on the other side.

IMHO, XML is the way to go here. If you can easily translate a recordset to XML, and easily transform that XML back into a recordset, what's the problem?

Your mode of transfer (FTP, HTTP Post, SMTP) is really a separate question- but one lends itself better to client-server transaction, and that's HTTP requests- loading your document into a POST variable and then calling a server method through its URL is the way to go, because you can get an immediate response with your success status.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform