Right now I am posting data to a webpage by doing the following
webRequest =
CType(System.Ne t.WebRequest.Cr eate("http://www.domain.com/login.asp"),
Net.HttpWebRequ est)
webRequest.Meth od = "POST"
webRequest.Cook ieContainer = Cookies
postData = "Submit=Go&id=a sdDSDFsdf&pid=3 4g4"
data = System.Text.Enc oding.UTF8.GetB ytes(postData)
webRequest.Cont entType = "applicatio n/x-www-form-urlencoded"
webRequest.Cont entLength = data.Length
Dim RequestStream As IO.Stream = webRequest.GetR equestStream
RequestStream.W rite(data, 0, data.Length)
RequestStream.C lose()
webResponse = CType(webReques t.GetResponse() , Net.HttpWebResp onse)
Now when I send that, the response is a new webpage (it redirected to it
after it authenticated my login account) I dont want to get the entire page
retured, I just want the URL that the new page is on, is there any way to do
this with out downloading the entire response (its large and a waste of
bandwidth since all I need is just the URL)... the URL is in the format of
http://www.domain.com/nextpage.asp?G...5G45G45WGREGDG
Any help would be nice, thanks!