C
Catherine Jones
I have a problem in VB6.0
problem is
i am using the web browser in visual basic which is
used for my web services so when i type a site name in
the url and the request is generated like this
request for the site
------------------
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/x-shockwave-flash,
application/vnd.ms-powerpoint,
application/vnd.ms-excel, application/msword, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.0; FunWebProducts)
Host: www.delta.com
Connection: Keep-Alive
Cookie: CustomerID=customerid;
WebLogicSession=P9VYkJHm1H4XU1s3Q7H7i4efQAm1u4YtyJyLbVbm29BedtE2hwkY
Response is
-----------
HTTP/1.1 302 Moved Temporarily
Server: Netscape-Enterprise/4.1
Date: Tue, 09 Dec 2003 10:37:25 GMT
Location: http://www.delta.com/index.jsp
Content-Length: 215
Connection: close
this request and response is generated in a third
party tool but i want to capture the same in visual
basic,so in the response i want to capture the code
302 which states that the site is moved temporarily.
can anyone help me how to caputure the code 302 in
visual basic
problem is
i am using the web browser in visual basic which is
used for my web services so when i type a site name in
the url and the request is generated like this
request for the site
------------------
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/x-shockwave-flash,
application/vnd.ms-powerpoint,
application/vnd.ms-excel, application/msword, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows
NT 5.0; FunWebProducts)
Host: www.delta.com
Connection: Keep-Alive
Cookie: CustomerID=customerid;
WebLogicSession=P9VYkJHm1H4XU1s3Q7H7i4efQAm1u4YtyJyLbVbm29BedtE2hwkY
Response is
-----------
HTTP/1.1 302 Moved Temporarily
Server: Netscape-Enterprise/4.1
Date: Tue, 09 Dec 2003 10:37:25 GMT
Location: http://www.delta.com/index.jsp
Content-Length: 215
Connection: close
this request and response is generated in a third
party tool but i want to capture the same in visual
basic,so in the response i want to capture the code
302 which states that the site is moved temporarily.
can anyone help me how to caputure the code 302 in
visual basic