<form action="4-11.asp" method="post">
姓名:<input type="text" name="name"><br>
性别:<select name="sex">
<option>男</option>
<option>女</option>
</select><br>
<input type="submit" name="submit" value="提交">
<input type="reset" name="submit2" value="重置">
</form>
4-11.asp
<%session(" name")=request.form("name")
session("sex")=request.form("sex")
%>
这里session对象的contents集合共有<%=session.contents.count %>
<%for i=1 to session.contents.count
response.wrte ("<br>"&session.contents(i))
next
session.abandon
%>