Jump to content



Member Since 12 Jul 2016
Offline Last Active Mar 22 2017 12:04 AM

Topics I've Started

Behavior Of Session Parameters

14 March 2017 - 12:16 AM



Could someone explain exactly what is behavior is controlled by the config parameters COOKIE_ALIVE_TIME, SESSION_ALIVE_TIME, SESSIONS_STORAGE_ALIVE_TIME and SESSION_ONLINE? The one-line description I see in the config file is not clear enough to me. 


The behavior I'm trying to achieve in Customer area is:

1. Once the customer signs in and selects 'Remember Me', the browser should recognize the customer for, effectively forever. 

2. If the customer does not select 'Remember Me', the browser should stop recognizing the customer in 2 hours. 

3. Regardless of the behavior in #1 and #2, the customer should be prompted to enter their password and re-authorize on Checkout and Edit Profile pages after every 15 minutes. 


So I'm looking for three modes:

1. Unrecognized - No cookie/session. Anonymous customer

2. Recognized - A cookie and/or session tells me who the customer is

3. Authorized - For higher security operations, only valid for short periods of time


Is it possible to achieve this behavior using the above config values?




Cloudfront For Prod And Test Cs-Cart Versions

12 July 2016 - 07:02 AM

Is there a configuration setting for Cloudfront CDN that allows choosing the S3 bucket name? I have a production version of my site and a development version of the site. I want to turn on Cloudfront CDN for the site, but want to keep development and production data sources separate. Is there a configuration I can use to specify the S3 bucket name that CS-Cart uses in Cloudfront? Then I could set different configurations for the dev and production sites.