Cookies in VBScript under WSH for HTTP GET/POST, etc.?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
daluu
Newbie
Posts: 1
Joined: Thu Jul 27, 2006 9:07 pm

Cookies in VBScript under WSH for HTTP GET/POST, etc.?

Post by daluu » Thu Jul 27, 2006 9:17 pm

The code snippet at

http://www.mjtnet.com/forum/viewtopic.php?t=1655

seems like a good way to simulate a browser in VBScript and can be run under Windows Scripting Host. However, it won't be complete without cookie support to store web server session IDs for persistent HTTP connections.

Is there a way to add cookie support to Microsoft XMLHTTP? And does XMLHTTP support HTTP GET so I don't need to use InternetExplorer.Application object? Or the other way around, can InternetExplorer.Application do HTTP POSTs and have cookie support (built-in?)?[/url]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts