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

Rails.application.config.session_store :cookie_store, key: '_code_ocean_session'
```

Change session validity to 1 month
user
```ruby
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store :cookie_store, key: '_code_ocean_session', expire_after: 1.month
```
assistant