기본 콘텐츠로 건너뛰기

라벨이 Cookie인 게시물 표시

[Classic ASP] Show all Get/POST Requests, Cookies, Sessions.. 모든 리퀘스트, 쿠키, 세션값 표시

For each LWRF in Request.Form     Response.write LWRF & ": " & Request.Form(LWRF) & "<br>" Next 응용을 하면..  Get 방식으로 넘어온 것을 보려면 For each LWRQ in Request.QueryString     Response.write LWRQ & ": " & Request(LWRQ) & "<br>" Next 현재 페이지의 쿠키값들을 보려면 For each LWRC in Request. Cookie s     Response.write LWRC & ": " & Request. Cookie s(LWRC) & "<br>" Next 현재 페이지의 세션값들을 보려면 For each lwSC in Session.Contents     Response.write lwSC & ": " & Session(lwSC) & "<br>" Next 이전 폼에서 받은 값들을 그대로 다음 페이지로 넘기려고 할때는 <form>태그 안에 다음처럼 넣어주면 됩니다. <form> <% For each LWRF in Request.Form     Response.write "<input type=""hidden"" name=""" & LWRF & """ values=""" & Request.Form(LWRF) & """>" & vbCRLF Next %> </form> Free Infrastr

[PHP] show all HTTP Headers, COOKIE, POST Parameters

<table width="100%"> <tr> <th colspan="2"> All Headers</th> </tr> <?php foreach (getallheaders() as $key=>$value) {         echo "<tr>";         echo "<td>";         echo $key;         echo "</td>";         echo "<td style='word-break:break-all;'>";         echo $value;         echo "</td>";         echo "</tr>";     } ?> </table> <table width="100%"> <tr> <th colspan="2"> All Form Vairables</th> </tr> <?php     foreach ($_POST as $key => $value) {         echo "<tr>";         echo "<td>";         echo $key;         echo "</td>";         echo "<td style='word-break:break-all;'>";         echo $value;         echo "</td>";         echo &quo