Cyberactiva - webmaster tutorials, programming and videogames tricks

webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu
  

problems in Capturing HTTP Request and displaying back the response to user

problems in Capturing HTTP Request and displaying back the response to user
Hi,
I am making an application in VB.NET that will capture HTTP messages
from the client's broswer, analyze them and then the requested page
will be displayed in the client's browser. I changed the proxy settings
of Internet Explorer to some port (8080) and then listen to that port
in my application using HTTPListener class. by doing so I captured the
HTTP mesages using HTTPListenerRequest object and i can analyze it. But
i am facing problems in sending the response back to the internet
explorer. I used WebRequest and WebResposne class and through
streamreaders i can send only text data to the web browser hardly. most
of the time it gives errors and also it cannot display image files on
the requested web page. How to solve thsi problem.

I will be very thankufll for your cooperation.

Best Regards
Sadiq


Register for freeMembers Area
Web MarketingLast Web Marketing
Web MarketingLast Programming Tips
Web MarketingLast News


Web Marketing Links and links exchange .