Everytime the user log on, record the time into the Mysql DB. Then, everytime the session refreshes, record the time, and compare it to the record you have. Calaculate the difference and assign the correct number of points or money or w/e.

That is how it's done most of the time.
@Razr - Good idea, but it won't work with PHP and MySQL. It would only work with application programming
