|
|
|
|
|
by catfood
2989 days ago
|
|
So the session keys mapped to usernames, rather than IDs in the database? Otherwise, when the database is restored with the old user IDs, the session would become invalid instead of continuing to work. This is what I'm seeing: 1. Tables truncated.
2. In this window, someone creates an account with a username that existed in the dropped database.
3. They see a blank user page because a new user record was created.
4. Database restored.
5. It's as if you're logged into the original user's account. |
|