```ruby
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store ActionDispatch::Session::CacheStore, :expire_after => 1.day
```

Update session to 7 day expiry
user
```ruby
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store ActionDispatch::Session::CacheStore, :expire_after => 7.day
```
assistant