Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Including asp content from another server

Including asp content from another server

Scheduled Pinned Locked Moved Web Development
4 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nprice
    wrote on last edited by
    #1

    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

    T W 2 Replies Last reply
    0
    • N nprice

      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

      T Offline
      T Offline
      Troy Marchand
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • N nprice

        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

        W Offline
        W Offline
        wendyng
        wrote on last edited by
        #3

        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.

        N 1 Reply Last reply
        0
        • W wendyng

          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.

          N Offline
          N Offline
          nprice
          wrote on last edited by
          #4

          Thanks for that idea, I do control both for our customer sites at least so that would work.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups