Edit files and do changes related to session timeout
config/initializers/session_store.rb
Yourapp::Application.config.session_store :cookie_store,
:key => "_yourapp_session",
:expire_after => 10.minutes
Restart service:
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/canvas_init restart
Note - You can setup the parameter for hourly (expire_after: 2.hours)session timeout.
config/initializers/session_store.rb
Yourapp::Application.config.session_store :cookie_store,
:key => "_yourapp_session",
:expire_after => 10.minutes
Restart service:
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/canvas_init restart
Note - You can setup the parameter for hourly (expire_after: 2.hours)session timeout.
0 comments:
Post a Comment