forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: alanlai on May 22, 2009, 08:45:08 pm

Title: site cookie help~
Post by: alanlai on May 22, 2009, 08:45:08 pm
how to make the site cookie only keep user login information for max 30 days? instead of forever?

thanks
Title: Re: site cookie help~
Post by: Nibbler on May 22, 2009, 08:51:08 pm
Change bridge/coppermine.inc.php here

Code: [Select]
                // 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;