Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XMLHttpRequest with password authentication?



It WORKS! Okay, that was too simple.

This works:
var url = ""mailto:email@hidden.1.1">email@hidden.1.1/WL_ActiveTable.asp";
xmlRequest = new XMLHttpRequest();
xmlRequest.open("GET", url, true);


Strangely, but perhaps not surprisingly, this doesn't work and made my first attempt at it not work:
var url = ""mailto:email@hidden.1.1">email@hidden.1.1/WL_ActiveTable.asp";
xmlRequest = new XMLHttpRequest();
xmlRequest.open("GET", url, true, "", "mylinksyspassword");

Many thanks!

Danny

On Jun 12, 2005, at 5:30 PM, John Louch wrote:

Did you try putting the user name/password in the url?


 i.e.


http://username:email@hidden.1.1/WL_ActiveTable.asp


Thanks,

jl



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Dashboard-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: XMLHttpRequest with password authentication? (From: John Louch <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.