Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can you tell if it is a users first time logging in?

Status
Not open for further replies.

stessie

Programmer
Nov 22, 2000
26
IE
I need to know how to tell if it is a users first time logging in
If it is I want to force them to change their password
Any ideas?
 
I suppose you use a table for store the login and the password for users. When a user want to log at your application, you verify if the login and password are right. Now, if you add a column for store a boolean ( 0 never logging, other value if user have already use your application), when you do your verification you can now tell if it's the first login for this user or not.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top