Thread: Writing all HTTP requests from a website to a log file

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    1

    Writing all HTTP requests from a website to a log file

    For a project at work I need to be able to read HTTP Get requests and Header Requests from a website and parse the information in a file using C#.

    I am not familiar with HTTP requests. I assume you have to use an HttpRequest object. But I have not found anything on the web that is very helpful.

    Is there a way to "turn on" Http Requests and write them all to a file and then when im done shut it off.

    For example: Go to google. Turn on logging of all http requests. Click on a links. And write all of the HTTP requests ( gets, headers, posts ) to a file?

    Does anyone know how to do this. Or know of a HTTP Request site for dummies.

    Thank you!

  2. #2
    Registered User
    Join Date
    Jan 2004
    Posts
    37
    Do you own the website or are you just trying to get the requests that your browser is generating to the website?

    If it is the latter, you can use:

    http://www.ethereal.com/

    LT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  2. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  3. Basic text file encoder
    By Abda92 in forum C Programming
    Replies: 15
    Last Post: 05-22-2007, 01:19 PM
  4. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM