On Fri, Dec 30, 2011 at 7:40 AM, César <[email protected]> wrote:

>            Devise will expire session in the time that you put in
> 'config/initializers/devise.rb' with
>
> config.timeout_in = 5.minutes
>
> but this won't redirect your app automatically to the login page, so,
> you would need some javascript function to solve this.

Alternatively, just include a meta-refresh tag in every page pointing to
your login page, with the appropriate timeout as the refresh interval.

-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to