Each player saves separately. Borderlands 1/2/Pre-Sequel use individual save files per profile.
If host dashboard-quits or crashes, guest's session progress since last host checkpoint may be lost. Host should Save & Quit properly.
Split-screen (console): same logic—two profiles, two save files.