<%
function showArray(name, array) {
write("<h3>Array: " + name + "</h3>\n");
- for (v in array) {
- write(name + "[" + v + "]=" + array[v] + "<br>\n");
+ if (array == undefined) {
+ write("undefined<br>\n");
+ } else {
+ for (v in array) {
+ write(name + "[" + v + "]=" + array[v] + "<br>\n");
+ }
}
}
- showArray("form", form);
showArray("headers", headers);
showArray("application", application);
showArray("cookies", cookies);
showArray("session", session);
%>
-<form name="Cancel" method="POST" action="index.html">
+<form name="Cancel" method="POST" action="index.esp">
<input name="submit" type="submit" value="Cancel"><br>
</form>