플래시에서 http-auth 방식 인증처리방법

플래시에서 http-auth 방식 인증처리방법

// http BASIC 인증 코드
http://www.abdulqabiz.com/blog/archives/flash_and_actionscript/http_authentica.php

var request:URLRequest = new URLRequest();

//call listsubs method of Bloglines
request.url = "";

var credentials:String = Base64.encode(email + ":" + password);
//create HTTP Auth request header
var authHeader:URLRequestHeader = new URLRequestHeader("Authorization","Basic " + credentials);
//add the header to request
request.requestHeaders.push(authHeader);
//make the request.
loader.load(request);

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by 동범이

2009/10/22 11:25 2009/10/22 11:25
, , ,
Response
No Trackback , No Comment
RSS :
http://blog.83rpm.com/rss/response/137

Trackback URL : http://blog.83rpm.com/trackback/137

« Previous : 1 : ... 23 : 24 : 25 : 26 : 27 : 28 : 29 : 30 : 31 : ... 150 : Next »