PDA

View Full Version : Posting to an ASP page on a separate server


jamesd
05-14-2003, 02:38 PM
I have an asp application which occasionally sends mail but I want to have an asp page on a second server on the network perform the send.

So basically the setup is...

Server 1 - main web server, accessable via the web, running the main ASP application.

Server 2 - not accessable directly via the web but accessable to server 1 via the LAN and able to access the web.

So the two questions are...

1) Is it possible for an ASP page to post data to an asp page on another server on the LAN?

2) It would be nice if the browser wasn't directed to the page on the second server so, is it possible to perform a "silent post" whereby the data is posted to the asp page on server 2 without the user actually viewing the server 2 page?

As always, many thanks for any advice. :confused:

James.

jamesd
05-14-2003, 10:34 PM
I guess no quick answers to this one then! :D

I've come up with a workaround which is basically to create a mail queue table in SQL and add a record to that containing the details of the mail. An ASP page on Server 2 then monitors the table and sends a mail whenever a record appears.
So it's no longer a problem however I'd still be very interested in any advice on the original post.

Thanks,
James.