Registered
- C Determine if the registration data has been submitted
- Is
- L If the password and user name are either empty
- L If I confirm that the password and password are inconsistent
- M Add user
- C Jump Login Page
- Whether
- C Show Registration page (submit verification)
Login
- Determine if the login data was submitted
-
C Background Verification Login data-"Validation class"
- Determine if the lock time is within
- M determine if there is login data
- There are logged in users
- Number of reset failures and failed logon times
-
Update logon time, IP
- C Set the session user name, user ID,
permissions, role
- C Logging
- C Judgment Jump (manage home/jump to source page)
- Jump
- No login user exists
- Log Logon failure times
- Jump Login Page
- Set session
- Show login interface (submit verification)
Log out
- C Clear Session
- C Jump to login page
Blog System-Program structure-register login log out