I'm trying to write a gadget for a site that requires user
authentication and uses cookies. As a result, I need to read the "set-
cookie" headers sent by the website after a POST request with the
login details. However, it appears only the last "set-cookie" sent
(and therefore only one cookie) is accessible. Here's an example
response function:
function response(obj) {
alert(obj.headers["set-cookie"]);
}
I'm assuming this is because the API replaces "set-cookie" for each
cookie header sent. Multiple cookies are sent by the service I'm
trying to access, and I can only read the last cookie, thus I am
unable to hold any sort of user session. Is there a solution to this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" 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-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---