WinHTTP VBA subsequent request cannot use the previous login credentials?
I'm using WinHTTP in Access 2007 VBA to fetch some list of items requiring a cookie login credential account . First I login through https://www.example.com/login.php with this: Dim strCookie As String, strResponse As String, _ strUrl As String ' Dim xobj As Object ' Set xobj = New WinHttp.WinHttpRequest ' strUrl = "https://www.example.com/login.php" xobj.Open "POST", strUrl, False xobj.SetRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" xobj.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded" xobj.Send "username=johndoe2&password=mypassword" '