Currently working on a project where a login will be required to use the application.
I'm trying to figure out a smarter way to reset the application if someone is somehow logged out and the next one to login is not the same user.
The option I have come up with at the moment is storing all user specific data/information in a DTO but this leaves me with cleaning up some parts of the work area.
Is a ResetControls
my only option here? I'm afraid that when updating the application someone might forget to update that part, most likely myself now that wrote it out.
Anybody with experience in this that could provide some ideas to a simple yet fairly automagic solution?