Page 1 of 1

how to check user is login first time in php

Posted: Tue Apr 21, 2009 5:26 am
by irshad_sheikh
Hello

how can I check, user is logged in first time since I have to display the different page when its logged in first time.
If you have any suggestion please help me.

Thank you.

Re: how to check user is login first time in php

Posted: Tue Apr 21, 2009 12:05 pm
by Christopher
Add a field to the user database table that indicates whether they have logged in previously. If they have not, show the different page and UPDATE their record to indicate they have logged in once.