Board index   FAQ   Search  
Register  Login
Board index PHP PHP Scripts

user login validation from two databse in my website

Links for php scripts

Moderators: macek, egami, gesf

user login validation from two databse in my website

Postby sanjeev » Wed Jan 04, 2012 4:43 am

Dear all,

Please help me.

I have two sites and both run on separate DB, both have separate signup and login process, Now i want if any user login from any site can access both sites. There are separate session for both sites now i want to use any of the session for user authentication.

Please give some Idea.

Thanks in advance.
sanjeev
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Jan 04, 2012 4:23 am

Re: user login validation from two databse in my website

Postby egami » Wed Jan 04, 2012 6:18 am

I have an idea.
It's a great, a fantastic and feasible idea!
It's probably one of the greatest, loveable and inconceivable ideas ever!

Use ONE database for Authentication!
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2197
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: user login validation from two databse in my website

Postby egami » Wed Jan 04, 2012 6:20 am

Or..
Combine the authentication tables by using replication!
User avatar
egami
php-forum GURU
php-forum GURU
 
Posts: 2197
Joined: Wed Oct 06, 2010 11:19 am
Location: Happy Valley, UT

Re: user login validation from two databse in my website

Postby sanjeev » Wed Jan 04, 2012 6:44 am

Thanks for reply. I am doing same. but could not work properly.
sanjeev
New php-forum User
New php-forum User
 
Posts: 2
Joined: Wed Jan 04, 2012 4:23 am


Return to PHP Scripts

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron