JavaDoctor
Technical User
Hello, I'm just going around in circles with this so I'm hoping someone may know the answer here.
Scenario - my community website utilises cookies to persist login/role data to control what I can see in a web browser according to level. If I have logged in today my cookie means it will remember me for 60 days. Cool.
Problem - I want to use a Windows client (not a browser) to download the page source and parse certain data from the returned HTML source for pages I can see for my level when logged in. If I use VBScript :
Set http = CreateObject("Microsoft.XmlHttp")
http.Open "GET", " False
http.send "" etc etc...
No problem as this is recognised as a "browser" object and handles the cookie automatically
But I want to use VB.NET
Question:
How do I do the same as above and get the cookie handled automatically on requesting the page?? Surely there must be an equivalent? Alternatively how do I use the cookie information stored on my machine and send it with the httprequest so I am auth'd as per the cookie??
Help?
Many thanks
Scenario - my community website utilises cookies to persist login/role data to control what I can see in a web browser according to level. If I have logged in today my cookie means it will remember me for 60 days. Cool.
Problem - I want to use a Windows client (not a browser) to download the page source and parse certain data from the returned HTML source for pages I can see for my level when logged in. If I use VBScript :
Set http = CreateObject("Microsoft.XmlHttp")
http.Open "GET", " False
http.send "" etc etc...
No problem as this is recognised as a "browser" object and handles the cookie automatically
But I want to use VB.NET
Question:
How do I do the same as above and get the cookie handled automatically on requesting the page?? Surely there must be an equivalent? Alternatively how do I use the cookie information stored on my machine and send it with the httprequest so I am auth'd as per the cookie??
Help?
Many thanks