ese-unibe-ch / ese2014-team6

0 stars 1 forks source link

Update user in session #4

Closed aschwanb closed 9 years ago

aschwanb commented 9 years ago

The user object saved in our browser session is not updates. This means his new messages and adverts are only shown if he logs out and logs in again.

Koucha commented 9 years ago

When changeing the profile data, the user object in the session is directly manipulated and then saved in the DB. That way it's always up to date. Maybe this behaviour could be ported to adverts and messages?

aschwanb commented 9 years ago

Updated User Object is now called with: User user = userService.getUser();