Hi,

currently I use XMLHttpRequest to communicate with the site my script is designed for. I use it on a site that needs authentication (by using cookies). It works as expected. Now I tried the same request using GM_xmlhttpRequest because it is a bit easier to use. Esp. using onload instead of monitoring |readyState|.

But the site always returned its login page. So I found out that *no cookies are send when I use GM_xmlhttpRequest. Why?*

Of course I could read them from document.cookie and add them as headers. But why not sending them by default if already present?


Or did I miss something?


Regards,
Robert

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" 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/greasemonkey-users?hl=en.

Reply via email to