Web Security · Authentication
Session Fixation
An attacker knows a session ID that the application continues using after the victim logs in. The attacker can then reuse that authenticated session. Issue a fresh session ID at login and invalidate the old one. Cookie flags alone do not rotate IDs.