project management, project management software, collaboration software - Copper Project  
 
FORUMS
"People actually use it, that makes my life easier!" Multimediums
 
   
Register  ::  Log in  ::  Search 

Post new topic | Reply to topic
 
 How do I set login time to a week rather than 4 hours, in Support
 
neil
 
PostPosted: Wed Mar 19, 2008 7:03 pm    Post subject: How do I set login time to a week rather than 4 hours Reply with quote
Joined: 02 Mar 2007
Posts: 30

I prefer not having to login twice a day, but once a week, and really, once a month or never (until I logout) if I can set it that way since I only use one computer that already has a login.

How do I set this? I have the licensed version on my server.
 
Ben
 
PostPosted: Wed Mar 19, 2008 11:50 pm    Post subject: Reply with quote
Joined: 13 Mar 2003
Posts: 641

Hi Neil,

You need to edit system.php and change it from the session time being a day:

Code:
define('CU_SESSION_TIMEOUT',    1440); //minutes: 24 hours


To a week:

Code:
define('CU_SESSION_TIMEOUT',    10080); //minutes: 1 Week


Or a month:

Code:
define('CU_SESSION_TIMEOUT',    43200); //minutes: 1 Month
 
neil
 
PostPosted: Fri Mar 21, 2008 10:54 pm    Post subject: Reply with quote
Joined: 02 Mar 2007
Posts: 30

Thanks.

I did just that as far as I can tell:

Code:
define('CU_SESSION_TIMEOUT',    43200);   //minutes: 1 Month


...but the system now logs me in for literally a second before automatically timing out my session.
 
Ben
 
PostPosted: Sat Mar 22, 2008 1:37 am    Post subject: Reply with quote
Joined: 13 Mar 2003
Posts: 641

Hmmm, that doesn't seem right, get in touch and we'll see what's happening.
 
neil
 
PostPosted: Mon Mar 24, 2008 6:37 pm    Post subject: Reply with quote
Joined: 02 Mar 2007
Posts: 30

It kept timing out until I changed the number of minutes to 10,800, and it worked. I've since changed it back to 43,200 where the problem started and it's working fine now. One of those things I guess.
 
neil
 
PostPosted: Mon Mar 24, 2008 6:40 pm    Post subject: Reply with quote
Joined: 02 Mar 2007
Posts: 30

I just realized when I use a comma in the number of minutes it works, and when I don't use a comma it doesn't.

Code:
define('CU_SESSION_TIMEOUT',    43,200);   //minutes: 1 Month
 
  Page 1 of 1





Tour | Sign-up | Demo & Free Trial | Buzz | FAQs | Forums | Blog | Contact
© Copyright Element Software 2001-2008 
Element Software - Creators of Copper Project Management Software