summaryrefslogtreecommitdiff
path: root/swat/esptest/showvars.esp
blob: 04bfb7b1f629c7735145c142ec0e09aab82d9ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<HTML>
<TITLE>
Samba4 ESP test
</TITLE>
<BODY>
<h1>Samba4 showvars test</h1>

<%
   function showArray(name, array) {
      write("<h3>Array: " + name + "</h3>\n");
      if (array == undefined) {
	 write("undefined<br>\n");
      } else {
            for (v in array) {
	          write(name + "[" + v + "]=" + array[v] + "<br>\n");
	    }
      }
   }

   showArray("headers", headers);
   showArray("application", application);
   showArray("cookies", cookies);
   showArray("files", files);
   showArray("request", request);
   showArray("server", server);
   showArray("session", session);
%>

<form name="Cancel" method="POST" action="index.esp"> 
    <input name="submit" type="submit" value="Cancel"><br>
</form>

</ul>
</BODY>
</HTML>