Announcement

Collapse
No announcement yet.

cookie question

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

  • cookie question

    I have 3 domains on the same server, of which one of them is the forum domain. I would like to have logins to the board on the other two domains.

    I have a script running on the forum domain that allows me to log in from an external page. It recognizes me and welcomes me correctly when I am logged in as well.

    However, when I include the script on the other domains, it allows me to login fine, but does not recognize me if I am already logged in.

    What am I missing? I would assume that because the script is on the correct domain, the script SHOULD be able to access the forum cookie, and should recognize me.

    I know this can be done somehow because Amazon can recognize their cookies on pages displayed on other sites (the honor system box for example) The script runs on Amazon.com and recognizes the Amazon username, but displays it on the other domain's page.

    Forgive my denseness, but I am utterly confused here. I am not asking for a hack, just an explanation of how I can read the VBulletin cookie please.

    Amy
    http://www.eaforums.com

  • #2
    When on other domains the script can't recognise you because the cookies aren't accessible to the other domains. Cookies are only accessible to the domain that issued them - therefore if you login on one domain, you most likely won't be recognised on the others.

    Comment


    • #3
      I ended up using an iframe. I know they aren't compatible with all browsers, but it's better than nothing for now.

      Amy
      http://www.eaforums.com

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X