The purpose of the CF page is to grab emails from a POP3 server and 
process their attachments and data contained in the body.

The code does the following:
   1. <cflock name="ReadEmail7896"
                   timeout="20"
                   type="exclusive">
   2. <cfpop to get one email (maxrows="1")from a POP3 mail server
                    and save the attachments
   3.  Saves the query columns for processing after the </cflock>
   4. <cfpop to delete the email
   5. </cflock> 
   6. Process the attachments and saved query info


Is the following correct?
1. I am running on a shared server so I should pick a name that no one 
else would.
2. The cflock has no effect on anyone else except someone who did a lock 
with the name "ReadEmail7896".
3. cflock is a good way to prevent simultaneous processing of the same 
email by my CF pages.

Thanks
Archie Campbell

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2317
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to