DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
Next.js
What should happen if verifySession() (in a DAL) finds no valid session?
A
Silently return an empty object
B
Redirect the user (e.g. to /login) — a documented pattern for the DAL's verification function
C
Throw an unrelated generic error
D
Retry the check indefinitely
Check Answer