OK, made a little progress. This code:
Dim x As New MSXML2.XMLHTTP
Open "C:\output.txt" for Output as #1
x.OPEN "POST", "https://website/login_process_ext.cfm?logon_check=0", False
x.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
x.send "user_id=user&password=password"
Print #1, x.getAllResponseHeaders
Print #1, "---------------------------------------"
Print #1, x.responseText
Set x = Nothing
Close #1
produces this output:
Server: Netscape-Enterprise/3.6 SP1
Date: Mon, 06 Oct 2003 19:24:46 GMT
Content-type: text/html
Page-completion-status: Normal
Page-completion-status: Normal
Set-cookie: SI=TSVIKCBVXToiTzFKLSYhTU5WLksjR1gyRjkkSUdMO1JdNigmUSRQTiJDOEE9QzhCPUI4PSJCUF43LiA%2BRQozVisrV0cuUzE%2BNFJKWThaJyNEU0BOWFcsNCAgIAo%3D; path=/; domain=domain.com; secure
Set-cookie: SNA=WUVT; path=/; domain=domain.com; secure
Set-cookie: SU=JzxKTVhZSkY8VkAgIAo%3D; path=/; domain=domain.com; secure
------------------------------------------------
<html>
<head>
<title></title>
<meta http-equiv="REFRESH" content="0; url=menu.cfm?RequestTimeout=1000">
</head>
<body>
</body>
</html>
===================================
If I login normally, menu.cfm is the next page I'm taken to where I can navigate through the structure. I guess I need to set some cookies here, but I'm not sure how. getAllResponseHeaders doesn't seem to know about CFID and CFTOKEN, and setting SI, SNA, and SU with setRequestHeader doesn't produce the desired result.