Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: site cookie help~  (Read 2399 times)

0 Members and 1 Guest are viewing this topic.

alanlai

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 53
    • Goddess
site cookie help~
« 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

Nibbler

  • Guest
Re: site cookie help~
« Reply #1 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;
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.