[RCU] roundcube disconnect if simultaneous login

Thomas Bruederli thomas at roundcube.net
Sat Mar 24 19:22:57 CET 2012

Claudio Kuenzler wrote:
> Yes.... if you had told us you use twice the same domain, we'd have told
> you from the begin its absolutely normal that your cookie session gets kicked.
> For sessions/cookies always use subdomains to distinguish different webapps.

It would also work with one host but with paths (not ports!). Then you need
to configures the default cookie path used by PHP from / to /mywebmail1 and
/mywebmail2 on these two installations. This can be done in the .htaccess file.


> On Thu, Mar 22, 2012 at 3:00 PM, Nelson Serafica <ntserafica at gmail.com
> <mailto:ntserafica at gmail.com>> wrote:
>     Ok I think I got the issue. I forgot to mention how I'm accessing the url
>     RC1 - http://www.foo.com:81/webmail
>     RC2 -  http://www.foo.com:82/webmail
>     I created a virtual domain in RC1
>     http://webmail.foo.com:81
>     And was now able to login without being kick out on RC2 using the
>     virtual domain.

Right, because now the browser can manage two distinct cookies.


More information about the users mailing list