coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 bridging => Topic started by: EliteRides on January 04, 2007, 01:33:51 AM

Title: is bridging a multi-hosted domain possible?
Post by: EliteRides on January 04, 2007, 01:33:51 AM
I have a site, www.riceornice.com, that is run on CPG.  I also have a site, www.ricerforums.com, that is run on SMF.  RicerForums.com is a multi-hosted site under www.riceornice.com/forums.  They both display the same thing, but the domain ricerforums.com is also hosted.  I have set the bridge as follows:

URL - http://www.riceornice.com/forums
RELATIVE PATH - forums/

When I click login, after it is bridged, it takes me to SMF correctly and I login.  Everything seems ok.  However, when I go back to riceornice.com it still does not show me logged in.  Is this possible to do?  I don't see why not, but where's the hangup?

Thanks in advance.
Title: Re: is bridging a multi-hosted domain possible?
Post by: EliteRides on January 04, 2007, 01:38:41 AM
User - test
Pass - test
Title: Re: is bridging a multi-hosted domain possible?
Post by: Nibbler on January 04, 2007, 01:57:23 AM
Bridging relies on cookies. Cookies by design cannot be shared across completely different domains.
Title: Re: is bridging a multi-hosted domain possible?
Post by: EliteRides on January 04, 2007, 02:09:18 AM
They're on the same domain that I gave as an example.

www.riceornice.com
www.riceornice.com/forums

If navigating with those links, why would it not?
Title: Re: is bridging a multi-hosted domain possible?
Post by: Nibbler on January 04, 2007, 02:18:47 AM
The forum is set to ricerforums.com Accessing via riceornice.com/forums does allow you to login under the ricerforums.com domain, you just get redirected.
Title: Re: is bridging a multi-hosted domain possible?
Post by: EliteRides on January 04, 2007, 02:26:59 AM
Right, but if you go back to the gallery you do not show logged in.  That's the part I'm trying to resolve.  Any ideas why that happens?
Title: Re: is bridging a multi-hosted domain possible?
Post by: felguard on January 04, 2007, 02:34:59 AM
So your main domain is www.riceornice.com.

But you've used the add-on feature to add: www.riceforums.com (www.riceornice.com/forums)
Title: Re: is bridging a multi-hosted domain possible?
Post by: EliteRides on January 04, 2007, 04:33:02 AM
Correct.  (www.riceRforums.com)
Title: Re: is bridging a multi-hosted domain possible?
Post by: Joachim Müller on January 05, 2007, 09:12:17 AM
As Nibbler suggested: cookies don't work across domains. Enough said. If you feel that this is bad, complain at whoever wrote the RFC for cookie design. Nothing that could be done. Redirection is irrelevant here.
Title: Re: is bridging a multi-hosted domain possible?
Post by: EliteRides on January 05, 2007, 03:48:45 PM
In typical GauGau fashion, always so kind.

I did not have a problem, nor was I complaining.  I was simply trying to understand.

Thanks to the others for your assistance.