Roundcube Community Forum

 

Session expiration issues

Started by ramgs, January 02, 2016, 04:43:28 AM

Previous topic - Next topic

alec

I think that may be a browser decission to not send the secure session cookie over an insecure channel.

SKaero

Cookies that are created as secure will never be sent when the webpage is insecure but the force_https only works when there isn't a user session. Should that be considered a bug? Its not what I'd expect when enabling "force https".

alec

https://github.com/roundcube/roundcubemail/blob/master/index.php#L74

So, looks you're right about this. We'd need to investigate why the session check is there.

alec

On the other side, If browser does not send secure cookie on the insecure channel, there should be no session when you switch to http from https, right?

SKaero

Right, you can make an unsecure cookie when in a secure page but you wont be able to read it.

ramgs

Thanks for your replies, Skaero and Alec.

I was under the impression that this was an issue local to my site, but it looks like there's more to it.

For now, I'll just stick to https when I type the address. And/Or carefully put in some rewrite rules specific to the roundcube directory in httpd.conf.

Thanks again.