|
Wouldn't a named lock do what you need? <cflock name="_lucene" type="exclusive" timeout="30"> </cflock> Could set the timeout in seconds to more if need be? Cheers Gareth. Dale Fraser wrote: It is very unlikely that this operation is being run by more than one person at a time, but it is possible. So i'm happy to just make them wait, it's 20-30 seconds.Regards Dale Fraser http://learncf.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Haikal Saadh Sent: Friday, 19 October 2007 3:18 PM To: [email protected] Subject: [cfaussie] Re: Application Locking Would a better way be to show a 'Joe Bloggs is running the payroll process, come back later' message when the second person tries to perform this task? Would having all these locks make the next person doing this task wait, or will it make everyone wait? Dale Fraser wrote: --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [cfaussie] Application Locking Dale Fraser
- [cfaussie] Re: Application Locking Haikal Saadh
- [cfaussie] Re: Application Locking Dale Fraser
- [cfaussie] Re: Application Locking Gareth Edwards
- [cfaussie] Re: Application Locking Dale Fraser
- [cfaussie] Re: Application Locking Barry Beattie
- [cfaussie] Re: Application Locking Matthew
- [cfaussie] Re: Application Lockin... Dale Fraser
