473,321 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

capture browser requests and responses


I was trying to write a program that captures the requests and responses
from the browser. I tried using the tcplistener using the acceptsocket
method, but realize this was incorrect since I got an error, since I had a
web server running. I just want to see the requests and responses from IE,
much like web application stress tool, when you are recording a script.
First, I wanted to know how IE works with and a webserver running on your
machine and also how to hook into IE to see the activity.

thanks, John
Nov 17 '05 #1
1 3027
John,

There are no easy hooks into IE in order to see the request/response
patters in IE. IE uses COM monikers to download content from websites.
These monikers use the WinInet API functions to implement the functionality
for the http/https/gopher/ftp schemes. WinInet, in turn, is the
implementation of the defined RFC specs for those protocols.

While COM monikers do provide a mechanism to hook into them, what is
needed to establish those hooks is not exposed through IE.

Your best bet is to do what you are doing, sniffing the packet once it
leaves IE, and before it goes out on the network.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"John Giblin" <jw*******@hotmail.com> wrote in message
news:2i*******************@twister.nyc.rr.com...

I was trying to write a program that captures the requests and responses
from the browser. I tried using the tcplistener using the acceptsocket
method, but realize this was incorrect since I got an error, since I had a
web server running. I just want to see the requests and responses from
IE,
much like web application stress tool, when you are recording a script.
First, I wanted to know how IE works with and a webserver running on your
machine and also how to hook into IE to see the activity.

thanks, John

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Larry Woods | last post by:
I have a server page that has served an HTML page with a "Cancel" button on it, BUT this server page has not completed and is running a 15-30 second process before it completes. I want the browser...
0
by: Mark | last post by:
Hi all, i am trying to create a small app which can record the requests from and responses to my browser. To achieve this i am using two tcpclients and a listener. The first 1 is listening to...
3
by: Sergey Surkov | last post by:
Hello Does anybody know how to make FireFox to cache data that comes via XMLHttpRequest? Here is the issue I deal with: - On the web server (apache2) I have a static xml file test.xml - When I...
1
by: mrbog | last post by:
Hello, I'm making HTTP requests with System.Net.HTTPWebRequest and I want to capture the entire header of the request as a string. I'm able to do this with responses but now the requests. Am I...
1
by: bmmodi | last post by:
Hello, We have three webservers that host the same web application (written in VB.NET running on .NET Framework 1.0 SP2). We receive the following error (aspnet_wp.exe (PID: 1864) was recycled...
9
by: sinbuzz | last post by:
People, Most browsers allow me to suppress viewing of images when I browse a URL. Can this behavior be duplicated by the server? I'd like for my server to detect if a user has image viewing...
6
by: ernesto.tejeda | last post by:
Hello, I have a couple of questions regarding the loading of .js files for the browser and would like anyone to point me wher to find the answer (or if you know the answer and tell me will do just...
6
by: xkenneth | last post by:
Hi, I'm working on developing an XML-RPC interface from LabVIEW to python and I would really like to see how python is forming it's XML- RPC requests/responses. Is there any way I can force...
0
by: arjosoer | last post by:
I'm writing a small utility to capture all requests made to a web server from a windows application using the axWebBrowser control. So far I have the following working, as the user traverse the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.