Sha256: 6b0fe71b2667a987c2eaf0624c159bcdef8d237f77df1d3ccfd5c27e8ec682f0
Contents?: true
Size: 443 Bytes
Versions: 7
Compression:
Stored size: 443 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 : 30.minutes )
Version data entries
7 entries across 7 versions & 1 rubygems