English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 123
TOPIC: can't share the session on subdomain.
#3123
can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
it seems not sharing the session in subdomain , i need a second login for each template genereted site .
the user ara shared in template config.
host: hostgator
joomla : 1.5.14
jms: 1.2 rc5

any idea where to start?

...thank's in advance!
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3124
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 54
First of all, update your JMS because several bugs fix several things including the single sign-in.
See procedure in the FAQ to get the latest version.
www.jms2win.com/faq#sec-122

When you go a website that you think it should share the login, then go in the Joomla / Help / System info / PHP Info and check if you have a value in your "session.cookie_domain".
It should contain the "common" domain name with a leading '.' dot.

If you have "no value", this probably mean that you don't have any "common" domain name.

I remember that Single Sign-In only works when using slaves on the same domain.

Example OK:
slave1.domain.com
slave2.domain.com
www.domain.com/slave3
=> session.cookie_domain = ".domain.com"

Example NOT OK (different domain name).
www.slave1.com
www.slave2.com
=> session.cookie_domain = "no value"


If you have a value and it does not works, you also have to check if the apache "suhosin" module is present.
In this case, this extension forbids to share the session between subdomains.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/30 17:43 By edwin2win.
The administrator has disabled public write access.
 
#3125
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
thank's for the fast replly
there in no vale in :

session.cookie_domain no value no value

how can i set it properly ?
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3126
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 54
As I have told you, start to update with JMS 1.2.19 (latest version).
You mentioned that you are still using a Release Candidate RC5
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3127
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
jms updated

try to set the php .ini?
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3128
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
work!
after setting
session.cookie_domain= .mydomain.com
...but ..if i do logout ...only the site where ido it logout..the other still logged .
maybe it is is normal ?
Edwin , realy thank's
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla