Announcement

Collapse
No announcement yet.

multiple domains and keeping cookies...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • multiple domains and keeping cookies...

    I thought I asked this question before, but it is no where to be found.
    So my question is,
    I basically have 4 domains
    fouthirdsphoto.com
    www.fourthirdsphoto.com
    43photo.com
    & www.43photo.com

    However when you log into any of the above ways and then go to the site a different way it has you logged out. I have tried to set the cookie domain to just .fourthirdsphoto.com however then I am not able to log onto any site but fourthirdsphoto.com
    So I need some help here. What am I doing wrong?

  • #2
    You're not doing anything wrong. The cookies for one domain (fourthirdsphoto.com) are not available at another (43photo.com). This is a safety precaution built into the web browser and how it handles cookies and is according to specification.

    You should use a variety of domain parking and redirecting to make sure everyone logs in on the same domain. So pick your dominant domain (fourthirdsphoto.com) and park your other domains on top of it through your hosting provider. Then with something like mod_rewrite redirect anyone that doesn't enter through fourthirdsphoto.com to that domain for subsequent page views.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment

    Loading...
    Working...
    X