0

I want to save a number in my asp.net mvc3 website in order to not loose last user selection in web site but it is not domain related number so I do not want to store in database. I tried to save it in a file but I do not have good feeling about this solution. does any one has any better solution?

JGC
  • 12,737
  • 9
  • 35
  • 57

3 Answers3

4

How about storing it in a cookie? Just a thought.

Steve Morgan
  • 12,978
  • 2
  • 40
  • 49
0

Pick one here: http://msdn.microsoft.com/en-us/magazine/cc300437.aspx

acermate433s
  • 2,514
  • 4
  • 24
  • 32
0

If you're using the built-in membership and profile providers, you could store the data in profiles. This question might be able to help some with that.

Community
  • 1
  • 1
Tomas Aschan
  • 58,548
  • 56
  • 243
  • 402