CONCRETE5 cookie keeps changing

Permalink
We have an app that's deployed in AWS. I observed that the cookie 'CONCRETE5' keeps changing values that's why we keep getting logged out even right after logging in. Has anyone experienced the same?

kenchi09
 
JohntheFish replied on at Permalink Reply
JohntheFish
If the site is running running multiple instances spread across the AWS cloud, each instance will create its own session and hence not know about previous sessions.
kenchi09 replied on at Permalink Reply
kenchi09
Sorry if it took a year before I posted this. But what we did was to add this in application/config/concrete.php

'security' => array(
        'trusted_proxies' => array(
            'ips' => array($_SERVER['REMOTE_ADDR'])
        ),
),