Forum Moderators: open

Message Too Old, No Replies

Data Mining & Screen Scraping on 2nd Party applications

         

placbill

12:46 am on Oct 15, 2004 (gmt 0)

10+ Year Member



Attention: c# and .net guru's,

Question: Once an applications is sent to a server through a 2nd party request. Can you screen scrape the data back to my server once the information is reached the clients desktop?

In other words. I have a page that is created and served from my server but the request is from another server. What the client needs to do is echo the screen back to thier server after it reaches the cleints machine?

Could this be achieved with a mouseover event that triggers a thread to echo the screen back to my server into string variable for parsing using regex. If it is possible can anybody direct me to a thread in which this is done.

I understand the use of the following:
WebRequest objRequest= System.Net.HttpWebRequest.Create(url);
StreamReader sr = new StreamReader( objRequest.GetResponse().GetResponseStream() );
string result = sr.ReadToEnd();
sr.Close();
return result;

unfortunatly this line will not work because the event is finished before it reaches the client and does not have the 2nd party data attached to it.

thanks,
placbill

raywood

2:00 pm on Oct 18, 2004 (gmt 0)

10+ Year Member



Kind of confusing, placbill. It seems like a client makes a request to some server.

Then that server makes a request to your server.

Your server sends a page back to the requesting server.

The requesting server then sends the page to the client.

Now somebody wants to know if the client got the page, either you or the other server?

Is that right? Who wants the confirmation? I think you can probably accomplish the goal, but I don't see how you can do it with an http request to a client. You could make the returned page be a form, and have the user post it back to wherever the confirmation is needed.
Give us a simplified scenario. You'll probably get lots of suggestions.