I'm not sure if this is a bug in RC. I've two mail servers running RC0.7 running in Apache 2.2. If I open two webmail and login to both RC in the same browser (Google Chrome), the other session of RC get disconnected. But if I login to different browser, I don't get disconnected. This could be probably on the cookie session. I tried to check the main.inc.php but could not found any info related to my issue.
Trying my luck if somebody on the list already experience this kind of issue.
TIA,
Nelson
Verify if you're using the same des key in the main.inc.php configs of both webmails.
// this key is used to encrypt the users imap password which is stored // in the session record (and the client cookie if remember password is enabled). // please provide a string of exactly 24 chars. $rcmail_config['des_key'] = '';
On Mon, Mar 19, 2012 at 2:25 AM, Nelson Serafica ntserafica@gmail.comwrote:
I'm not sure if this is a bug in RC. I've two mail servers running RC0.7 running in Apache 2.2. If I open two webmail and login to both RC in the same browser (Google Chrome), the other session of RC get disconnected. But if I login to different browser, I don't get disconnected. This could be probably on the cookie session. I tried to check the main.inc.php but could not found any info related to my issue.
Trying my luck if somebody on the list already experience this kind of issue.
TIA,
Nelson
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
On 19.03.2012 02:25, Nelson Serafica wrote:
I'm not sure if this is a bug in RC. I've two mail servers running RC0.7 running in Apache 2.2. If I open two webmail and login to both RC in the same browser (Google Chrome), the other session of RC get disconnected. But if I login to different browser, I don't get disconnected. This could be probably on the cookie session. I tried to check the main.inc.php but could not found any info related to my issue.
Trying my luck if somebody on the list already experience this kind of issue.
This is just how cookie sessions works.
I configured my two roundcube to have the same des_key but still the same. I'm still getting logout once I login to another RC webmail. Anymore recommendation?
On Mon, Mar 19, 2012 at 4:17 PM, Claudio Kuenzler ck@claudiokuenzler.comwrote:
Verify if you're using the same des key in the main.inc.php configs of both webmails.
// this key is used to encrypt the users imap password which is stored // in the session record (and the client cookie if remember password is enabled). // please provide a string of exactly 24 chars. $rcmail_config['des_key'] = '';
On Mon, Mar 19, 2012 at 2:25 AM, Nelson Serafica ntserafica@gmail.comwrote:
I'm not sure if this is a bug in RC. I've two mail servers running RC0.7 running in Apache 2.2. If I open two webmail and login to both RC in the same browser (Google Chrome), the other session of RC get disconnected. But if I login to different browser, I don't get disconnected. This could be probably on the cookie session. I tried to check the main.inc.php but could not found any info related to my issue.
they SHOULD NOT have the same key. if anything then this would cause that you get kicked out of the other webmail.
On Thu, Mar 22, 2012 at 10:18 AM, Nelson Serafica ntserafica@gmail.comwrote:
I configured my two roundcube to have the same des_key but still the same. I'm still getting logout once I login to another RC webmail. Anymore recommendation?
On Mon, Mar 19, 2012 at 4:17 PM, Claudio Kuenzler ck@claudiokuenzler.comwrote:
Verify if you're using the same des key in the main.inc.php configs of both webmails.
// this key is used to encrypt the users imap password which is stored // in the session record (and the client cookie if remember password is enabled). // please provide a string of exactly 24 chars. $rcmail_config['des_key'] = '';
On Mon, Mar 19, 2012 at 2:25 AM, Nelson Serafica ntserafica@gmail.comwrote:
I'm not sure if this is a bug in RC. I've two mail servers running RC0.7 running in Apache 2.2. If I open two webmail and login to both RC in the same browser (Google Chrome), the other session of RC get disconnected. But if I login to different browser, I don't get disconnected. This could be probably on the cookie session. I tried to check the main.inc.php but could not found any info related to my issue.
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
It wasn't the same before I did some modification. I revert back to my old config which is different des_key and it is still the same. I'm getting kick out on the 1st RC after logging in to the 2nd RC. I tried also to other browser (IE and Chrome) but issue still occur. I could open multiple RC on a single browser.
BTW, my 1st roundcube is running on https while the other one is running on http.
On Thu, Mar 22, 2012 at 5:35 PM, Claudio Kuenzler ck@claudiokuenzler.comwrote:
they SHOULD NOT have the same key. if anything then this would cause that you get kicked out of the other webmail.
Let me rephrase " I could not login to multiple RC in a single browser ". I'm running dovecot BTW
On Thu, Mar 22, 2012 at 5:45 PM, Nelson Serafica ntserafica@gmail.comwrote:
It wasn't the same before I did some modification. I revert back to my old config which is different des_key and it is still the same. I'm getting kick out on the 1st RC after logging in to the 2nd RC. I tried also to other browser (IE and Chrome) but issue still occur. I could open multiple RC on a single browser.
BTW, my 1st roundcube is running on https while the other one is running on http.
On Thu, Mar 22, 2012 at 5:35 PM, Claudio Kuenzler <ck@claudiokuenzler.com
wrote:
they SHOULD NOT have the same key. if anything then this would cause that you get kicked out of the other webmail.
Are the two webmails on the same server?
I've just made some tests:
Firefox 11, same window, two tabs, two different roundcube webmails each hosted on a different physical server -> works fine
On Thu, Mar 22, 2012 at 11:03 AM, Nelson Serafica ntserafica@gmail.comwrote:
Let me rephrase " I could not login to multiple RC in a single browser ". I'm running dovecot BTW
On Thu, Mar 22, 2012 at 5:45 PM, Nelson Serafica ntserafica@gmail.comwrote:
It wasn't the same before I did some modification. I revert back to my old config which is different des_key and it is still the same. I'm getting kick out on the 1st RC after logging in to the 2nd RC. I tried also to other browser (IE and Chrome) but issue still occur. I could open multiple RC on a single browser.
BTW, my 1st roundcube is running on https while the other one is running on http.
On Thu, Mar 22, 2012 at 5:35 PM, Claudio Kuenzler < ck@claudiokuenzler.com> wrote:
they SHOULD NOT have the same key. if anything then this would cause that you get kicked out of the other webmail.
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
forgot to mention the RC version: 0.7.1 Same configuration on both webmails (except DB-settings, DES key and such local/unique things)
On Thu, Mar 22, 2012 at 12:09 PM, Claudio Kuenzler ck@claudiokuenzler.comwrote:
Are the two webmails on the same server?
I've just made some tests:
Firefox 11, same window, two tabs, two different roundcube webmails each hosted on a different physical server -> works fine
On Thu, Mar 22, 2012 at 11:03 AM, Nelson Serafica ntserafica@gmail.comwrote:
Let me rephrase " I could not login to multiple RC in a single browser ". I'm running dovecot BTW
On Thu, Mar 22, 2012 at 5:45 PM, Nelson Serafica ntserafica@gmail.comwrote:
It wasn't the same before I did some modification. I revert back to my old config which is different des_key and it is still the same. I'm getting kick out on the 1st RC after logging in to the 2nd RC. I tried also to other browser (IE and Chrome) but issue still occur. I could open multiple RC on a single browser.
BTW, my 1st roundcube is running on https while the other one is running on http.
On Thu, Mar 22, 2012 at 5:35 PM, Claudio Kuenzler < ck@claudiokuenzler.com> wrote:
they SHOULD NOT have the same key. if anything then this would cause that you get kicked out of the other webmail.
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
On 22.03.2012 12:10, Claudio Kuenzler wrote:
forgot to mention the RC version: 0.7.1 Same configuration on both webmails (except DB-settings, DES key and such local/unique things)
I'll tell you again. This is how cookie-based session work. You can do nothing about it. Maybe change of cookie path would help, however there's no related configuration in Roundcube. des_key has nothing to this!!!
Alec, it's not me having this issue. I'm just trying to help Nelson. Read mail again. That's why I also asked him if the webmails are hosted on the same host (maybe same cookie path or other PHP setting which needs to be adapted)
On Thu, Mar 22, 2012 at 12:17 PM, A.L.E.C alec@alec.pl wrote:
On 22.03.2012 12:10, Claudio Kuenzler wrote:
forgot to mention the RC version: 0.7.1 Same configuration on both webmails (except DB-settings, DES key and such local/unique things)
I'll tell you again. This is how cookie-based session work. You can do nothing about it. Maybe change of cookie path would help, however there's no related configuration in Roundcube. des_key has nothing to this!!!
-- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
if that help, I can confirm: -> login with FF on two RC (same host, RC6.? and latest SVN) -> the second login (RC SVN) do not show any email, but contacts are ok -> the first one works further well -> after logout of the second -> the first one is logged out as well
maybe its not nice, but I do not need that feature for now.
Andreas
Am 2012-03-22 12:22, schrieb Claudio Kuenzler:
Alec, its not me having this issue. Im just trying to help Nelson. Read mail again. Thats why I also asked him if the webmails are hosted on the same host (maybe same cookie path or other PHP setting which needs to be adapted)
On Thu, Mar 22, 2012 at 12:17 PM, A.L.E.C <alec@alec.pl [6]> wrote:
On 22.03.2012 12:10, Claudio Kuenzler wrote:
forgot to mention the RC version: 0.7.1 Same configuration on both webmails (except DB-settings, DES key
and such
local/unique things)
Ill tell you again. This is how cookie-based session work. You can do nothing about it. Maybe change of cookie path would help, however theres no related configuration in Roundcube. des_key has nothing to this!!!
-- Aleksander A.L.E.C Machniak LAN Management System Developer [http://lms.org.pl [1]] Roundcube Webmail Developer [http://roundcube.net [2]]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl [3]
Roundcube Users mailing list users@lists.roundcube.net [4] http://lists.roundcube.net/mailman/listinfo/users [5]
Links:
[1] http://lms.org.pl [2] http://roundcube.net [3] http://alec.pl [4] mailto:users@lists.roundcube.net [5] http://lists.roundcube.net/mailman/listinfo/users [6] mailto:alec@alec.pl
Cokkies are domain related. Try set differrnts VirtualHost for each roundcube.
[]'s
Reinaldo
Sent from my iPhone
Em 22/03/2012, às 07:03, Nelson Serafica ntserafica@gmail.com escreveu:
Let me rephrase " I could not login to multiple RC in a single browser ". I'm running dovecot BTW
On Thu, Mar 22, 2012 at 5:45 PM, Nelson Serafica ntserafica@gmail.com wrote: It wasn't the same before I did some modification. I revert back to my old config which is different des_key and it is still the same. I'm getting kick out on the 1st RC after logging in to the 2nd RC. I tried also to other browser (IE and Chrome) but issue still occur. I could open multiple RC on a single browser.
BTW, my 1st roundcube is running on https while the other one is running on http.
On Thu, Mar 22, 2012 at 5:35 PM, Claudio Kuenzler ck@claudiokuenzler.com wrote: they SHOULD NOT have the same key. if anything then this would cause that you get kicked out of the other webmail.
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
I just notice this. When I open RC1, I was able to login with no issue. When I open RC2 and I tried to login, I encountered
Invalid Request! No Data was saved
When I checked RC1, it is now logout with session expired or invalid. Both RC are hosted on a different physical server.
It seems it is cookie related. Do you think it is on my apache config?
On Thu, Mar 22, 2012 at 7:09 PM, Claudio Kuenzler ck@claudiokuenzler.comwrote:
Are the two webmails on the same server?
I've just made some tests:
Firefox 11, same window, two tabs, two different roundcube webmails each hosted on a different physical server -> works fine
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
And was now able to login without being kick out on RC2 using the virtual domain.
Thanks to all who provided their inputs!
On Thu, Mar 22, 2012 at 8:38 PM, Nelson Serafica ntserafica@gmail.comwrote:
I just notice this. When I open RC1, I was able to login with no issue. When I open RC2 and I tried to login, I encountered
Invalid Request! No Data was saved
When I checked RC1, it is now logout with session expired or invalid. Both RC are hosted on a different physical server.
It seems it is cookie related. Do you think it is on my apache config?
On Thu, Mar 22, 2012 at 7:09 PM, Claudio Kuenzler ck@claudiokuenzler.comwrote:
Are the two webmails on the same server?
I've just made some tests:
Firefox 11, same window, two tabs, two different roundcube webmails each hosted on a different physical server -> works fine
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.
On Thu, Mar 22, 2012 at 3:00 PM, Nelson Serafica ntserafica@gmail.comwrote:
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
And was now able to login without being kick out on RC2 using the virtual domain.
Thanks to all who provided their inputs!
On Thu, Mar 22, 2012 at 8:38 PM, Nelson Serafica ntserafica@gmail.comwrote:
I just notice this. When I open RC1, I was able to login with no issue. When I open RC2 and I tried to login, I encountered
Invalid Request! No Data was saved
When I checked RC1, it is now logout with session expired or invalid. Both RC are hosted on a different physical server.
It seems it is cookie related. Do you think it is on my apache config?
On Thu, Mar 22, 2012 at 7:09 PM, Claudio Kuenzler <ck@claudiokuenzler.com
wrote:
Are the two webmails on the same server?
I've just made some tests:
Firefox 11, same window, two tabs, two different roundcube webmails each hosted on a different physical server -> works fine
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
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.
See http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-pa...
On Thu, Mar 22, 2012 at 3:00 PM, Nelson Serafica <ntserafica@gmail.com mailto:ntserafica@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.
~Thomas