summaryrefslogtreecommitdiff
path: root/swat2/esptest/showvars.esp
diff options
context:
space:
mode:
Diffstat (limited to 'swat2/esptest/showvars.esp')
-rw-r--r--swat2/esptest/showvars.esp24
1 files changed, 24 insertions, 0 deletions
diff --git a/swat2/esptest/showvars.esp b/swat2/esptest/showvars.esp
new file mode 100644
index 00000000000..dc55b1e58bb
--- /dev/null
+++ b/swat2/esptest/showvars.esp
@@ -0,0 +1,24 @@
+<% page_header("columns", "ESP standard variables test", "esptest"); %>
+
+<h1>Samba4 showvars test</h1>
+
+<%
+ function showArray(name, array) {
+ write("<h3>Array: " + name + "</h3>\n");
+ if (array == undefined) {
+ write("undefined<br>\n");
+ } else {
+ simple_table(array);
+ }
+ }
+
+ showArray("headers", headers);
+ showArray("application", application);
+ showArray("cookies", cookies);
+ showArray("files", files);
+ showArray("request", request);
+ showArray("server", server);
+ showArray("session", session);
+%>
+
+<% page_footer(); %>