Login Issues |
Hi,
Team , In Mobile Application I Gave a Two types Of logins like Mobile number And facebook id . if user is first time login with mobile number . after that again come with registered mobile number .. then i will check that mobile number is registered are not . based on my conditions redirect to some other page .. But already user registered with mobile number .. again come with fb for logins.. How to Check If That user is already registered are not ...? in this condition i treat like a user registered with mobile number and facebook treat like a single user
Manikanta
05-02-2016, 04:12 AM
(This post was last modified: 05-03-2016, 04:59 AM by MaXxer. Edit Reason: added cookie )
The simplest solution for me would be to store the value if a user has registered by a mobile phone number in a session/cookie, which doesn't get destroyed for a very long time. Then after the FB login you can check if this value exists. If true: bind mobilephone + fb login else create new Account or whatever.
I hope I could help you |
Welcome Guest, Not a member yet? Register Sign In |