[RCD] proposed session_domain example update

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Fri Sep 23 19:16:22 CEST 2011


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'

cheers,
raoul
_______________________________________________
List info: http://lists.roundcube.net/dev/
BT/aba52c80



More information about the Dev mailing list