I\'m trying to submit some post data form using vbscript. The site I\'m posting it to contains some java, and having poked around in the headers, I notice it\'s sending a co
You could get via http.getResponseHeader("Set-Cookie")
or parsing http.getAllResponseHeaders()
. Then, you should add cookie values to request header via http.setRequestHeaders "Cookie", "JSESSIONID=XXXXXXXXXXXXXXXXXXXXX; Path=/Page"
on next requests.
So, there is another option (if i'm not wrong), using CreateObject("WinHttp.WinHttpRequest.5.1")
.
It's capable to remember the cookies had previously to use on next requests as long as you use the same instance.