Heaplink
Developer & Designer
Hello,
A friend of mine and me are sitting here and developing a "joke" app. This app is being developed both on Android (Java) and in PHP for server-side.
So the PHP is located on a server, and validates the data that is send by the Android app in form of JSON. We sort of have figured this out. Though:
You should be able to vote on each joke. But only ONE time per. person. Here the question comes in place:
How would you do this? We have thought of these solutions:
Do you have any other idea how this could be done?
A friend of mine and me are sitting here and developing a "joke" app. This app is being developed both on Android (Java) and in PHP for server-side.
So the PHP is located on a server, and validates the data that is send by the Android app in form of JSON. We sort of have figured this out. Though:
You should be able to vote on each joke. But only ONE time per. person. Here the question comes in place:
How would you do this? We have thought of these solutions:
- One vote per IP address is allowed
- One vote per session/cookie is allowed
- IP address can be changed for example when the user joins another network or if the user use a VPN/Proxy or just changes his/her IP address manually.
- Using sessions or cookies, some users tends to clear their browsing cache which means they can vote again on the same joke.
Do you have any other idea how this could be done?