When my app loads I need to establish the membership "status" of a user. Their "status" will determine how the app behaves. Do I query the database for the "status" value each time the app loads, or can it be sourced from cache? The "status" could change for a user, not not very often. Thanks.
Warren_12 0 Newbie Poster
Recommended Answers
Jump to PostI'm personally not familiar with Android development, but I'm sure there is app storage.
Jump to PostYour app always needs to "phone home" to query the actual member status with your server.
Otherwise, someone could log in twice, delete their account in one session and merrily carry on using their 'account' in the other session.
Sure, you could use the cached version if the user is …
All 5 Replies
Dani 4,675 The Queen of DaniWeb Administrator Featured Poster Premium Member
Salem 5,265 Posting Sage
graceweb -15 Newbie Poster
JohnEdward44 0 Newbie Poster
jonathannweyer -3 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.