title: Timer based on Express JS GET/POST events
body: <p>I am completely lost on this one.  I have a simple app that asks 6 questions to a user.  Each question and the answers available are shown on a dynamically generated view for a particular questions route.  I want to set up a time that works as follows:  When question 1 shows, the user has 5 minutes to answer all 6 questions.  The timer would clear once the POST for question 6 occurs.</p>
  
  <p>The basis for the GET/POST code is as follows (using the ejs model):</p>
  
  <pre><code>app.get('/survey/:question_number?', restrict, routes.survey);
  app.post('/survey/:question_number', function(req, res) {
    //question code
  }
  </code></pre>
  
  <p>Here is the export route code:</p>
  
  <pre><code>exports.survey = function(req, res) {
    //Question logic to pass to the render
    res.render('question', {
      info : info
    });
  }
  </code></pre>
  
  <p>For the html, it simply uses the passed "info" to generate the questions and answers and then uses a standard form method=post to send the answer selected back to the app.post.</p>
  
  <p>Can anyone recommend a good method to accomplish this that is not overly complex?  Thanks!</p>