Are you familiar with the cfpop and cfimap tags? These are probably
the easier route to a solution that using the event gateway feature. I
will assume you are already familiar with cfmail to send mail.
-Mike Chabot
On Sat, Oct 15, 2011 at 1:26 AM, Les Irvin les.cft...@gmail.com wrote:
I want
Regards
Russ Michaels
From my mobile
On 13 Oct 2011 20:28, Michael Grant mgr...@modus.bz wrote:
Sure they exist. However using a word, such as truthiness doesn't make it
right. People also say flustrated, so since it exists, it's a word, it
doesn't make it right.
On Thu, Oct 13, 2011 at
I dont think your ever going to win against a dictionaryophile dave.
Regards
Russ Michaels
From my mobile
On 15 Oct 2011 00:40, Dave Watts dwa...@figleaf.com wrote:
Just for kicks, I tested this in TextEdit, TextWrangler, and MS Word
for
Mac 2011
Ug. Mac. Now it makes sense. You
Also not a word.
--
Shu Ha Ri: Agile and .NET blog
http://www.bifrost.com.au/
On 15 October 2011 17:58, Russ Michaels r...@michaels.me.uk wrote:
dictionaryophile
~|
Order the Adobe Coldfusion Anthology now!
You can't create an instance of that class that way.
http://msdn.microsoft.com/en-us/library/microsoft.web.administration.sitecollection(v=vs.90).aspx
says,
public sealed class SiteCollection :
ConfigurationElementCollectionBaseSite
This class is sealed and does not implement a public
I've got some pretty simple CFC code which fails when executed with 10+
concurrent connections. Variables between requests get mixed up, so one request
with recordID 10 suddenly returns with recordID 2 etc, causing issues in the
application.
This is simplified version of code:
Inside your methods (cffunction) use scoping.
For example.
cffunction name=DoSomeAction output=no returntype=any
cfargument name=RecordID required=yes type=numeric
cfset var local = StructNew() /
cfset local.GetRecord =
Makes no difference. As mentioned, I've already tried var'ing within the
functions.
Tavs
Inside your methods (cffunction) use scoping.
For example.
cffunction name=DoSomeAction output=no returntype=any
cfargument name=RecordID required=yes type=numeric
I think your problem is scoping.
e.g. you have
cfset GetRecord =
Application.Functions.GetRecordFromRecordID(arguments.RecordID)
so this variable could get overwritten by other code as it is in the
variables scope.
If you are on the latest version of CF9 then you can use the new local
scope
I was not referring to 'var'ing, I was referring to 'scoping'.
When you create a scope inside of the function, that scope only has value
within that function.
You will want to upgrade the ' GetRecordFromRecordID' to also use scoping as
well.
William
-Original Message-
From: Tavs Dalaa
I am familiar with those, but how could I use them to effectively
create an immediate dynamic autoresponder? Wouldn't I have to set
something up to initiate the polling of the mailbox?
On Sat, Oct 15, 2011 at 1:42 AM, Mike Chabot mcha...@gmail.com wrote:
Are you familiar with the cfpop and
I'll bet you didn't var the query as well:
cfset var GetRecord =
cfquery name=GetRecord datasource=#Application.AppDatasource#
SELECT RecordID,RecordTitle FROM Records
WHERE RecordID = cfqueryparam value=#arguments.RecordID#
cfsqltype=CF_SQL_NUMERIC
/cfquery
Using the local scope (as others
James, you got it! Var'ing the query seems to have solved it. Thanks!
Tavs
I'll bet you didn't var the query as well:
cfset var GetRecord =
cfquery name=GetRecord datasource=#Application.AppDatasource#
SELECT RecordID,RecordTitle FROM Records
WHERE RecordID = cfqueryparam
You would set up a scheduled task that calls code to check the
mailbox, loop over the list of emails doing whatever processing you
need to do and calling whatever database queries you need to call,
then respond to the mail using cfmail or whatever mail sending code
you prefer. You can set up the
Varing everything is more long winded, local scoping as advised will be less
work and less prone to mistakes.
Regards
Russ Michaels
From my mobile
On 15 Oct 2011 17:18, James Holmes james.hol...@gmail.com wrote:
I'll bet you didn't var the query as well:
cfset var GetRecord =
cfquery
15 matches
Mail list logo