site cookie help~ site cookie help~
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

site cookie help~

Started by alanlai, May 22, 2009, 08:45:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alanlai

how to make the site cookie only keep user login information for max 30 days? instead of forever?

thanks

Nibbler

Change bridge/coppermine.inc.php here


                // Lifetime of 'remember me' session is 2 weeks
                $rememberme_life_time = time()-(CPG_WEEK*2);
       
                // Lifetime of normal session is 1 hour
                $session_life_time = time()-CPG_HOUR;