ASP__分页显示__如何保存前面页面的选项__在线等

来源:百度知道 编辑:UC知道 时间:2024/06/09 13:33:45
我在做考试系统,由于考题很多,要做分页显示.但是点击了下一页之后,本页面的表单值就丢失了...这个问题该如何解决呀?

点交卷按钮也只能提交本页面的表单值,如何提交所有内容?

谢谢各位了``
来个专业点的答案,谢了

cookie就别谈了,如果用session,那页面上怎么表示被选定了?用checked?

<input name="radiobutton1" type="radio" value="A" <%if session("t5-1")="A" then%>checked="checked" <%end if%>/>

<input name="radiobutton2" type="radio" value="B" <%if session("t5-1")="B" then%>checked="checked" <%end if%>/>

<input name="radiobutton3" type="radio" value="C" <%if session("t5-1")="C" then%>checked="checked" <%end if%>/>

<input name="radiobutton4" type="radio" value="D" <%if session("t5-1")="D" then%>checked="checked" <%end if%>/>

用隐藏按钮:
<inpute type=hidden value="">
将参数保存在value中,最后一起提交