掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
BASIC認証について (ID:25992)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
INDYを使用して、下記のコードを記載しました所、BASIC認証を通す事ができました。 IdHttp1.Request.Clear; IdHttp1.Request.BasicAuthentication := true; Idhttp1.HandleRedirects := true; //リダイレクト if IdHttp1.Request.Authentication = nil then begin IdHttp1.Request.Username := 'xxxxxxxx'; IdHttp1.Request.Password := 'yyyyyyyy'; end else begin idhttp1.Request.Authentication.Username := 'xxxxxxxxx'; idHttp1.Request.Authentication.Password := 'yyyyyyyyy'; end; IdHttp1.Get('http://www.xxxxx.xxxxx'); この状態で、ブラウザ(IE)を表示しても結局BASIC認証が必要となります。 プログラムでBASIC認証を行い、その後でIEを起動して認証後の画面を表示 するような事はできないでしょうか?
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.