LoadVars with authentication?

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
endquote
Posts: 35
Joined: 29 Dec 2006, 00:39
Location: Seattle, WA
Contact:

LoadVars with authentication?

Post by endquote »

I want to use LoadVars to hit a URL which uses HTTP digest authentication. I tried using the http://username:password@host syntax, but get an error like "I/O Error: Server returned HTTP response code: 401 for URL".

I'm guessing this just isn't supported?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Correct, it's not supported.
If you need to password protect the data, you could use a dynamic page that requires a login/password passed via GET/POST method.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply