Hi Marco,

I'm not terribly familliar with vbscript, but I did run this code and
look at the traffic using wireshark (packet capture/analysis tool - see
http://www.wireshark.org)

1) The code is doing a POST with the event content to the server
2) The server is responding with a 302 redirect to a URL with a session
token as well as a session cookie
3) XMLHTTP is following up with a GET to the Location header presented
in #2.

Step #3 is "incorrect" (depending on what RFC is read) as XMLHTTP
should follow with a POST to the Location header rather than a GET.  A
303 redirect is used to tell the client to follow with a GET, but a 302
redirect should be followed with the same http method/verb originally
used.

This is quite common, due to security concerns by some browser/library
developers and actually was integrated into some of the later http RFCs
(see RFC 2616 if you have more interest on the topic).

I did a little searching and haven't yet found a solution to this
problem for VBS, but hopefully this information will give you enough to
track it down.  Or, perhaps someone else out there knows how to handle
this with Microsoft.XMLHTTP?

Happy coding,

-Ryan


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to