Click to See Complete Forum and Search --> : Retrieve source code from IFrame or popup with external URL


bonga
04-29-2008, 11:12 AM
Hi,
I'm building a website where the user is supposed to surf to an external site (map search site), search a location and when they´re happy with the result, the source code of this page (or URL, in the worst case) must be passed back to my website and processed. Any ideas on how to do this? IFrames springs to mind, letting the user surf in an embedded IFrame and then somehow get the source of the IFrame back to my application.

A1ien51
04-30-2008, 09:39 AM
You posted this somewhere else and the answer is the same. You can not get the source from an iframe. Since you are using .NET, you can fetch the page from the server and read it that way. Example can be seen here: http://www.csharp-station.com/HowTo/HttpWebFetch.aspx

Eric

kincki
07-12-2008, 04:27 AM
Hi all,

I have a web site (A) that allows users to connect to another web site (B) in an IFrame or a Frame, and I try to fetch the details related to the user on site B. I tried both IFrame and Frames but couldn't find a solution.
I assumed JavaScript would enable this solution, but no lock.

The hard part is that the user enters ID and some captcha info on page B to retrieve personal info, then, I try to retrieve user related information from updated page.

Any suggestions would be greatly appreciated.
.k