如何处理在线测试应用程序的服务器问题 [英] How to handle server issues for online test application

查看:93
本文介绍了如何处理在线测试应用程序的服务器问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在申请在线测试.我不知道如何处理服务器问题.例如,如果某个用户在进行测试,并且服务器之间断开连接,则如何提交测试.如果系统出现问题,谁也不想再次进行测试.因此,如果有人有任何解决方案或方法可以解决问题.

正在寻找答复.

Hello there,

I am making an application for online test.I didnt knew how to handle server issues. For example, If some user is giving test and in between server disconnects then how test gets submitted. No one wants to give test again if there is problem with the system. So if anyone have any solution or and approach which can resolves the issue.

Looking for reply soon.

推荐答案

有很多方法可以处理这种情况.
1.当用户登录进行检查并使用userid存储该问题集时,您始终可以为该用户生成一个问题集.稍后,当用户回答问题时,仅针对每个问题更新答案以及数据库中剩余的时间.
因此,如果出现网络问题,您将能够维护用户会话和数据.

2.如果您的考试是在任何授权的培训中心(都由您控制)中进行的,那么您可以很好地设计应用程序,该应用程序可以使用客户端cookie来保留用户会话.
There are many ways to deal with such situations.
1. You can always generate a set of question for that user when user login for examination and store that set of question with userid. Later when user answers the question just for every question update answer and time remaining to database.
So in case of network issues you will able to maintain user session and data.

2. If your examination is conducted inside any authorized training centers (which are under your control) then you can very well design application which can make use of client side cookies to preserve user session.


这篇关于如何处理在线测试应用程序的服务器问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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