1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cross Domain Sessions

Discussion in 'PHP' started by Kalyse, Feb 14, 2010.

  1. #1
    Hi,
    Its not explicitly cross domain sessions that I am looking for, but its the easiest way to explain what it is I want.

    I have a system which creates websites.
    The websites are hosted across lots of different servers.

    Users can create their account and then they can create lots of websites.
    They could create

    www.mysite.com
    subdomain.mysite.com
    and create lots of different sites.


    Some times, sites will be COMPLETELY different from one another, however some times, the sites will in fact be so closely linked, that they should probably be considered the same site.

    For example:
    (Different domain entirely)
    mysite-news.com
    mysite-blog.com
    or (Same domain, different subdomain)
    news.mysite.com
    blog.mysite.com

    What I need is a way for users where they want, to create a federation of sort, which allows by clicking a check box, that they want to allow cross site logins. I cannot change configs unless its a permanent change and won't affect other sites, because 1000s of sites will be affected.

    What do you think would be the best way to support this?
     
    Kalyse, Feb 14, 2010 IP
  2. davebrwn

    davebrwn Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi i think you can't do this, But you can send a encrypted key to solve this.

    Thanks,
     
    davebrwn, Feb 14, 2010 IP
  3. Kalyse

    Kalyse Peon

    Messages:
    1,221
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Its definately possible. I just don't want to taint other peoples suggestions. SSO or OpenID would be one route.
     
    Kalyse, Feb 14, 2010 IP
  4. Will Bontrager

    Will Bontrager Peon

    Messages:
    14
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This is speculation, not something I've yet tried.

    A central log-in domain may be utilized. When a new browser arrives at a domain, the central log-in domain is consulted to authenticate the user.

    Oh, please do taint :)

    This is something I am also needing solved for a project coming up.

    Will
     
    Will Bontrager, Feb 14, 2010 IP