创建不重启的asp.net计时器 [英] create asp.net timer that don't restart

查看:51
本文介绍了创建不重启的asp.net计时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好............

我有一个项目(在线考试),我需要帮助来创建在学生刷新考试页面时不重启的计时器或断开互联网并重新连接时。

我会感谢任何答案。

Hi all ............
I have a project (online exam)and I need help to create timer that doesn't restart when student refresh exam page or when disconnecting the internet and reconnecting again.
I will be thankful for any answer.

推荐答案

最简单的是有一个开始时间在测试开始时数据库中的字段中。然后,当他们刷新剩下的东西时,可以从开始时间计算出来。我假设'答案'和问题存储在某个db表中。
The simplest is to have a start time in a field in the database for when the test starts. then when they refresh what is left can be calculated from start time. I am assuming that the 'answers' and questions are being stored in a db table somewhere.


这篇关于创建不重启的asp.net计时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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