How can I implement a session timeout for Fedena? If possible, I would like the session to expire after 10 minutes of inactivity, or just after 15 minutes regardless of activity.

I tried messing around with application_controller.rb and using "session[:expires_at]" (similar to what's found here: http://stackoverflow.com/questions/8276594/how-do-i-expire-a-session-after-one-hour-like-cookies), but I run into various errors when trying to access the Dashboard.

Any advice would be greatly appreciated!
Thanks for sharing this solution.