Click here to Skip to main content
12,999,628 members (58,310 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I am just confused as we have a registration page of our website where visitor completes the form and we save his registration details in our database and whenever he ask questions or give comments or answers on our website then we can save all this in to our database. But if we allow visitor to login by facebook, then how will we maintain or save his question answers and comments into our database as our website's user?

The more of the problem is when :

(1) we allow a visitor to create an account with our registration form and he enters his e mail id as log in id for logging into our website account and suppose if he uses a different e mail id for his facebook account later to log in to our website, then which of the IDs will be matched with our database.

(2) Secondly, however he is allowed to log in our website with his facebook account how his question and answers or comments will be saved in our database if he enters with facbook id because he will get through the log in our website but his login credentials will not match with our database. and we want his QnA or comments to save in the same account with which he registered with our website.

(3) Thirdly, I know there is an option where we can also ask visitor to register with facebook account but in that case I think the data will be saved in facebook database and we will not be able to save the info in our database. please correct me if I am wrong.

In short, it may be login with facebook or login with gmail; my point is that how we will save all the info in our database.

I request you to answer me this question in point to point style. And share your views and suggestions.

Thanks in advance.
Posted 26-Apr-13 0:04am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 26 Apr 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100