learn-py4web.github.io

Unit 7: Connecting to the Database, Session, and User authentication

In this unit, we learn how to do the actions that are necessary to service almost all web requests, namely:

  1. Connect to the database
  2. Read the user session
  3. Check if the user is logged in and read the user profile.

We will also learn how to examine the database content, which is useful in debugging your code.

Resources

Videos