What about a scenario where they just close their browser? At that point, you at least have to have some javascript involved. Have you thought about using an applet instead?
Mark -----Original Message----- From: Mike Tangorre [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 3:40 PM To: CF-Talk Subject: Tracking time in CF 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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com 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

