Topic-icon Subdomain Issues

Active Subscriptions:

None
12 years 9 months ago #35651 by Ivan
Subdomain Issues was created by Ivan
Hi,

If I am in subdomain.maindomain.com for eg, and log in. If id go to maindomain.com/apage it would seem as if i am not logged in.

I have modified some core joomla library session file and managed so that when I would go to the maindomain page it would log in but this process takes a few seconds long.

I would like to see if there is a better solution to this so that I could use this component properly on my subdomain sites.
The topic has been locked.
Support Specialist
12 years 9 months ago #35655 by alzander
Replied by alzander on topic Subdomain Issues
When does this happen, only with Facebook logins or with users logging in through Joomla as well?

Honestly, I'm not sure what would be different about Facebook logins. If you've done the work to make Joomla logins cross domain, then that should work for Facebook as well. JFBConnect doesn't do any checks after the user is logged in, so once the user has logged in through Facebook, they should be treated just like standard Joomla users that login.

Let me know a bit more about what you've done and how you're testing and we'll gladly try to help more.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #35682 by Ivan
Replied by Ivan on topic Subdomain Issues
I sent you some more details in your inbox. Please let me know if I should undo the code changes so you can test on my site.
The topic has been locked.
Support Specialist
12 years 9 months ago #35779 by alzander
Replied by alzander on topic Subdomain Issues
Ivan,
Sorry for the delayed response on this and thanks for the PM. Joomla 2.5+ has a setting in the Global Configuration -> Site area called "Cookie Domain". I think you want to use that setting and just put in ".yourdomain.com" there. That will make it so the cookies set on your main site and your subdomain site will be set with the same domain and the subdomain will be ignored.

I *think* that's what you need, but I've honestly never played with that setting. That's definitely where I'd start though and recommend researching that value more as it is likely what you should modify instead of the session handler directly.

I hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
12 years 9 months ago #35919 by Ivan
Replied by Ivan on topic Subdomain Issues
Okay,

This resolved my issue thanks. Is there any word on when there will be a new release to JFBConnect. What is the latest version now and when will there be a new release.
The topic has been locked.
Support Specialist
12 years 9 months ago #35929 by alzander
Replied by alzander on topic Subdomain Issues
Ivan,
Glad to hear that helped.

v5.1.0 of JFBConnect was released on Monday. We'll be sending out a newsletter update and actively promoting it soon. This release has a ton of new features and so far has been going very smoothly with only a few minor bugs that will be fixed with a v5.1.1 release on Friday.

Thanks,
Alex
The topic has been locked.