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

Rails.application.config.session_store(
  :cookie_store,
  key: '_nippo_session',
  secure: Rails.env.production?,
)
```

Set expiration date to session cookie
user
```ruby
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.

Rails.application.config.session_store(
  :cookie_store,
  key: '_nippo_session',
  secure: Rails.env.production?,
  expire_after: 30.days,
)
```
assistant