Click here to Skip to main content
15,298,794 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hey there.
I always wanted to know, what other people think about saving data.
What do you recommend? Saving to binary files, database, other types of saving?

For this application, I get a token by an API per user ONE time and I can use it as long as I want.
I think the maximum amount of user per machine (the user/token-pairs I have to save) will be 10 users, so not very high.

Thanks for helping!
Posted

1 solution

Honestly, this would be dictated by your application requirements. Does the user request the token in the app? Is it supplied by an administrator? Is it forever linked to that user? Do they need to recover THAT token if the machine is wiped out and rebuilt? Can they request a new token if it's lost? Blah, blah, blah, ...

Where you store it would be dictated by the answers to those questions, and possibly more.
   
Comments
NeonMika 5-Jun-12 9:09am
   
Thanks for giving me ideas of how to think about this problem, helped me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900