Advanced search  

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]

Pages: [1]   Go Down

Author Topic: is bridging a multi-hosted domain possible?  (Read 3854 times)

0 Members and 1 Guest are viewing this topic.

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
is bridging a multi-hosted domain possible?
« 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.

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Re: is bridging a multi-hosted domain possible?
« Reply #1 on: January 04, 2007, 01:38:41 am »

User - test
Pass - test

Nibbler

  • Guest
Re: is bridging a multi-hosted domain possible?
« Reply #2 on: January 04, 2007, 01:57:23 am »

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

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Re: is bridging a multi-hosted domain possible?
« Reply #3 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?

Nibbler

  • Guest
Re: is bridging a multi-hosted domain possible?
« Reply #4 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.
Logged

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Re: is bridging a multi-hosted domain possible?
« Reply #5 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?

felguard

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
  • www.deimonhigh.com
    • DeimonHigh.com - Your Very Own Eyeshield21 Fansite
Re: is bridging a multi-hosted domain possible?
« Reply #6 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)

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Re: is bridging a multi-hosted domain possible?
« Reply #7 on: January 04, 2007, 04:33:02 am »

Correct.  (www.riceRforums.com)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: is bridging a multi-hosted domain possible?
« Reply #8 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.
Logged

EliteRides

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 56
    • EliteRides.com
Re: is bridging a multi-hosted domain possible?
« Reply #9 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.
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 15 queries.