Click here to Skip to main content
12,754,334 members (30,021 online)
Rate this:
Please Sign up or sign in to vote.
See more: SQL-server-2005 VB ASP.NET , +
This is My Mini Project

I am working on Reward points management where i need to check every users actions for which they are awarded points actions like spending some amount of money ears few points etc..., if points are consumed they need to be deducted from the card of the specific user.

I have done with Giving points to particular game
please give me some ideas to track these actions

Thanks In Advance
Posted 18-Oct-10 4:49am
Updated 18-Oct-10 4:53am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

you will need to store these in a database

for each action they do on (I assume) a particular job, record the action they have completed and the points associated with that action into a database.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

As Simon, you need to store all in database.
first, of all you need to define what all action can be taken by a User and then define the no of points earn/redeem by user on every action.

Now whenever user takes a action, first of all make a entry in the database, that what action is taken,at what time, how many points earned/redeemed and other information according to your requirement.
Also add/substarct the points from the total point.

Now whenever you want to see/track the user actions, you can get from database according to your need.

This is the basic idea, you can change it according to your requirement.

Hope this help you.
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

If you dont want to use a database, you can store your data in a text file. However, if the number of users are excpected to be large this is NOT a recommended idea.

Storing in a file can only be a mini-solution (for a small number of users).

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 18 Oct 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100