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.
#3129
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 54
Why do you say that you try setup the php.ini ?
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3130
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
hi
cause the session_domain was empty.
i've set it -> session.cookie_domain= .mydomain.com
and and it work (i've updated jms as you told)
the only thing that remain is about logout the site perform it separate ....
i don't know if it's normal...
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3132
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
hi Edwin
the login now work, only the logout still be separeted on each site...
do you have any idea about or it's normal ?
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3133
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 54
I don't understand why you set the session.cookie_domain= .mydomain.com into the PHP.ini.

JMS manage it internally when required.
If the sessions was not present, this is because you don't have same domain name.

Concerning the logout, I don't know.

First I would like that you setup the login correctly.
You don't have to put anything in the PHP.ini concerning the session.cookies_domain.
I never told you to do that.

Check also that all the patches are correctly installed.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/01 00:57 By edwin2win.
The administrator has disabled public write access.
 
#3146
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 0
hi Edwin the patches are all correctly installed.
the domain name is the same (subdomain created in the cpanel)
www.master.com
www.slave1.master.com
the only thing that (maybe)can cause the problem is that the master site is located in a subfolder:
www.master.com/start
this way login work only with "session.cookie_domain" manually setted .
i really dont'know .. you can see that i'm fresh bout programming.
almost
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3149
Re: can't share the session on subdomain. 14 Years, 10 Months ago Karma: 54
You can NOT hack the session.cookie_domain in the PHP.ini file because the value is compted automatically and depends on the context.
If the domains are identical, you should have this "cookie_domains" setup when you have a look in the "system" / PHP Info.

Otherwise, I don't know.
If you want that we have a look on your server, I have probably told you that we also have billable support that you can order at www.jms2win.com/download?page=shop.produ...35&category_id=1
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/01 15:35 By edwin2win.
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