Ok. I've looked into it deeper and I've got a much better explanation, I think.
Actually SiteB is ASP.net front end with an SAP backend which I think is Oracle.
SiteB is where invoices must be entered and submited so that they can be approved and paid.
In SiteA (also asp.net) the user will upload a spreadsheet, where it is inserted into a sql server database. The records are then displayed (however the user needs to see them), and selected for entry in SiteB.
The idea is to open the web form in SiteB, double-click a row in a datagrid in SiteA and populate form fields in the web form in SiteB with data from the datagrid.
Then the user will need to modify the data to conform to requirments of the client in SiteB.
Next user submits form in SiteB.
The whole idea is to speed up the data entry process, which is until now, only done manually which is very time consuming since there are hundreds of invoices to input weekly.
The data can not be input diretly to the database since it needs to be massaged before submitting.
==============================
SOME OPTIONS:
1) I have duplicated the web form in siteB (using "View / Source" code to get the exact field names) and opened it in a frame in siteA to be able to populate it.
The idea is to submit the data the same way the web form in siteB does, only from my server instead of theirs. My doubt is that the submission may be blocked since it isn't coming from their server. This would be the slickest option if it could possibly work.
2) Another idea is to use the msxml object to submit the data to the other server. (This could be combined with option 1 if a form submission from one server to another is not possible.) How to implement this is unclear.
3) Another idea was to use a cross site scripting technique to populate the web form in siteB with data in the datagrid in siteA. As far as I know, IE blocks cross site scripting. But since there will only be one user using this application, I have the choice of any hardware, browser and OS that I need to use at my disposal. A different browser may allow me to do that.
I have been told that there is a way to modify the http headers in siteA so as to fool the browser into thinking that it is posting from the server where siteB lives so that it won't block it. I have no idea how that is done though.