在线考试项目如何保持以前的页面值 [英] online exam project how to keep mainta previous page values

查看:97
本文介绍了在线考试项目如何保持以前的页面值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我正在开展一个没有数据库的在线考试项目。所有问题都写在标签控件的页面上,而所有答案都在单选按钮现在问题是当学生回答所有问题并转到下一页时。并且突然回到上一页所有单选按钮显示未经检查,他/她不知道他/她在该页面上给出了什么答案,所以任何人都可以帮我保持上一页的所有价值非常紧急

hello , i m working on a online exam project without database. all the question are written on page in label control while all answer are in radio button now problem is when a student answer all the question and go to the next page. and suddenly back to the previous page anll the radiobutton show unchecked and he/she don't know that what answer he/she given on that page , so can anybody help me to keep maintain all the value of previous page its very urgent

推荐答案

您有两种选择: Cookies [ ^ ](存储在客户端计算机上,保存以供下次访问考试时)或会话 [ ^ ](存储在服务器上,短时间后自动清除,或者客户端浏览器关闭时)
You have two options: Cookies[^] (stored on the client computer, so preserved for next time he accessed the exam) or Session[^] (Stored on the server, so cleared automatically after a short time, or when the client browser closes)

查看这篇文章你ses内部会议。



维护ASP.NET Web应用程序中的每页状态 [ ^ ]
Check this article which uses internally session.

Maintaining State Per Page in ASP.NET Web Applications[^]


这篇关于在线考试项目如何保持以前的页面值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆