Page 1 of 1

OPenwebmail session timeout setting change

Posted: Fri May 28, 2010 6:39 pm
by cah
By default, the longest session timeout setting is 24 hours (1440 seconds).

In order to prolong the timeout setting, there are 2 places to change:

1. /export/home/www/cgi-bin/openwebmail/openwebmail-prefs.pl

Default:

Code: Select all

                             -values=>[10,30,60,120,180,360,720,1440],
New added values:

Code: Select all

                             -values=>[10,30,60,120,180,360,720,1440,2880,4320,5760],
2. /export/home/www/cgi-bin/openwebmail/etc/lang/zh_TW.Big5

Default:

Code: Select all

%lang_timelabels =
   (
      3 => '3 分鐘',
      5 => '5 分鐘',
     10 => '10 分鐘',
     20 => '20 分鐘',
     30 => '30 分鐘',
     60 => '60 分鐘',
    120 => '2 小時',
    180 => '3 小時',
    360 => '6 小時',
    720 => '12 小時',
   1440 => '24 小時'
   );
New added values:

Code: Select all

%lang_timelabels =
   (
      3 => '3 分鐘',
      5 => '5 分鐘',
     10 => '10 分鐘',
     20 => '20 分鐘',
     30 => '30 分鐘',
     60 => '60 分鐘',
    120 => '2 小時',
    180 => '3 小時',
    360 => '6 小時',
    720 => '12 小時',
   1440 => '24 小時',
   2880 => '2 天',
   4320 => '3 天',
   5760 => '4 天'
   );