[PATCH conductor] BZ794536 Timeout session after 15 minutes of inactivity
Jan Provaznik
jprovazn at redhat.com
Tue Feb 28 15:31:29 UTC 2012
On 02/28/2012 02:06 PM, jtomasek at redhat.com wrote:
> From: Jiri Tomasek<jtomasek at redhat.com>
>
> ---
> src/config/initializers/session_store.rb | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/config/initializers/session_store.rb b/src/config/initializers/session_store.rb
> index 8ff62fa..5fd69a1 100644
> --- a/src/config/initializers/session_store.rb
> +++ b/src/config/initializers/session_store.rb
> @@ -28,4 +28,4 @@ Conductor::Application.config.session = {
> # Use the database for sessions instead of the cookie-based default,
> # which shouldn't be used to store highly confidential information
> # (create the session table with "rake db:sessions:create")
> -Conductor::Application.config.session_store :active_record_store
> +Conductor::Application.config.session_store :active_record_store, :expire_after => 15.minutes
This works partially, there is a problem w/ backbone requests we
discussed on IRC - backbone refreshes some pages every minute, so for
these pages session never expires.
Jan
More information about the aeolus-devel
mailing list