Can you explain more about database flags and how they may come in handy? 

-----Original Message-----
From: Kym Kovan [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 12:01 PM
To: CF-Talk
Subject: Re: Stopping people doing the 'I clicked submit twice' thing..


Hi Darryl,

>Has anybody found a way around this? It seems that whenever someone clicks
>submit twice, data is inserted twice (updates are ok).

You can use javascript to make sure it only happens once or, better but 
more overhead, write some cf code to make sure you are not doing it twice. 
Depending on whether you are using client/session variables or not setting 
a flag is easy, if not then database flags come in very handy :-)



--

Yours,

Kym
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to