0
"내 컴퓨터에서 작동합니다"라는 문제가 있습니다.같은 컴퓨터에 다시 요청하면 403
내 컴퓨터에서 다음을 실행할 때 제대로 작동하지만 통합 서버에서 403 금지 된 응답이 전달됩니다.
var cookie = page.Request.Cookies[FormsAuthentication.FormsCookieName];
var authenticationCookie = new Cookie(FormsAuthentication.FormsCookieName, cookie.Value, cookie.Path, page.Request.Url.Authority);
var request = (HttpWebRequest)WebRequest.Create(appRoot + item.Path);
request.UserAgent = page.Request.UserAgent;
request.CookieContainer = new CookieContainer();
request.CookieContainer.Add(authenticationCookie);
var response = (HttpWebResponse)request.GetResponse();
내가 누락되었을 수있는 의견이 있으십니까? 요청 주소를 가져 와서 브라우저에 붙여 넣으면 괜찮습니다. 어쩌면 헤더가 누락 된 것일까 요? 통합 서버가 자체 서명 된 인증서 (https)로 실행 중입니다.
프록시 및/또는 프록시 인증은 무엇입니까? –
@Rubens 나는 그것이라고 생각한다 ... 나는 지금 숨어있는 것처럼 보이는 기술 지원을 찾아야 할 것이다. 감사. – Dave