[PATCH] RM#3508 - Ensure that all sessions expire, that DB session objects are cleaned up correctly and that auto-refresh in the UI doesn't keep renewing sessions.

Matt Wagner matt.wagner at redhat.com
Fri Jul 27 14:32:53 UTC 2012


On Wed, Jul 25, 2012 at 01:19:19PM +0200, Tomáš Hrčka wrote:
> ---
>  src/config/initializers/session_store.rb |    2 +-
>  src/public/javascripts/application.js    |    7 +++++-
>  src/spec/requests/sessions_spec.rb       |   37 ++++++++++++++++++++++++++++++
>  3 files changed, 44 insertions(+), 2 deletions(-)
>  create mode 100644 src/spec/requests/sessions_spec.rb
> 

We talked about this a bit on IRC yesterday, but I got side-tracked and
forgot to reply here.

Unfortunately, Backbone refreshes are keeping the session active. If you
sit on a page with Backbone polling, and walk away for 16+ minutes,
you'll still have an active session when you come back. We need to find
a way to not count Backbone sessions.

There was some discussion on IRC yesterday about what the actual
requirement was for this task. More on that shortly...

-- Matt



More information about the aeolus-devel mailing list