请求各位高手帮助解决一个在使用Session数组的问题,急需各位帮助
我编写了一个程序,需要将sessionshuzhu.asp网页中的text内容传递到writefile.asp中,由于text组是一个数组,而且其中内容在其他网页中也需要使用,因此我想用Session数组,但是我是新手,凭借自己的理解编写,但是网页运行提示错误,我把两个文件贴在下面,请各位高手帮助我一下,并能告诉我Javasript中怎样创建Session数组和调用Session数组,谢谢,可能分数太少,请多多包涵
sessionshuzhu.asp
<%@LANGUAGE= "JAVASCRIPT " CODEPAGE= "936 "%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> 无标题文档 </title>
</head>
<script language= "javascript ">
function check()
{
form1.submit();
}
</script>
<body>
</body> <form action= "writefile.asp " method= "post " name= "form1 " id= "form1 " >
<table width= "100% " border= "1 " cellspacing= "0 " cellpadding= "1 " bordercolordark= "#FFFFFF " bordercolor= "#000000 ">
<tr>
<td height= "20 " colspan= "4 " bgcolor= "#4E5960 ">
<div align= "center " class= "STYLE2 "> <font color= "#FFFFFF " class= "STYLE2 "> <b> 检 定 校 准 测 试 记 录 录 入 </b> </font> </div> </td>
</tr>
<%
for(i=0;i <5;i++){
%>
<tr>
<td width= "25% " bgcolor= "#efefef "> <div align= "left " class= "STYLE2 ">
<input type= "text " name= "km <%=i%> " id= "km <%=i%> " value= " <%=i%> "> </td>
<%
}
%>
<tr>
<td colspan= "4 " bgcolor= "#bfbfbf ">
<div align= "center " class= "STYLE1 ">
<label>
<span class= "STYLE2 ">
<input name= "okclick " type= "button " class= "STYLE2 " id= "okclick " onClick= "check() " value= "上一页 " />
</span> </label>
<span class= "STYLE2 ">
<label>
<input name= "