Question · Next.js course · Module 7: Authentication and Authorization

Session-based authentication stores session data:

Session-based authentication stores session data:

Answer options

  • Only in localStorage
  • In URL parameters
  • On the server with a session ID in a cookie
  • In CSS variables

You can check the correct answer by solving this task in the CodeWorlds game.