Skip to content

chungmarcoo/381Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cookie Session Example

This example demonstrates the use of cookie session to store user credential

  1. Note the use of the cookie-session middleware.
  2. Note the use of the body-parser middleware to extract name and password from POST /login.
  3. Note the flow of control and how user credential is stored and destroyed in session

Installing

npm install

Running

npm start

Testing

Go to http://localhost:8099

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published