Menu

#6 socrates.props session.lifetime setting?

open
None
9
2005-05-06
2005-05-06
Bonnie
No

Our situation:
We have an exam that has a max timelimit of 1 hr and
45 minutes. We use a javascript timer that determines
if/when the 1:45 limit is reached and then submits the
exam regardless of whether the user is finished. If we
allow the timer to reach 1:45 and submit the form, we
receive a general Socrates error and the exam is not
submitted. However, if we complete the exam and
submit it manually before the 1:45 limit, everything
works fine.

We found a reference to a socrates.props
session.lifetime setting that we set to 120,000 (ms)/2
minutes to see if maybe the sesison was timing out
before the 1:45 minutes was reached. It seemed to have
no effect.

Is session.lifetime a valid property? Is there some other
property that we should add/change to try and get past
the 1:45 time limit?

Any help would be huge!
be

Discussion

  • Bonnie

    Bonnie - 2005-05-06
    • priority: 5 --> 9
     
  • Bonnie

    Bonnie - 2005-05-06
    • assigned_to: nobody --> wunderliebe
     
  • Gert-Jan Braas

    Gert-Jan Braas - 2005-05-11

    Logged In: YES
    user_id=677502

    The lifetime property is the correct place to set teh
    session timeout.
    I assume the setting used by you is 6300000 msec

    If that is so, the session will be removed after that time.
    whatever happens. so mayebe it should be increased.

    This current version of socrates should also write a
    starttime and an endime to the database. Is that someting
    you can use?

    Pleas mail me directly at braas@w20e.com for a more quicker
    response

     

Log in to post a comment.

MongoDB Logo MongoDB