SpinTheMic
Pro

Interview practice question

Users stay logged in forever

Backend Engineering · Auth and Security · Beginner

A security review notes that users on your web app stay logged in indefinitely, even on shared computers. What would you change?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Idle timeout (e.g., 30 min for sensitive apps).
  • Absolute session lifetime.
  • Re-authenticate for sensitive actions.
  • "Log out of all devices" option.
  • Balance security with convenience ("remember me").
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics