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
Universal login for multiple web applications
Collapse
X
-
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.Originally posted by pbmodsChanged 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.Last edited by pbmods; May 18 '07, 11:18 PM. Reason: Removed formatting. Bold is for emphasis, not message text. Thanks!Comment
-
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.Originally posted by dave2008Thank 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.Comment
-
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?Comment
Comment