Re: Timer for online examination

2015-11-18 Thread bobhaugen
That should have been runTimer and retryTimer

On Tuesday, November 17, 2015 at 7:43:02 AM UTC-6, bobhaugen wrote:
>
> On Tuesday, November 17, 2015 at 12:29:02 AM UTC-6, Arindam sarkar wrote:
>>
>> I am developing an online examination website. And having difficulty 
>> implementing the timer .
>> Any one have done it or something related to countdown timer in django ?
>>
>>
> Here is an example of what everybody is telling you to do in javascript:
>
> https://github.com/valnet/valuenetwork/blob/master/valuenetwork/templates/valueaccounting/work_now.html
>  
> 
>
> Look for runTime and retryTimer 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d3898c3a-1031-45ab-a8a2-d5eda89f39bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Timer for online examination

2015-11-17 Thread bobhaugen
On Tuesday, November 17, 2015 at 12:29:02 AM UTC-6, Arindam sarkar wrote:
>
> I am developing an online examination website. And having difficulty 
> implementing the timer .
> Any one have done it or something related to countdown timer in django ?
>
>
Here is an example of what everybody is telling you to do in javascript:
https://github.com/valnet/valuenetwork/blob/master/valuenetwork/templates/valueaccounting/work_now.html

Look for runTime and retryTimer 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/635f5faa-257f-4aa0-b6e0-9be706032223%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Timer for online examination

2015-11-17 Thread Robin Lery
Yes, that's true.

On Tue, Nov 17, 2015 at 4:52 PM, Jani Tiainen  wrote:

> Hello,
>
> As I said, on client side doing timer requires javascript usage. But it
> doesn't remove need to actually make sure that no-one can manipulate
> duration of exam.
>
> It's really trivial to have piece of javascript that would render plain
> javascript timer useless (like you could fill out form forever).
>
> So to make sure cheating doesnt happen - at the moment exam is created
> exam end time should be recorderd on server side as well (in database for
> example). So even someone manages to hack the js (which is really simple)
> they can't overcome limitation from the server.
>
> Like the rule #1 in web development says - "Never trust user input".
>
>
> On 17.11.2015 09:47, Robin Lery wrote:
>
> Hello,
> I think you will  have to implement jquery/javascript to make the timer.
> After the countdown finishes js can post the form automatically.
>
> Cheers.
>
> On Tue, Nov 17, 2015 at 1:11 PM, Jani Tiainen  wrote:
>
>> Hi,
>>
>> If you're looking something magical there isn't anything. Just declare
>> expiracy timestamp and compare against it in code. It should be rather
>> trivial to do with JS down counter to UI for mode concrete feedback to end
>> user.
>>
>> But keep final word of expiracy in Django code.
>>
>>
>> On 17.11.2015 08:28, Arindam sarkar wrote:
>>
>> I am developing an online examination website. And having difficulty
>> implementing the timer .
>> Any one have done it or something related to countdown timer in django ?
>>
>> --
>> Regards,
>>
>> Arindam
>>
>> Contact no. 08732822385
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to 
>> django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to 
>> django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> 
>> https://groups.google.com/d/msgid/django-users/CAGnF%2BrAAv5DYpPWVxxOGV8%2BsE_w%3DKEhYSnBVArnRTggPuWXfyQ%40mail.gmail.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to 
>> django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> 
>> https://groups.google.com/d/msgid/django-users/564ADA2D.501%40gmail.com.
>>
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> 
> https://groups.google.com/d/msgid/django-users/CA%2B4-nGp_1wr-DeObEnrV9GvtpbvcY5hj%2B7R9%2Bqy3n81F6dFHtg%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/564B0E10.50109%40gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at 

Re: Timer for online examination

2015-11-17 Thread Jani Tiainen

Hello,

As I said, on client side doing timer requires javascript usage. But it 
doesn't remove need to actually make sure that no-one can manipulate 
duration of exam.


It's really trivial to have piece of javascript that would render plain 
javascript timer useless (like you could fill out form forever).


So to make sure cheating doesnt happen - at the moment exam is created 
exam end time should be recorderd on server side as well (in database 
for example). So even someone manages to hack the js (which is really 
simple) they can't overcome limitation from the server.


Like the rule #1 in web development says - "Never trust user input".

On 17.11.2015 09:47, Robin Lery wrote:

Hello,
I think you will  have to implement jquery/javascript to make the 
timer. After the countdown finishes js can post the form automatically.


Cheers.

On Tue, Nov 17, 2015 at 1:11 PM, Jani Tiainen > wrote:


Hi,

If you're looking something magical there isn't anything. Just
declare expiracy timestamp and compare against it in code. It
should be rather trivial to do with JS down counter to UI for mode
concrete feedback to end user.

But keep final word of expiracy in Django code.


On 17.11.2015 08:28, Arindam sarkar wrote:

I am developing an online examination website. And having
difficulty implementing the timer .
Any one have done it or something related to countdown timer in
django ?

-- 
Regards,


Arindam

Contact no. 08732822385


-- 
You received this message because you are subscribed to the

Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to
django-users@googlegroups.com .
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/CAGnF%2BrAAv5DYpPWVxxOGV8%2BsE_w%3DKEhYSnBVArnRTggPuWXfyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google

Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
.
To post to this group, send email to django-users@googlegroups.com
.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/564ADA2D.501%40gmail.com

.


For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B4-nGp_1wr-DeObEnrV9GvtpbvcY5hj%2B7R9%2Bqy3n81F6dFHtg%40mail.gmail.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/564B0E10.50109%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Timer for online examination

2015-11-16 Thread Robin Lery
Hello,
I think you will  have to implement jquery/javascript to make the timer.
After the countdown finishes js can post the form automatically.

Cheers.

On Tue, Nov 17, 2015 at 1:11 PM, Jani Tiainen  wrote:

> Hi,
>
> If you're looking something magical there isn't anything. Just declare
> expiracy timestamp and compare against it in code. It should be rather
> trivial to do with JS down counter to UI for mode concrete feedback to end
> user.
>
> But keep final word of expiracy in Django code.
>
>
> On 17.11.2015 08:28, Arindam sarkar wrote:
>
> I am developing an online examination website. And having difficulty
> implementing the timer .
> Any one have done it or something related to countdown timer in django ?
>
> --
> Regards,
>
> Arindam
>
> Contact no. 08732822385
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> 
> https://groups.google.com/d/msgid/django-users/CAGnF%2BrAAv5DYpPWVxxOGV8%2BsE_w%3DKEhYSnBVArnRTggPuWXfyQ%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/564ADA2D.501%40gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B4-nGp_1wr-DeObEnrV9GvtpbvcY5hj%2B7R9%2Bqy3n81F6dFHtg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Timer for online examination

2015-11-16 Thread Jani Tiainen

Hi,

If you're looking something magical there isn't anything. Just declare 
expiracy timestamp and compare against it in code. It should be rather 
trivial to do with JS down counter to UI for mode concrete feedback to 
end user.


But keep final word of expiracy in Django code.

On 17.11.2015 08:28, Arindam sarkar wrote:
I am developing an online examination website. And having difficulty 
implementing the timer .

Any one have done it or something related to countdown timer in django ?

--
Regards,

Arindam

Contact no. 08732822385


--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGnF%2BrAAv5DYpPWVxxOGV8%2BsE_w%3DKEhYSnBVArnRTggPuWXfyQ%40mail.gmail.com 
.

For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/564ADA2D.501%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Timer for online examination

2015-11-16 Thread Arindam sarkar
I am developing an online examination website. And having difficulty
implementing the timer .
Any one have done it or something related to countdown timer in django ?

-- 
Regards,

Arindam

Contact no. 08732822385

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGnF%2BrAAv5DYpPWVxxOGV8%2BsE_w%3DKEhYSnBVArnRTggPuWXfyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.