Projects/CoRapport
2009. 4. 11.
[HttpWebRequest] 닷넷 응용프로그램에서 쿠키로 인증된 세션을 사용
닷넷에서 쿠키로 인증된 세션유지하기 : http://ttjkim.egloos.com/5455842 http://mihye.tistory.com/tag/CookieContainer --> 이 링크에서 보여주는 6번째 문장 다음에 CookieContainer 객체를 HttpWebRequest 객체의 CookieContainer 필드에 넣어줘야 정상적으로 동작할 것입니다. 즉 아래 소스의 붉은색 부분을 추가해줘야 합니다... string repURL = "http://이미지주소.jpg"; string weburl = "http://게시판주소.php"; /// Call Web Request HttpWebRequest req = (HttpWebRequest)WebRequest.Create(weburl); //이부..