| |
neil |
Posted: Wed Mar 19, 2008 7:03 pm Post subject: How do I set login time to a week rather than 4 hours |
|
|
|
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 |
Posted: Wed Mar 19, 2008 11:50 pm Post subject: |
|
|
|
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 |
Posted: Fri Mar 21, 2008 10:54 pm Post subject: |
|
|
|
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 |
Posted: Sat Mar 22, 2008 1:37 am Post subject: |
|
|
|
| Hmmm, that doesn't seem right, get in touch and we'll see what's happening. |
|
| |
|
 |
neil |
Posted: Mon Mar 24, 2008 6:37 pm Post subject: |
|
|
|
| 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 |
Posted: Mon Mar 24, 2008 6:40 pm Post subject: |
|
|
|
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 |
|
|
| |
|
 |