Sha256: b9c16b32356ed0bdbadf5139c03dc3f844ec4061d15aed390bb3909f1af4facf
Contents?: true
Size: 440 Bytes
Versions: 55
Compression:
Stored size: 440 Bytes
Contents
# This extends session expiration longer than Rails defaults, to keep # carts around longer. Many retailers have requested this. # NOTE: this must be set in seconds env_expire_after = ENV['WORKAREA_SESSION_STORE_EXPIRE_AFTER'] Rails.application.config.session_store( :cookie_store, key: "_#{Rails.application.class.name.deconstantize.underscore}_session", expire_after: env_expire_after.present? ? env_expire_after.to_i : 2.weeks )
Version data entries
55 entries across 55 versions & 1 rubygems