Share » Forums » Install & configuration » Unable to share sessions between...

Unable to share sessions between https and http

Unable to share sessions between https and http

Tuesday 10 May 2011 11:45:11 am - 4 replies

Modified on Tuesday 10 May 2011 11:46:52 am by Vincent Laemmel

Author Message

Marko Žmak

Wednesday 11 May 2011 12:01:49 am

What if you try to share the session between two siteaccesses both using only http? Is it working then?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Vincent Laemmel

Wednesday 11 May 2011 1:12:17 am

Not working using http between the two siteaccess...

André R.

Wednesday 11 May 2011 1:27:00 pm

Try debugging the session cookie, 1st you seem to use different sub domain so you need to setup php.ini setting session.cookie_domain to make sure cookie can be shared. Also disable session.cookie_secure if enabled. On 4.5 and up you can control these settings from site.ini as well.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Vincent Laemmel

Friday 13 May 2011 1:45:05 am

It works fine, thanks a lot !

 

Modifications in php.ini :

session.cookie_domain=".mydomain.com"

(session.cookie_secure=off, default value)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu