Accessing cookie from windows service

sqlcool

New member
Joined
May 9, 2010
Messages
1
Programming Experience
Beginner
Hi there

I have a URL (1) if i hit that URL using HttpWebRequest i get another URL (2) and if i hit the URL (2) i get XML and i process that XML and insert into my database.

I can hit the URL (1) and get the URL(2) but if i hit the URL (2) i am not getting XML. i think i need to pass some cookie info for authentication but i dont know how to do that in windows service

URL (1) :- https://www.skycomp.com.au/a/d/?InitialKey=f95f35624d1c7f11250eed83bbcb3a3a&Password=DELTASOLUTIONS

i am using vb.net, the reason for windows service is it has to be scheduled automatically

Cheers
 
Back
Top