1

client state in viewmodel

asked 2013-10-23 09:28:42 +0800

aklotz gravatar image aklotz
10 2

updated 2013-10-23 09:58:22 +0800

I think keeping the client state in a viewmodel is a good idea. But if the user refreshs the page (e.g. hitting F5 in the browser) the state is lost since the viewmodels are recreated.

Is there a possibility to re-use viewmodels by giving them another scope, for instance session scope?

If not where are you storing the client state?

Thanks, Andreas

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-10-23 09:28:42 +0800

Seen: 2 times

Last updated: Oct 23 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More