is bridging a multi-hosted domain possible? is bridging a multi-hosted domain possible?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

is bridging a multi-hosted domain possible?

Started by EliteRides, January 04, 2007, 01:33:51 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

EliteRides

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.

EliteRides


Nibbler

Bridging relies on cookies. Cookies by design cannot be shared across completely different domains.

EliteRides

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?

Nibbler

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.

EliteRides

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?

felguard

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)

EliteRides


Joachim Müller

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.

EliteRides

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.