How about setting an indicator in a database, or application-scope variable, that says "do not disturb"?
M!ke -----Original Message----- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 10:18 AM To: CF-Talk Subject: Re: Detecting CFLOCK "While "USER A" is waiting for her PDF to be created I would like to prevent "USERS B,C,D..." from queing requests and display a "PLEASE WAIT" message or something." Are users B,C,D trying to create other PDFs or trying to view the one being created? DK On 9/13/05, Jay Greer <[EMAIL PROTECTED]> wrote: > >What exactly are you trying to accomplish? > > Thanks for your reply. > > I'm using CFDOCUMENT enclosed in an exclusive CFLOCK to create a _BIG_ PDF file in a shared server environment. Under typical server load it takes around 30 seconds or so to create the PDF. However, sometimes it can take much longer -- or forever (literally). To keep the user amused while they wait, they get to watch a progress bar thingy. A javascript redirects to an ERROR screen after 60 seconds. > > While "USER A" is waiting for her PDF to be created I would like to prevent "USERS B,C,D..." from queing requests and display a "PLEASE WAIT" message or something. > > That's why I want to know when the CFLOCK is released. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218232 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

