Hi, im hoping theres an easy and cheap solution for this.
I have two websites, one built with drupal, one without.
When a user registers via my drupal site an account is automatically created on the none drupal site.
So once a users registered on the drupal site they can log into either of my sites. But the login only logs them into the single site. So if a user logs in via my drupal site they will not be logged in to my non drupal site. If a user logs into my non drupal site they will only be logged into the non drupal site and not the drupal one, so they have to log into each site seperately.
However, I would like it so the user can log into both via either log in, so if a user logs in to my drupal site they are automatically logged into my non drupal site, If they log into my non drupal site they are automatically logged into my drupal site, and when they log out they'll be logged out from both.
Im on a cheap budget here,so hope this is something that is simple to do.
Thanks for reading.
Comments
Couple questions to fine tune the answer
Saeh,
Are both sites operating under the same domain?
Do both sites have access to the same database or are the accounts completely in parallel?
Could you simply make the login and logout functions on the non-drupal site post to drupal? (seems like since you already have account creation happening this way, adding login and logout wouldn't be too much extra)
Brent
hi I havent put it all
hi
I havent put it all together yet, I wasnt going to make them both have access to the same database but they can do, I can also set my drupal site as the main domain, and my non drupal site as a sub domain.
How do i add the functions?
Im using a module, where I just put in the admin details of the none drupal site.
You can use Single Sign on
You can use Single Sign on solution to fulfill your requirements.
You can go for CAS (Central Authentication Service)
http://www.jasig.org/cas
Drupal is having a module to use CAS.
http://drupal.org/project/cas
If your other site is not using drupal then you can use https://wiki.jasig.org/display/CASC/phpCAS library.
Vikas
http://www.calipus.com
Also Consider
OpenID, Facebook Connect, Twitter Connect, etc.
---
Shane Birley
Left Right Minds
http://www.leftrightminds.com