Middleware & Sessions

Express 4.13.3
  • 12 Videos | 40m 33s
  • Earns a Badge
Likes 9 Likes 9
Building on the Express API, explore the power of the Express Middleware. Learn how to use Middleware to interact with user input and form data, including validation, cookies, variables, and sessions.

WHAT YOU WILL LEARN

  • describe middleware and how it helps Express
    install the express-validator middleware
    use the express-validator middleware to do input validation
    retrieve and use variables passed in on the URL
    retrieve form data via POST variables
    use the cookie-parser middleware to set and get cookies
  • use the body-parser middleware to parse and format data using json
    describe session handling with Express
    configure express-session for use in an express app
    create a session for a successfully logged-in user
    check session states and display a simple menu to users who are already logged in
    create an interface to log out a user and remove the user's session

IN THIS COURSE

  • Playable
    1. 
    Describing Middleware
    5m 44s
    UP NEXT
  • Playable
    2. 
    Installing the Middleware Express-Validator
    2m 29s
  • Locked
    3. 
    Using Express-Validator for Input Validation
    3m 50s
  • Locked
    4. 
    Using GET Variables
    2m 29s
  • Locked
    5. 
    Using Forms and POST Variables
    2m 23s
  • Locked
    6. 
    Using Cookies
    4m 53s
  • Locked
    7. 
    Using JSON
    2m 31s
  • Locked
    8. 
    Describing Session Handling
    3m 17s
  • Locked
    9. 
    Configuring express-session
    1m 50s
  • Locked
    10. 
    Creating a Session
    2m 15s
  • Locked
    11. 
    Keeping Session State
    2m 18s
  • Locked
    12. 
    Removing a Session on Logout
    3m 33s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 244 Likes 244  
Likes 103 Likes 103