r7093: - added a new Form() ejs object for producing simple forms.
[samba.git] / swat / esptest / session.esp
index 3d787012c60f676928e56eaa99e1eca40fc203dd..ec747df4429261c56fc24338c8f065866fba32d9 100644 (file)
@@ -43,18 +43,7 @@ if (request['REQUEST_METHOD'] == "POST") {
        }
 }
 
-function showArray(name, array) {
-       write("<h3>Array: " + name + "</h3>\n");
-       if (array == undefined) {
-               write("undefined<br>\n");
-               return;
-       }
-       for (v in array) {
-               write(name + "[" + v + "]=" + array[v] + "<br>\n");
-       }
-}
-
-showArray("session", session);
+simple_table(session);
 write("SessionId=" + request['SESSION_ID'] + "<br>\n");
 %>