Skip to content

CodecoolArchive/login-blujaychris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Assignment: Login form

Your task is to create a login form. If a user logs in he should see "Hello !". Information about users state (logged in/out) should be stored in the session. This means that you have to implement session mechanism on your own. Here's how it might look:

Requirements

Implement The Session mechanism. See the previous materials. Session data could be stored in-memory, you don't have to use a database for this exercise. Implement login mechanism. When a user provides proper credentials, he/she gets logged in. From now on every time the user refreshes the page he/she sees "Hello !". If the user presses the Log out button, then the session is terminated and he/she sees the login page again. Store users' data in a database. Your application should be able to handle multiple users. Log in in your browser as user A. Open incognito window in your browser and try to log in as user B. Check if those users can work separately. (Additional) store passwords as hashes in the database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors