Session Stores and Restricting Page Access | Node Auth Tut - Part 6

Session storage is a must when going about development for a user based app. Since sessions determine whether or not a user should stay logged in after registering or logging in for the first time, it’s important that we monitor these sessions in a place where they won’t get deleted if our Node process restarts or terminates. As a result, we make use of something called a session store which will move your session’s from being stored on your node process to being stored within your app’s database. Learn how to integrate session stores and restrict access to particular pages when a user is logged in or logged out. Restrict Page Access Middleware: ------------------------------------------------------ Video Timeline: --------------- 0:00 - Implementing a Session Store with MySQL and express-session 5:56 - Restricting User Access to Certain Pages Unless Logged In The Platform: ------------- is a platform in pr
Back to Top