By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,591 Members | 629 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,591 IT Pros & Developers. It's quick & easy.

Universal login for multiple web applications

P: 2
I have deferent web application, How do allow user to register and be able to login to use the application without having to register for all the applications that I have
May 18 '07 #1
Share this Question
Share on Google+
4 Replies


pbmods
Expert 5K+
P: 5,821
Changed thread topic to better match contents.

Hi, dave2008. Welcome to TSDN!

All you have to do for this is to create a separate database (I'm assuming that each of your applications has its own database) for User data.

You'll probably want to create a class that handles all of the login stuff and store it in a central location.

Then, just have your applications link to that file when a User logs in. No matter what app requests the login info, your login object will match the submitted info with the information in your User database and then return the matching info if it exists, or else an error if it doesn't.
May 18 '07 #2

P: 2
Changed thread topic to better match contents.

Hi, dave2008. Welcome to TSDN!

All you have to do for this is to create a separate database (I'm assuming that each of your applications has its own database) for User data.

You'll probably want to create a class that handles all of the login stuff and store it in a central location.

Then, just have your applications link to that file when a User logs in. No matter what app requests the login info, your login object will match the submitted info with the information in your User database and then return the matching info if it exists, or else an error if it doesn't.
Thank you for your quick response, it sound so great, but I have a problem here, I need someone to write the code and mysql database for me for the above solution.
May 18 '07 #3

pbmods
Expert 5K+
P: 5,821
Thank you for your quick response, it sound so great, but I have a problem here, I need someone to write the code and mysql database for me for the above solution.
Sorry, Dave, but TSDN doesn't work that way. We're happy to lend advice and support, but our members are expected to write their own code.
May 18 '07 #4

P: 1
Just want to be sure that I have this right?


Would this be the configuration file for the many web apps. The file that has within the connection settings (user name, password, database name, database table?)

So simply create a new database and have all of these config.php files pointing to the same database and table correct?
May 3 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.