04bfb7b1f629c7735145c142ec0e09aab82d9ee9
[samba.git] / swat / esptest / showvars.esp
1 <HTML>
2 <TITLE>
3 Samba4 ESP test
4 </TITLE>
5 <BODY>
6 <h1>Samba4 showvars test</h1>
7
8 <%
9    function showArray(name, array) {
10       write("<h3>Array: " + name + "</h3>\n");
11       if (array == undefined) {
12          write("undefined<br>\n");
13       } else {
14             for (v in array) {
15                   write(name + "[" + v + "]=" + array[v] + "<br>\n");
16             }
17       }
18    }
19
20    showArray("headers", headers);
21    showArray("application", application);
22    showArray("cookies", cookies);
23    showArray("files", files);
24    showArray("request", request);
25    showArray("server", server);
26    showArray("session", session);
27 %>
28
29 <form name="Cancel" method="POST" action="index.esp"> 
30     <input name="submit" type="submit" value="Cancel"><br>
31 </form>
32
33 </ul>
34 </BODY>
35 </HTML>