I need a way to tell if it’s a user’s first time to log in–so I can display relevant information to that user about what they need to do.
How can this be achieved? I’m at a loss here and examples would be appreciated! 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It is often useful to store the ‘last login’ time and date for users. If you did that you could simply check if
last_loginwas NULL in your users table and then display your message or whatever.