{"id":916,"date":"2012-09-21T12:15:52","date_gmt":"2012-09-21T03:15:52","guid":{"rendered":"http:\/\/auctionpro.co.kr\/?p=916"},"modified":"2022-04-01T09:43:27","modified_gmt":"2022-04-01T00:43:27","slug":"asp%ec%97%90%ec%84%9c-%ed%8a%b9%ec%a0%95%ec%82%ac%ec%9d%b4%ed%8a%b8-%ea%b3%84%ec%86%8d-%ec%b2%b4%ed%81%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/www.auctionpro.co.kr\/?p=916","title":{"rendered":"ASP Msxml2.ServerXMLHTTP.3.0 \ub85c \ud2b9\uc815\uc0ac\uc774\ud2b8 \uacc4\uc18d \uccb4\ud06c\ud558\uae30"},"content":{"rendered":"\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:asp decode:true \" >&lt;%\nOn Error Resume Next\n \nDim HttpPath\nDim XMLhttp\n \nHttpPath=\"http:\/\/www.site\/XMLModule\"\n \nDim lResolve\nDim lConnect\nDim lSend\nDim lReceive\n \nSet XMLhttp = Server.CreateObject(\"Msxml2.ServerXMLHTTP.3.0\")\n'\ub0ae\uc740 \ubc84\uc804 Set XMLhttp = Server.CreateObject(\"Msxml2.XMLHTTP\")\n \nlResolve = 8 * 1000 'Timeout values are in milli-seconds\nlConnect = 8 * 1000\nlSend = 10 * 1000\nlReceive = 10 * 1000\nXMLhttp.setTimeouts lResolve, lConnect, lSend, lReceive\nXMLhttp.open \"POST\",HttpPath, False\n\n \nXMLhttp.setRequestHeader \"Content-Type\", \"application\/x-www-form-urlencoded\"\nXMLhttp.Send \"Type=1&amp;Request=request001\" \n \n'On Error Resume Next\ub97c \ubc18\ub4dc\uc2dc \ub123\uc5b4\uc57c \ud568\n'Response.ContentType = \"text\/xml\" 'Test\n'Response.write \"&lt;br\/&gt;\" &amp; XMLhttp.responseText\n \nDim sResponse\nsResponse = XMLhttp.responseText\n \n'-----------------------------------------------------------------------\nResponse.Write HttpPath\nResponse.Write \"&lt;b&gt;xmlSvr Server Status&lt;\/b&gt;&lt;br\/&gt;\"\nResponse.Write \"-----------------------------------------\"\nResponse.Write \"&lt;b&gt;Status (Value must be 200): &lt;\/b&gt;\" &amp; XMLhttp.status \nResponse.Write \"&lt;b&gt;ReadyState (Value must be 4): &lt;\/b&gt;\" &amp; XMLhttp.ReadyState\nResponse.Write \"&lt;b&gt;StatusText (Value must be OK): &lt;\/b&gt;\" &amp; XMLhttp.StatusText\nResponse.Write \"&lt;b&gt;AllResponseHeaders:&lt;\/b&gt;&lt;br\/&gt;\" &amp; XMLhttp.GetAllResponseHeaders\n'-----------------------------------------------------------------------\n \nDim status\n \nif Instr(sResponse,\"IGNORED\") then '\ud2b9\uc815\ubb38\uad6c \uc788\ub294\uc9c0 \ud30c\uc545\nstatus = \"OK\"\nend if\n \nresponse.write \"&lt;br\/&gt;status:\" &amp; sResponse\n \nif status=\"OK\" then\nresponse.write \"&lt;br\/&gt;&lt;b&gt;Site is OK&lt;\/b&gt;\"\nend if\n \nSet XMLhttp = Nothing\n%&gt;\n \n\ube44\uace0 : \uc0ac\uc774\ud2b8 \uacc4\uc18d \uccb4\ud06c \ud558\uae30 \uc704\ud574 \uc790\ubc14\uc2a4\ud06c\ub9bd\ud2b8 \uc0bd\uc785\n&lt;script&gt;\nfunction re(){\nlocation.reload();\n}\ntid=setTimeout(re,600000); \/\/10\ubd84\ub9c8\ub2e4 \uccb4\ud06c\n&lt;\/script&gt;<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><\/div>","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-916","post","type-post","status-publish","format-standard","hentry","category-asp"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=916"}],"version-history":[{"count":0,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/916\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.auctionpro.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}