title: Cherrypy Session Timeout questions
body: <p>Two questions regarding session timeouts in cherrypy:</p>
  
  <p>1) Is there a way to determine the remaining time in a session? This is related to trying to use <a href="http://plugins.jquery.com/epilgrim.sessionTimeoutHandler/" rel="nofollow">http://plugins.jquery.com/epilgrim.sessionTimeoutHandler/</a> </p>
  
  <p>2) Is there a way to make a call to cherrypy NOT reset the timeout, such that the plugin above could call a URL to determine the time remaining in the session without resetting said time</p>
  
  <p>Edit to help clarify: The purpose here is to be able to have a client-side process that periodically queries the server via AJAX to determine the amount of time left in a users session. This is to overcome difficulties with keeping a client side session timeout timer in-sync with the server-side timer - I'd like to simply have the client ask the server "how much time do I have left?" and act accordingly. Of course, if the act of asking resets the timeout, then this won't work, as the AJAX "time left" requests would essentially become a session keep-alive. So I need to be able to make an AJAX query to the server without resetting the session timeout timer for the user.</p>