Including asp content from another server
-
Does anyone know of a way to run an .asp page on another server and have it returned to your own .asp page on your server for inclusion. ie I own both pages, one would be on a shared server (news) and I'd like to pull news content into another page (NOT a frameset, I know you can do it with a frameset) as part of a table layout. Is there anyway to do this (I know .NET and webs services will help in the future but I need a solution now) using current asp techniques. Many thanks
-
Does anyone know of a way to run an .asp page on another server and have it returned to your own .asp page on your server for inclusion. ie I own both pages, one would be on a shared server (news) and I'd like to pull news content into another page (NOT a frameset, I know you can do it with a frameset) as part of a table layout. Is there anyway to do this (I know .NET and webs services will help in the future but I need a solution now) using current asp techniques. Many thanks
The best way to get content from another site would be to use an HTTP control. I wouldn't suggest WinInet however since it has serious threading problems. Controls such as Ultimate TCP/IP from Dundas Softare (www.dundas.com) will work just fine. Using ASP you can retrieve the extra content from the other HTTP server and paste it in however you see fit.
-
Does anyone know of a way to run an .asp page on another server and have it returned to your own .asp page on your server for inclusion. ie I own both pages, one would be on a shared server (news) and I'd like to pull news content into another page (NOT a frameset, I know you can do it with a frameset) as part of a table layout. Is there anyway to do this (I know .NET and webs services will help in the future but I need a solution now) using current asp techniques. Many thanks
-
If you control both servers, you can also set up a virtual directory on your second server that points to the appropriate directory on your news server. Then you can treat the news page as if it were on the same web and use it in a #include statement.