The cookies for members of my site (including me) seem to expire every 2-3 weeks whereas I/they have to login again. Why does this do that? Anybody?
Thanks
Session cookies are set to expire after 2 weeks. I don't know why.
bridge/coppermine.inc.php
// set the session cookie
setcookie( $this->client_id, $this->session_id, time() + (CPG_WEEK*2), $CONFIG['cookie_path'] );
Set the expiry time to whatever you see fit.
Thank you. Any need to change this line in the same file:
// Lifetime of 'remember me' session is 2 weeks
$rememberme_life_time = time()-(CPG_WEEK*2);
What if I never want it to expire?
Yeah, you should change that line to match. If you don't want sessions to expire just set a high value like a few years.