Get response/request Header information


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Get response/request Header information

  1. #1
    Join Date
    Feb 2007
    Posts
    7

    Get response/request Header information

    hi

    is there some VB code that can record the request/response header information? i am only intersted in the GET part of it if that makes it easier.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Unless the app whose messages you want to record is using your VB code to communicate, I don't know of any way to record the header information. There are, however, numerous third-party tools that allow you to monitor and/or log network traffic.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Feb 2007
    Posts
    7
    right, i am aware of the thrid party tools. i use one called softx logger. it creates a log that contains information like this:

    -------------------------
    GET /articles/ HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
    Accept-Language: en-us
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
    Host: www.awardspace.com
    Connection: Keep-Alive
    HTTP/1.0 302
    Date: Fri, 09 Mar 2007 01:33:55 GMT
    Server: Apache
    Location: http://www.awardspace.com/about_us.html
    Connection: close
    Content-Type: text/html


    GET /about_us.html HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
    Accept-Language: en-us
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
    Host: www.awardspace.com
    Connection: Keep-Alive
    --------------------------------

    there is also another IE plug in called DebugBar V4.02 which gets the same info. so my feeling is there is probably a way to code VB to get the same information.

    third party stuff requires the client to download and install something. not a good alternative. there has to be a way for VB to collect this information.

Similar Threads

  1. Replies: 4
    Last Post: 01-11-2007, 08:19 AM
  2. Hiding information from hex editors.
    By imz in forum VB Classic
    Replies: 0
    Last Post: 03-17-2006, 03:36 PM
  3. Using VB to Read Tape Header information
    By Edwin Gomez in forum Talk to the Editors
    Replies: 0
    Last Post: 04-26-2002, 01:08 PM
  4. Remove exchange from a site
    By andriano in forum Enterprise
    Replies: 1
    Last Post: 10-02-2000, 04:54 PM
  5. Replies: 1
    Last Post: 05-19-2000, 01:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center