Help with Login Information
I have generated user Registrattion, LogIn, profile, Logout and EmailPW pages using SA. I intent to design an Admin page. Also, I have added a column to the users table called "firstLogin" with values Yes or NO in the same column. ( I am not sure if the two values YES or NO should be in same or different columns of the "firstLogin" column of the user table)
My goal is that when user login for the first time the user is taken to the newPassword page to change their password and if it is not the first time the user login, the user taken to the Profile.php page.
Below is what I have done.
1) Created two session variables FirstloginYes and FirstloginNO
2) Updated server behavior of the userLogin page(3rd step) by adding the firstLogin column with column value(FirstloginYes). I don't know when to use the FirstloginNO
3) Created a rule "firsttimelogin" using rule manager.
Using Access Rule manager, Should I select "Allow" or "Restrict"?
What should be the 1) value:
3) compare to:
Can anyone help with clear step by step on how to accomplish this. I will appreciate your help.