On 2011-11-28 10:09, Raoul Bhatia [IPAX] wrote:
> On 2011-09-23 19:16, Raoul Bhatia [IPAX] wrote:
>> please review the following patch.
>>
>> i find this information very useful and maybe it would be wise to 
>> make
>> $_SERVER['SERVER_NAME'] the default setting.
>> (at least, we're doing it for our deployments)
>>
>>> --- main.inc.php        (revision 2771)
>>> +++ main.inc.php        (working copy)
>>> @@ -219,7 +219,7 @@
>>>   // must be greater than 'keep_alive'/60
>>>   $rcmail_config['session_lifetime'] = 10;
>>>
>>> -// session domain: .example.org
>>> +// session domain: .example.org or $_SERVER['SERVER_NAME']
>>>   $rcmail_config['session_domain'] = '';
>>>
>>>   // Backend to use for session storage. Can either be 'db' 
>>> (default) or 'memcache'
>
> anyone?
>

FWIW, the $_SERVER["SERVER_NAME"] is often not the same as the 
$_SERVER["HTTP_HOST"].

Kind regards,

Jeroen van Meeuwen

-- 
Senior Engineer, Kolab Systems AG

e: vanmeeuwen at kolabsys.com
t: +44 144 340 9500
m: +44 74 2516 3817
w: http://www.kolabsys.com

pgp: 9342 BF08
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/8f4f07cd

Reply via email to