Hi everyone.

I am trying to find a way on how to do the following securely.
I have a website that has 4 chat rooms.
Chat Room A = $0.50/minute
Chat Room B = $0.60/minute
Chat Room C = $0.70/minute
Suppose when people sign up they prefill their account with X amount of
dollars.
Is there a way in CF to monitor time on a certain page and compare it to the
total
amount of time available for the room based on the number of dollars
available in the account... then
if they run out of money direct them to the order time page...?

Any help would be appreciated.  I thought maybe Javascript might be of use
but wuld it not be easy to hack???  For instance:

Get the dollar total form the DB, divide it by the price of the room you
enter...store that value in a variable, then set a counter to count down
from the total available time...when the counter hits 0 refresh them to a
page... if they logout, take the value of counter and refigure money
available and store it back into the db????  AM i all confused or what?  :-)

Thanks for any help,

Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to