coldstar96 / cse403

Budget Manager Project
1 stars 2 forks source link

Old user cookie persists even when new user logs in #30

Closed brucec5 closed 11 years ago

brucec5 commented 11 years ago

Steps to reproduce:

  1. Log into the app as one user (one that has budget(s))
  2. Exit
  3. Log into the app as a different user

What happened:

The first user's budgets are listed in the add entry screen

Expected:

The second user's budgets are listed in the add entry screen

Likely cause:

The HTTP session cookie from the first user is persisted somehow even through the second user logging in. This is not a big issue, since the usage of the app is intended to be only one user with persisted logins. However, it's still an issue.

Likely solution:

Clear the cookies before logging in or signing up.

brucec5 commented 11 years ago

With the new feature where you skip the login screen if you're already signed in, this issue is no longer necessary.

A new issue can be opened if this still is a problem after implementing the sign out feature.