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

Released on June 22nd 2017
Length: 11:49

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 progress whose goal is to educate aspiring and seasoned web developers via story driven learning. Each course tells a different story, and each milestone reveals a different scene. With an expansive universe to explore, you can track your progress, and gain the necessary skills needed to build your dreams. For updates on the progress of and future videos, join the Chris Courses mailing list at Support Chris Courses Through Patreon: -------------------------------------- Chris Courses Social: --------------------- Twitter: Facebook: Instagram: Christopher Lis Social: ----------------------- Twitter: CodePen: