RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Micha Schopman
Personally, the advantages of cfmodule outweigh those of cfinclude. The
performance hit of cfmodule is really low, and cfmodule provides you
with encapsulation. Variables defined within a template called by
cfmodule have no effect on the executed code outside that template
(unless you are using variables in request, session, application,
client, server, or use the caller). 

What you need to keep in mind, when you call a cfmodule template within
a CFC, and use caller in that template, the variable is returned to the
CFC. So if you want to use returned data from the template, you need to
put business logic in your CFC which handles that.


Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185771
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Cold Fusion Forum Applications

2004-12-01 Thread Micha Schopman
There is only one really good application, and that is fusetalk :) I
haven't seen any worthy opponents.

Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185772
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: unix user cfexecute

2004-12-01 Thread Hugo Ahlenius
Is there a better way to call an external program under unix? I wasn't
aware of this... (I haven't noticed any big problems, the few times
where I have cfexecuted an external program)


--
Hugo Ahlenius

-
Hugo Ahlenius  E-Mail: [EMAIL PROTECTED]
Project OfficerPhone:+46 8 230460
UNEP GRID-Arendal  Fax:  +46 8 230441
Stockholm Office   Mobile: +46 733 467111
   WWW:   http://www.grida.no
- 






| -Original Message-
| From: Dave Carabetta [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, November 30, 2004 17:57
| However, I would strongly advise that you stay away from
| cfexcute on unix systems if you can. Because of the way the
| fork() method was implemented on unix systems (which is what
| cfexecute calls under the hood to run the external process)
| it duplicates the amount of memory of the calling process to
| run the external process, which is crazy.
| So, for example, if your JRun process is currently taking up
| 1 GB of RAM (a pretty common JVM size), then cfexecute will
| run the external process using 1 GB of RAM, which will very
| quickly throw an Out of Memory exception. I learned this the
| hard way so I figured I'd save you the hassle down the road.
| In single-user testing you might not see the error because
| you might have enough swap space to create this second
| process, but any more than a couple of users will bring your
| system to a grinding halt. So I'm not sure what you're trying
| to do, but I would find another way to do it. Mind you, this
| is not Macromedia's problem -- it's a UNIX problem that is
| just a known implementation issue.

###

This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.
For more information, connect to http://www.F-Secure.com/


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185773
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


Re: Cold Fusion Forum Applications

2004-12-01 Thread Mark Drew
Which I must say is odd in comparison to PHP as there are millions of
forums (some good some bad as always)

Fusetalk is good

MD


On Wed, 1 Dec 2004 09:13:48 +0100, Micha Schopman
[EMAIL PROTECTED] wrote:
 There is only one really good application, and that is fusetalk :) I
 haven't seen any worthy opponents.
 
 Micha Schopman
 Software Engineer
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185774
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


RE: Cold Fusion Forum Applications

2004-12-01 Thread Micha Schopman
PHP has a much larger user base than ColdFusion has. The result of that
is also noticeable in the performance and architecture of those forum
applications. There are a lot of hobbyists playing with PHP without a
good understanding of database and architecture fundamentals.

Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185775
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Cold Fusion Forum Applications

2004-12-01 Thread Mark Drew
Hopefully BlueDragon;'s Market penetration of its free version will
help the increase in userbase

MD


On Wed, 1 Dec 2004 09:27:06 +0100, Micha Schopman
[EMAIL PROTECTED] wrote:
 PHP has a much larger user base than ColdFusion has. The result of that
 is also noticeable in the performance and architecture of those forum
 applications. There are a lot of hobbyists playing with PHP without a
 good understanding of database and architecture fundamentals.
 
 Micha Schopman
 Software Engineer
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185776
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Andy Jarrett
I've was thinking about this post last night - don't ask.

To give you a little background im mainly a solid Fuseboxer so issues
of layout have always been in the back of my head as it is something
FB accomodates for. But the one thing i love about the move from FB2
to FB3 was having the layout file in one file.

Well after reading this post it got me thinking about the Layout
process again (mainly because i am also looking at doing a small app
without FB for a change). And i was wondering why the cfsavecontent
tag isn't used here?

Basically your page would be:

cfsavecontent variable=content
Content Goes Here
/cfsavecontent

This would allow several options at the bottom of the page

1) cfinclude template=layout.cfm 
This would take the variable content and display its contents

2) cfmodule template=layout.cfm body=#content#

3) cf_foo#content#/cf_foo

4) Plus you could even put the layout template reference in the
onRequestEnd.cfm and put some logic for each page?

Just my 2 cents

Andy
www.andyjarrett.co.uk

On Wed, 1 Dec 2004 09:12:08 +0100, Micha Schopman
[EMAIL PROTECTED] wrote:
 Personally, the advantages of cfmodule outweigh those of cfinclude. The
 performance hit of cfmodule is really low, and cfmodule provides you
 with encapsulation. Variables defined within a template called by
 cfmodule have no effect on the executed code outside that template
 (unless you are using variables in request, session, application,
 client, server, or use the caller).
 
 What you need to keep in mind, when you call a cfmodule template within
 a CFC, and use caller in that template, the variable is returned to the
 CFC. So if you want to use returned data from the template, you need to
 put business logic in your CFC which handles that.
 
 Micha Schopman
 Software Engineer
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185777
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Micha Schopman
Why would you want to do that :) 

Currently this is how the source looks from our CMS pages based for the
CF5 version .. 

cfmodule 

template=#Request.Application.RootMapping#includes/loadTemplate.cfm
templateName=header
objectName=page
cfmodule 

template=#Request.Application.RootMapping#includes/loadTemplate.cfm
templateName=include.homepage
objectName=page
cfmodule 

template=#Request.Application.RootMapping#includes/loadTemplate.cfm
templateName=footer
objectName=page


The loadtemplate.cfm is a engine which provides us with overriding
schemes. I personally would only use cfsavecontent for caching logic.
Then you would have encapsulated those tags with a cfsavecontent tag.


Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185778
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Help with Dynamic Directory

2004-12-01 Thread Massimo Foti
 I am working on a script that will dynamically determine where
 a directory is located within an application.

Try this:

http://www.cflib.org/udf.cfm?ID=841

Inside my Application.cfm I usually have this:

cfset appRoot=GetDirectoryFromPath(GetCurrentTemplatePath())
!--- Figure out relative path from the current template to the app's
root ---
cfset pathToRoot=relativeFilePath(GetTemplatePath(), appRoot)

Hope it will help


Massimo Foti
http://www.massimocorner.com

Co-Author of Dreamweaver MX 2004 Magic:
http://www.dwmagic.com/



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185779
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Stephen Moretti (cfmaster)
The loadtemplate.cfm is a engine which provides us with overriding
schemes. 

So basically you're using a cfmodule to cfinclude some files depending 
on what is in the attributes of the tag.

I personally would only use cfsavecontent for caching logic.
Then you would have encapsulated those tags with a cfsavecontent tag.
  

??confused   cfsavecontent takes output and puts it into a variable. It 
doesn't cache anything.

Micha,  a favour. Could you put at least a little of the email that you 
are replying to into your response please? For some reason your emails 
don't thread properly, they always appear under the initial email and 
not under the email you are replying to.  In a long thread without a 
reference to what you're replying to, your responses can be very confusing.

Stephen


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185780
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Best Practice: Import Delimited List to Database

2004-12-01 Thread Massimo Foti
I wrote a CFC that helps me automating similar tasks:

http://www.olimpo.ch/tmt/cfc/tmt_csv.zip

Check it out andsee if it may fit your needs


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185781
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


Re: MX Methodologies (Mach2?? Fusebox??)

2004-12-01 Thread Massimo Foti
 Of course, if you put it that way, it is better.
 The fact is actually that no technology will enable a bad programmer to
write good code.
 The fact is also that spaghetti FuseBox and spaghetti OO is worse than
anything, and YES,
 spaghetti Fusebox and spaghetti code under any framework exists as well.

While you can always write spaghetti code in a procedural language,
object-oriented languages used poorly can add meatballs to your spaghetti.
- Andrew Hunt, David Thomas

:-)))


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185782
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


Re: cfstoredproc and cfdump

2004-12-01 Thread Ian Littlefair
Stephen Moretti (cfmaster) wrote:

Oh! Meant to say.

You should still be able to access that :B1 column inside a 
cfloop/cfoutput, like this : searchResults[:B1]

Stephen

Thanks.

To give you some background I don't have any control over the SP. I'm using the 
user credentials that gives them access to another application as a form 
front-end to access some dynamic reports. I've had a look at the SP and with my 
limited knowledge of Oracle SP's it looks as though the column id's are created 
based on what the user's enter.

column :B1 is created if the user's login details are ok. Y is then dumped 
into the column.

column 'N'(single quotes)is created if the user enters an incorrect password. 
This produces an N.

column 'A' is created if the user exceeds three attempts to login. This 
produces an A.

column 'W' is created if the passworrd is due to expire soon. This produces a 
W.

column P_KEY remains the same.

In CF I assume I'll have to check to see if the column-name exists first and 
then use the character returned to allow access or return a message. I've not 
yet figured that one out yet!

Ian

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185783
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


cfx_google on cf5 and linux

2004-12-01 Thread Stephen Moretti (cfmaster)
I'm trying to get cfx_google up and running on CF5 on Linux.

I've got the default cf5 jvm registered.
I've got the full path to the googleapi.jar in the class path field (its 
the only one there)
I've been lazy and put the jar in to the default 
/opt/coldfusion/Java/classes directory, so CFX Jar Path is just that and 
so is the Dynamic Class Load Path.

In the CFX Tags I've created a java cfx tag entry with CFX_GOOGLE for 
the tag name and CFX_Google for the Class Name.

The jar has the same ownership and rights as the other jar files in the 
Java/classes folder and I've checked that I've got the right case for 
the class name in the jar.

I've restarted CF a number of times and rebooted the whole server once.

Despite all this I'm still getting :
The JVM library could not be found. Please check if the file specified 
in the ColdFusion Administrator actually exists.

I'm kinda rusty on java cfx's, but I think I've covered all the bases, 
so not sure why this is failing. 

Any help would be much appreciated.

Stephen


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185784
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Java access to CF runtime

2004-12-01 Thread Katz, Dov B (IT)
My site gets a large amount of traffic, and I am using fuseads (formerly
available from fusetalk, inc) for my ad server in its high load
mode.  I do not like the fact that ad-related DB usage (primarily for
logging impressions and click throughs) are contributing to my page
processing time, and I am looking to eliminate or significantly reduce
that usage to allow for better performance and scalability.
 
I plan to write an optimized fuseads (formerly available from fusetalk,
inc) java wrapper for my CF site which does the following:
 
1) Singleton thread-safe instance of it in the application scope
2) Persistent cache of banners, loaded from Fuseads DB, but kept as
local objects,  reloaded in a separate, non CF thread (i.e. not by
cfschedule, but by me spawning a maintenance thread when you use this
object)
3) manages click-throughs, impressions, and only does batch updates on
the DB when a banner reaches X (say, 1000) impressions.  Clickthroughs
updated also through this maintenance thread
 
The goals for me:
1) No ad-related DB access is in the CF response threads
2) Ad contribution to response time is minimal because always reading
from memory
3) DB use is better optimized for a site with alot of hits (since the
existing fuseads inserts a row in an impression table every time a
banner is displayed, and aggregates it nightly.  I'd like to reduce
those inserts by a scale of 1000 since the site is getting 600K
pageviews a day, so there's no real point of counting banner impressions
with such precision)
 
Any suggestions, thoughts, etc?  I'm running MX 6.1 with IIS on a
2x933Mhz machine with 1GB RAM, and SQL2K on the same box.
 
Thanks
dov 

 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited. 
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185785
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


[Fixed Subject] Java-based fuseads wrapper (Was: Java access to CF runtime)

2004-12-01 Thread Katz, Dov B (IT)
My site gets a large amount of traffic, and I am using fuseads (formerly
available from fusetalk, inc) for my ad server in its high load
mode.  I do not like the fact that ad-related DB usage (primarily for
logging impressions and click throughs) are contributing to my page
processing time, and I am looking to eliminate or significantly reduce
that usage to allow for better performance and scalability.
 
I plan to write an optimized fuseads (formerly available from fusetalk,
inc) java wrapper for my CF site which does the following:
 
1) Singleton thread-safe instance of it in the application scope
2) Persistent cache of banners, loaded from Fuseads DB, but kept as
local objects,  reloaded in a separate, non CF thread (i.e. not by
cfschedule, but by me spawning a maintenance thread when you use this
object)
3) manages click-throughs, impressions, and only does batch updates on
the DB when a banner reaches X (say, 1000) impressions.  Clickthroughs
updated also through this maintenance thread
 
The goals for me:
1) No ad-related DB access is in the CF response threads
2) Ad contribution to response time is minimal because always reading
from memory
3) DB use is better optimized for a site with alot of hits (since the
existing fuseads inserts a row in an impression table every time a
banner is displayed, and aggregates it nightly.  I'd like to reduce
those inserts by a scale of 1000 since the site is getting 600K
pageviews a day, so there's no real point of counting banner impressions
with such precision)
 
Any suggestions, thoughts, etc?  I'm running MX 6.1 with IIS on a
2x933Mhz machine with 1GB RAM, and SQL2K on the same box.
 
Thanks
dov

 
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited. 
 




~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185786
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


Re: Best Practice: Import Delimited List to Database

2004-12-01 Thread Greg Morphis
If you're using Oracle and can run sqlldr.exe wouldnt that be your
best practice? For an Oracle system?


On Wed, 1 Dec 2004 11:11:33 +0100, Massimo Foti [EMAIL PROTECTED] wrote:
 I wrote a CFC that helps me automating similar tasks:
 
 http://www.olimpo.ch/tmt/cfc/tmt_csv.zip
 
 Check it out andsee if it may fit your needs
 
 
 Massimo Foti
 DW tools: http://www.massimocorner.com
 CF tools:  http://www.olimpo.ch/tmt/
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185787
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


SOT: Garbage Data Detection/Prevention

2004-12-01 Thread Gavin Brook
Hi All,
 
  I've got a CF/SQL Server 2k application that serves several hundred users
and is designed to store large amounts of data. I have built in many checks
and restrictions into the application to prevent incorrect data being
inserted. But there is a proportion of users who are circumventing these
restrictions by entering garbage data. For instance, where a name is
required, they would enter jdsl. 
 
  There is only so far I can go to do checks as data is input, so I need to
concentrate on user education by finding the culprits. There is full
auditing of the data and to this end, I was wondering if anyone had any
thoughts on ways to find garbage data, or other steps I could take to
prevent it. Most of the data in the system is fine, so I was thinking maybe
somehow comparing data with other examples of correct info to root out the
garbage. I'm just not sure how!
 
  Any thoughts or suggestions would be greatly appreciated.
 
Thanks,
 
Gavin


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185788
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


Re: Best Practice: Import Delimited List to Database

2004-12-01 Thread Scott Stroz
On Tue, 30 Nov 2004 11:12:54 -0800, Bryan Stevenson
[EMAIL PROTECTED] wrote:
 Yep...but you can fire DTS on the fly ;-)
Absolutely...several ways as a matter of fact.
-- 
Scott Stroz
Boyzoid.com
___
Some days you are the dog,
Some days you are the tree.

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185789
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SOT: Garbage Data Detection/Prevention

2004-12-01 Thread Ryan Emerle
The only thing i would suggest is that you don't alienate your users
by implmenting some flawed garbage detection scheme.  There will be
some users whose name really is Sadf Dsij (even if it's not an
international site).

If you do anything, i would run your algorithm in the background and
simply flag the accounts for human review if they seem off.  One
method would be to run a spelling-type check and based on the number
of possible errors, you can flag the entry.

The last thing you want to do is piss of your users so that you have
less work to do :)

-R


On Wed, 1 Dec 2004 13:39:24 -, Gavin Brook [EMAIL PROTECTED] wrote:
 Hi All,
 
   I've got a CF/SQL Server 2k application that serves several hundred users
 and is designed to store large amounts of data. I have built in many checks
 and restrictions into the application to prevent incorrect data being
 inserted. But there is a proportion of users who are circumventing these
 restrictions by entering garbage data. For instance, where a name is
 required, they would enter jdsl.
 
   There is only so far I can go to do checks as data is input, so I need to
 concentrate on user education by finding the culprits. There is full
 auditing of the data and to this end, I was wondering if anyone had any
 thoughts on ways to find garbage data, or other steps I could take to
 prevent it. Most of the data in the system is fine, so I was thinking maybe
 somehow comparing data with other examples of correct info to root out the
 garbage. I'm just not sure how!
 
   Any thoughts or suggestions would be greatly appreciated.
 
 Thanks,
 
 Gavin
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185790
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Using COMMIT inside cfquery with MySQL give error

2004-12-01 Thread Marco Antonio C. Santos
Hi all

after insert a user record I need to show that same record to that
user. But using SELECT statement in other cfquery don't show that user
record. Please look this simple example:
cfquery datasource=#application.dsn# name=insertuser
INSERT INTO resourcebank ( userID,corpID,statusID,age1 )
VALUES (8EFACE46-795D-1267-34CB31AA6276B84F,17 ,1,37 )
/cfquery

Insert works fine.

By now I need to show user info:

cfquery datasource=#application.dsn# name=getuserinfo
SELECT userID,statusID
FROM resourcebank
WHERE userID = 8EFACE46-795D-1267-34CB31AA6276B84F
/cfquery

This query returns ZERO records inserting COMMIT after INSERT
query don't work.


How to refresh that connection to work like a charm?

Cheers

Marco

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185791
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SOT: Garbage Data Detection/Prevention

2004-12-01 Thread Gavin Brook
Yeah, I agree. I only really want to find out who's doing it so they can be
better trained.

The spelling check is a good idea. It will at least cut the list down.

At the minute I've basically got the system to checking user data on the fly
to check for duplicates, required fields and validation of phone numbers,
etc.

-Original Message-
From: Ryan Emerle [mailto:[EMAIL PROTECTED] 
Sent: 01 December 2004 14:17
To: CF-Talk
Subject: Re: SOT: Garbage Data Detection/Prevention


The only thing i would suggest is that you don't alienate your users by
implmenting some flawed garbage detection scheme.  There will be some users
whose name really is Sadf Dsij (even if it's not an international site).

If you do anything, i would run your algorithm in the background and simply
flag the accounts for human review if they seem off.  One method would be to
run a spelling-type check and based on the number of possible errors, you
can flag the entry.

The last thing you want to do is piss of your users so that you have less
work to do :)

-R


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185792
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


Web services, complex compound objects and axis

2004-12-01 Thread Thomas Chiverton
I see that CF uses Apache Axis 1.1 for web services.
We have a particular WS we want to use, and using Axis 1.1 we can't even build 
a java client against it (it complains about invalid objects in the XML, and 
CF just falls over with an 'unknown deserliser' error).

*However* Axis 1.2RC2 will happily build stubs that work with a Java client, 
_so_ :

Has anyone ever replaced the Axis libraries in ColdFusion (by mangerling the 
classloader, replacing things in lib/ ...) ?
-- 
Tom Chiverton 
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, 
BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee only. If 
you are not the intended recipient,
please notify us immediately. You should not use, disclose, distribute or copy 
this communication if received
in error. No binding contract will result from this e-mail until such time as 
a written document is signed on
behalf of the company. BlueFinger Limited cannot accept responsibility for the 
completeness or accuracy of
this message as it has been transmitted over public networks.***

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185793
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using COMMIT inside cfquery with MySQL give error

2004-12-01 Thread Spectrum Web
Works now

I insert this query after the first INSERT query
cfquery name=commituser datasource=#application.dsn#
COMMIT;
/cfquery

Cheers

Hi all

after insert a user record I need to show that same record to that
user. But using SELECT statement in other cfquery don't show that user
record. Please look this simple example:
cfquery datasource=#application.dsn# name=insertuser
INSERT INTO resourcebank ( userID,corpID,statusID,age1 )
VALUES (8EFACE46-795D-1267-34CB31AA6276B84F,17 ,1,37 )
/cfquery

Insert works fine.

By now I need to show user info:

cfquery datasource=#application.dsn# name=getuserinfo
SELECT userID,statusID
FROM resourcebank
WHERE userID = 8EFACE46-795D-1267-34CB31AA6276B84F
/cfquery

This query returns ZERO records inserting COMMIT after INSERT
query don't work.


How to refresh that connection to work like a charm?

Cheers

Marco

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185795
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Using COMMIT inside cfquery with MySQL give error

2004-12-01 Thread Spectrum Web
Works now

I insert this query after the first INSERT query
cfquery name=commituser datasource=#application.dsn#
COMMIT;
/cfquery

Cheers

Hi all

after insert a user record I need to show that same record to that
user. But using SELECT statement in other cfquery don't show that user
record. Please look this simple example:
cfquery datasource=#application.dsn# name=insertuser
INSERT INTO resourcebank ( userID,corpID,statusID,age1 )
VALUES (8EFACE46-795D-1267-34CB31AA6276B84F,17 ,1,37 )
/cfquery

Insert works fine.

By now I need to show user info:

cfquery datasource=#application.dsn# name=getuserinfo
SELECT userID,statusID
FROM resourcebank
WHERE userID = 8EFACE46-795D-1267-34CB31AA6276B84F
/cfquery

This query returns ZERO records inserting COMMIT after INSERT
query don't work.


How to refresh that connection to work like a charm?

Cheers

Marco

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185794
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 If I remember correctly, doesn't cfmodule create a whole new memory
 block for every call, where as the cfinclude will only use the existing
 memory space and be part of the normal page cache?

Yes. In fact, that's at least part of the point. cfmodule -- and custom tags
in general -- provide encapsulation. I would only use cfinclude only if you
really want the included tag to be able to step all over your variables and
vise-versa.

 Even if this isn't true for CFMX any more, personally, I'd probably lean
 towards the cfinclude method, because
 a) thats what I'm used to,
 b) I find it visually easier to read

My preference is to use custom tags. I keep all the tags having to do with
the look and feel of a site in a directory called /tagLibs/layout. I then
use the cfimport tag to import them with the prefix layout. It ends up
looking something like this:

layout:page
htmlTitle=MySite.com - Home Page
pageTitle=Welcome

layout:navigation section=Home

/layout:navigation

/layout:page

Personally, I find that much easier to read. More importantly (almost as
important as encapsulation), it also affords me the ability to pass in
parameters via the tag attributes. The tags have corresponding cfparam tags
which check to ensure that parameters have been passed and supply defaults
if necessary.

 c) I feel like can tinker with the header and footer dynamically
 with a cfinclude than a cfmodule.

I assume by using the phrase I feel like you mean that there isn't a
practical difference? I would agree that the use of includes establishes
less of a contract between the caller and the tag/template. However, I think
that's a very bad thing. You, on the other hand, seem to prefer a less
formal interface between your cfm templates.

 andd) Easier to get to the header and footers if I need to change
 them or simply replace them.

I'm not sure I understand this. Why would you have to put your cfm template
anywhere different if you're using the cfmodule tag as opposed to cfinclude?
As far as I know, the path attribute of both tags obey all the same rules.
cfimport, on the other hand, does not accept dynamic values in the taglib
attribute.

As I said, I store all my tags in directories beneath a /tagLibs/ directory
and import them as necessary. However, you could put your files all in the
root directory of your site and use the cfmodule tag or even the cf_tagName
sytax.

 What goes on inside the the cfmodule?  Is the header and footer actually
 inside the cfmodule template or does it include the header and footer
 templates?  If it includes them, then it'd be a bit of a pointless call
 to the cfmodule, if its in the cfmodule template, then refer to my point
 (d) above. ;)

You're ignoring several key points, all mentioned above. In brief, though,
tags afford you 1) a degree of encapsulation; 2) specify parameters in a
more formal way; 3) the ability to enforce whether or not the end tag has
been specified (thisTag.hasEndTag); and 4) the ability to control the naming
of your tags (cfimport prefix attribute) and, by extension, their color
coding and such in your editor of choice.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185796
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFC required arguments

2004-12-01 Thread Sparrow-Hood, Walter
Barney,
I'm curious - why do you prefer structKeyExists() vs. setting
default values?

Walt

-Original Message-
From: Barney Boisvert [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 30, 2004 6:26 PM
To: CF-Talk
Subject: Re: CFC required arguments

If you use positional parameters, only parameters at the end can be
left off.  However, you can use named parameters without using
CFINVOKE:

cfset o.method(name=url.name, age=url.age, ...) /

I generally prefer to not specify a default for my option arguments,
and then use structKeyExists() against the 'arguments' struct to check
if they were passed.  Since we don't have method overloading in CF,
optional parameters (and their associated conditionals) are a
necessary evil.

cheers,
barneyb

On Wed, 1 Dec 2004 10:20:27 +1100, Paul Wilson [EMAIL PROTECTED] wrote:
 I'm using createObject to invoke a CFC and one of the methods in the CFC
 takes a number of arguments, all numeric but not all required. In the
 CFC I have some conditional statements that do various things based on
 the arguments passed in.

 cfif arguments.arg neq do this/cfif

 Firstly is it a good idea to do this in a CFC? And secondly, how can I
 pass is the only the arguments required .e.g.

 cfset result = obj.testmethod(0,1, ,10)

 The third argument is not required but this will throw an error. This
 situation doesn't arise when you use cfinvoke as you can simply miss out
 the cfinvokeargument tag.

 Thanks

--
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185797
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Necessary to run full Email Server to have auto-unsubscribe functionality?

2004-12-01 Thread Rick Faircloth
Hi, all...

CF 4.5.2...Windows 2000 Pro

I've been running all my mail functions using CFMAIL tags and
using IIS's built-in SMTP for sending mass mailings and that's worked fine.

Now, I'm beginning to have a desire and need to have users be able to
unsubscribe themselves automatically from mailing lists.  (After sending an
auto-reply requiring the user to click a link to unsubscribe to prevent
malicious
users from unsubscribing someone without their knowledge or consent)

Is there a way to do this from with CF and SQL or do I need an email server,
such as CoolFusion's FusionMail to handle this type of functionality?

Thanks for the advice...

Rick

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.290 / Virus Database: 265.4.4 - Release Date: 11/30/2004


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185798
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Micha Schopman
In ASP based services, cfimport is useless because it demands a static
taglib attribute. That takes away all the glamour and glitter the tag
could have. At.. least.. for me ;)

Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185799
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


RE: Necessary to run full Email Server to have auto-unsubscribe functionality?

2004-12-01 Thread Katz, Dov B (IT)
In theory, a quick and dirty way to do this is set up a new pop account
called

[EMAIL PROTECTED] host.

Then you can CFSCHEDULE job to run every 3-4 hours, read mail from that
mailbox (CFPOP ), and unsubscribe the sender, sending them a confirm
message.

I've done something similar where I need to snarf payment confirmations
from CyberCash where all I can do is have them cc me a receipt via
email.

HTH,

-Dov

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 10:31 AM
To: CF-Talk
Subject: OT: Necessary to run full Email Server to have auto-unsubscribe
functionality?

Hi, all...

CF 4.5.2...Windows 2000 Pro

I've been running all my mail functions using CFMAIL tags and using
IIS's built-in SMTP for sending mass mailings and that's worked fine.

Now, I'm beginning to have a desire and need to have users be able to
unsubscribe themselves automatically from mailing lists.  (After sending
an auto-reply requiring the user to click a link to unsubscribe to
prevent malicious users from unsubscribing someone without their
knowledge or consent)

Is there a way to do this from with CF and SQL or do I need an email
server, such as CoolFusion's FusionMail to handle this type of
functionality?

Thanks for the advice...

Rick

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.290 / Virus Database: 265.4.4 - Release Date: 11/30/2004




~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185800
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


Re: unix user cfexecute

2004-12-01 Thread Dave Carabetta
On Wed, 1 Dec 2004 09:19:25 +0100, Hugo Ahlenius [EMAIL PROTECTED] wrote:
 Is there a better way to call an external program under unix? I wasn't
 aware of this... (I haven't noticed any big problems, the few times
 where I have cfexecuted an external program)
 

Well, in our case, we wrapped the external process in a web service
and then called it that way (via cfinvoke/createObject). Not sure what
you environment setup is, but perhaps that's an option?

Regards,
Dave.

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185801
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 In ASP based services, cfimport is useless because it demands a static
 taglib attribute. That takes away all the glamour and glitter the tag
 could have. At.. least.. for me ;)

I agree that it's an unfortunate limitation, but I'm not sure how ASP based
services has any direct relevance? We have developed and/or currently host
several ASP style applications, some of which use the cfimport tag. The
static nature of the cfimport tag definitely affects the overall site
structure a bit, but I don't see how it precludes an entire class of
applications.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185802
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Micha Schopman
Ben,

Imagine this situation. You have a CMS, and it has a shared directory
with templates for all customers. Each customer has also its own
directory with templates. These template function as overriding
templates instead of those shared templates (see them as virtual and
those of the customer as sealed), and such the taglib attribute needs to
be set dynamically depending on the overriding situation.

Micha Schopman
Software Engineer

Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
Tel 033-4535377, Fax 033-4535388
KvK Amersfoort 39081679, Rabo 39.48.05.380



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185803
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


Re: jsessionid cookies

2004-12-01 Thread Nick Cabell
Thank you so much for the helpful answer (finally!).

If it is JRUN that is setting the jsessionid (regardless of whether you have 
told CF to store session variables in the j2ee object) then what
explains why there is no jsessionid coming from the hosted site - does this 
suggest they are not running CFMX on top of JRUN?

Also, any idea why there the jsessionid cookie is set and then immediately 
reset when I first access the dev site that is running on top of JRUN? From 
what you say, that cannot be anything I am doing since it is done by the j2ee 
software.


 CFMX doesn't set the jsessionid cookie itself, it's set by the J2EE 
 application server. Setting CMFX to use J2EE session management means 
 CFMX session variables are stored in the J2EE HTTP session object (and 
 can thus be accessed through Java calls).
 
 Setting CFMX for J2EE session management on a shared host would 
 require some coordination, but seems feasible.
 
 best,
 Chris Norloff
 
 http://www.macromedia.com/support/coldfusion/ts/documents/tn18232.htm

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185804
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


Re: Best Practice: Import Delimited List to Database

2004-12-01 Thread Aaron Rouse
As best I can tell, yes.  I use SQLLDR triggered by a nightly windows
scheduler for one project and works out great.  Though DTS would be so
much nicer to use and could even import into a Oracle DB just doubtful
one would have access to DTS if in an environment that uses Oracle.  I
have yet to try and see if I can use SQLLDR via an execution done in
CF.  Only reason that I may not would be if some sort of security
solution was blocking it and of course if the executable itself was
missing from that server.

-- 
Aaron Rouse
http://www.happyhacker.com/

On Wed, 1 Dec 2004 07:12:47 -0600, Greg Morphis [EMAIL PROTECTED] wrote:
 If you're using Oracle and can run sqlldr.exe wouldnt that be your
 best practice? For an Oracle system?
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185805
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Necessary to run full Email Server to have auto-unsubscribe functionality?

2004-12-01 Thread Rick Faircloth
I'll check into that and see what pops up!   ;o)

Thanks,

Rick


  -Original Message-
  From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, December 01, 2004 10:34 AM
  To: CF-Talk
  Subject: RE: Necessary to run full Email Server to have
  auto-unsubscribe
  functionality?


  In theory, a quick and dirty way to do this is set up a new
  pop account
  called

  [EMAIL PROTECTED] host.

  Then you can CFSCHEDULE job to run every 3-4 hours, read
  mail from that
  mailbox (CFPOP ), and unsubscribe the sender, sending them a confirm
  message.

  I've done something similar where I need to snarf payment
  confirmations
  from CyberCash where all I can do is have them cc me a receipt via
  email.

  HTH,

  -Dov

  -Original Message-
  From: Rick Faircloth [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, December 01, 2004 10:31 AM
  To: CF-Talk
  Subject: OT: Necessary to run full Email Server to have
  auto-unsubscribe
  functionality?

  Hi, all...

  CF 4.5.2...Windows 2000 Pro

  I've been running all my mail functions using CFMAIL tags and using
  IIS's built-in SMTP for sending mass mailings and that's worked fine.

  Now, I'm beginning to have a desire and need to have users be able to
  unsubscribe themselves automatically from mailing lists.
  (After sending
  an auto-reply requiring the user to click a link to unsubscribe to
  prevent malicious users from unsubscribing someone without their
  knowledge or consent)

  Is there a way to do this from with CF and SQL or do I need an email
  server, such as CoolFusion's FusionMail to handle this type of
  functionality?

  Thanks for the advice...

  Rick

  --
  No virus found in this outgoing message.
  Checked by AVG Anti-Virus.
  Version: 7.0.290 / Virus Database: 265.4.4 - Release Date: 11/30/2004




  ~
  |
  Special thanks to the CF Community Suite Silver Sponsor - RUWebby
  http://www.ruwebby.com

  Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185800
  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=708.628.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.290 / Virus Database: 265.4.4 - Release Date: 11/30/2004

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.290 / Virus Database: 265.4.4 - Release Date: 11/30/2004


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185806
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


Re: Best Practice: Import Delimited List to Database

2004-12-01 Thread Greg Morphis
I use sqlldr from a cfexecute call in CF. It's remarkably fast. I load
some 25,000 rows (some 300 columns in length) from an uploaded txt
document. It only takes a few minutes to do so.


On Wed, 1 Dec 2004 09:58:09 -0600, Aaron Rouse [EMAIL PROTECTED] wrote:
 As best I can tell, yes.  I use SQLLDR triggered by a nightly windows
 scheduler for one project and works out great.  Though DTS would be so
 much nicer to use and could even import into a Oracle DB just doubtful
 one would have access to DTS if in an environment that uses Oracle.  I
 have yet to try and see if I can use SQLLDR via an execution done in
 CF.  Only reason that I may not would be if some sort of security
 solution was blocking it and of course if the executable itself was
 missing from that server.
 
 --
 Aaron Rouse
 http://www.happyhacker.com/
 
 On Wed, 1 Dec 2004 07:12:47 -0600, Greg Morphis [EMAIL PROTECTED] wrote:
  If you're using Oracle and can run sqlldr.exe wouldnt that be your
  best practice? For an Oracle system?
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185807
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


OT : Printing without the Dialog

2004-12-01 Thread Robertson-Ravo, Neil (RX)
Anyone know of a way to stop the Select Printer Dialog appearing when using
the following command:

I can't seem to find an API anywhere.

rundll32.exe C:\WINDOWS\System32\mshtml.dll,PrintHTML %1 %2 %3 %4

ideally passing the printer will help! At least to use as default.


N

This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185808
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Best Practice: Import Delimited List to Database

2004-12-01 Thread Aaron Rouse
Yeap, it is fast the three files I import nightly each are at least
50k rows and some columns upwards of 2000 characters.  They only take
a few minutes to go in and would be quicker if I disabled the indexes,
just never gone back to that project to change things since everyone
is plenty happy with it.  For some reason I think CFExecute is
disabled on the servers here though so it may not be an option for me
on this new project.

-- 
Aaron Rouse
http://www.happyhacker.com/


On Wed, 1 Dec 2004 10:06:41 -0600, Greg Morphis [EMAIL PROTECTED] wrote:
 I use sqlldr from a cfexecute call in CF. It's remarkably fast. I load
 some 25,000 rows (some 300 columns in length) from an uploaded txt
 document. It only takes a few minutes to do so.
 


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185809
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


Plum V1.0 Public Beta has been released

2004-12-01 Thread Adam Churvis
Plum V1.0 Public Beta has been released

Productivity Enhancement today released the first public beta version of its
new product, Plum, which combines a code generator IDE with a comprehensive
application framework and an effective rapid development methodology. Plum
can build a complete website with full administrative control over a large
relational database in a matter of minutes, and building custom business
logic and workflows on top of the Plum Framework is simple and
straightforward.

Fusion Authority is handling the press release:
http://www.fusionauthority.com/Article1.cfm/ArticleID:4333

Here is a more complete list of what Plum can do:
http://www.productivityenhancement.com/plum/WhatPlumCanDo.cfm

You can download the Plum Public Beta here:
http://www.productivityenhancement.com/plum/DownloadPlum.cfm

Please use our support system for all your support needs:
http://www.productivityenhancement.com/support

Tell us what you like and don't like on the Plum Discussion List:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm

We sincerely hope you like Plum! :)

Respectfully,

Adam Phillip Churvis
Member of Team Macromedia
http://www.ProductivityEnhancement.com

Download Plum and other cool development tools,
and get advanced intensive Master-level training:

* C#  ASP.NET for ColdFusion Developers
* ColdFusion MX Master Class
* Advanced Development with CFMX and SQL Server 2000


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185810
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Stephen Moretti (cfmaster)
Ben Rogers wrote:

In ASP based services, cfimport is useless because it demands a static
taglib attribute. That takes away all the glamour and glitter the tag
could have. At.. least.. for me ;)



I agree that it's an unfortunate limitation, but I'm not sure how ASP based
services has any direct relevance? We have developed and/or currently host
several ASP style applications, some of which use the cfimport tag. The
static nature of the cfimport tag definitely affects the overall site
structure a bit, but I don't see how it precludes an entire class of
applications.
  

ASP = Application Server Provider not Active Server Pages in this instance


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185811
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Web services, complex compound objects and axis

2004-12-01 Thread Thomas Chiverton
On Wednesday 01 Dec 2004 14:38 pm, Thomas Chiverton wrote:
 Has anyone ever replaced the Axis libraries in ColdFusion (by mangerling
 the classloader, replacing things in lib/ ...) ?

We're trying to use Spike's UrlClassLoader trick, but it ends up complaining 
about the log4j set-up... :-(

-- 
Tom Chiverton 
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, 
BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee only. If 
you are not the intended recipient,
please notify us immediately. You should not use, disclose, distribute or copy 
this communication if received
in error. No binding contract will result from this e-mail until such time as 
a written document is signed on
behalf of the company. BlueFinger Limited cannot accept responsibility for the 
completeness or accuracy of
this message as it has been transmitted over public networks.***

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185812
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Aaron Rouse
Our framework here uses the custom tag approach, not to imply it is
the best way to go, just what has been in use here for years.  So a
typical page could be something like:

cf_headertag title=Blah check=Yes userlevel=GenUp

cf_tableheader title=Something
trtdBlah/td/tr
cf_tablefooter

cf_button label=Back;Menu

cf_footer links=Yes

Now each tag may call other tags, for instance the header one calls a
tag that checks to see if logged in, checks to see if you have a user
level that is at the level attribute or above and so on.  Just
glancing at one simple page, looks like 18 total CFM files are called
for this page to be displayed, that includes the Application.cfm and
OnRequestEnd.cfm files.

This same framework uses cfmodule a lot for the database table
management section.  It essentially is setup so you make one file per
table that you need to manage and that file is a huge switch/case and
other pages that build your output via cfmodule calls to the
switch/case.  That section allows for
updating/inserting/deleting/viewing/exporting data into whatever
database table.

I'd almost hate to know how resource wasteful all this comes out to
be, but does make it easy for the non-CF people to whip out some
applications which is why it is still in use to this day.

-- 
Aaron Rouse
http://www.happyhacker.com/

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185813
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: Website Documentation?

2004-12-01 Thread Claremont, Timothy
Does anyone on the list have any pointers or website URLS that dictate
some best practices when it comes to CF based web site documentation?
It guess I am looking for advice on how to create an owners manual for
the website that will allow another webmaster to step in and take over
if and when the time comes. A google search for website and
documentation came up a bit short.

TIA,
Tim


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185814
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


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Jerry Johnson
I am going to regret this, but...

We use a similar approach, and for the same reasons. 
But instead of the cf_footer tag, we use /cf_header. (No parameters are 
passed to the close tags.)

cf_channelHeader title=Blah
cf_channelContent title= subtitle= subscriberOnly=
Blah
/cf_channelContent
/cf_channelHeader

Jerry

Jerry Johnson
Web Developer
Dolan Media Company

 [EMAIL PROTECTED] 12/01/04 11:49AM 
Our framework here uses the custom tag approach, not to imply it is
the best way to go, just what has been in use here for years.  So a
typical page could be something like:

cf_headertag title=Blah check=Yes userlevel=GenUp

cf_tableheader title=Something
trtdBlah/td/tr
cf_tablefooter

cf_button label=Back;Menu

cf_footer links=Yes



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185815
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


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Stephen Moretti (cfmaster)
Ben Rogers wrote:

If I remember correctly, doesn't cfmodule create a whole new memory
block for every call, where as the cfinclude will only use the existing
memory space and be part of the normal page cache?



Yes. In fact, that's at least part of the point. cfmodule -- and custom tags 
in general -- provide encapsulation. I would only use cfinclude only if you 
really want the included tag to be able to step all over your variables and
vise-versa.
  

You are quite correct.  However, using cfmodule and custom tags is 
potentially is server killer because it is EVERY call to the 
cfmodule/tag and not just the first call that grabs additional memory.  
So for every page call for every site visitor more memory is allocated 
for each cfmodule.  Showing my age a bit now..  cfmodule and cf in 
general used to have a few problems with letting go of and reusing of 
allocated memory, so I've become acustom to using cfincludes rather than 
cfmodule, because of low resources in the memory department years back 
and a need to make stable applications that didn't require me to restart 
the server every couple of hours.  (A slight exageration, but that did 
used to happen with one of the sites I built back in 1997.  It used to 
get extremely high peeks of traffic at certain times of the day and it 
used to take the server down by taking all the available memory.  We 
eventually worked out what the problem was, reworked a load of stuff in 
the site and then site was rock solid - so solid that our poor old 128kb 
line used to get topped out)

With regards step all over your variables.  Never had a problem.  All 
it takes is a little care, attention to detail and meaningful variable 
names.

Even if this isn't true for CFMX any more, personally, I'd probably lean
towards the cfinclude method, because
a) thats what I'm used to,
b) I find it visually easier to read



My preference is to use custom tags. I keep all the tags having to do with the 
look and feel of a site in a directory called /tagLibs/layout. I then use the 
cfimport tag to import them with the prefix layout. It ends up
looking something like this:

What's CFIMPORT?  ~joke~   Most of my clients are still on CF5 (don't 
fix what aint broke).

Personally, I find that much easier to read. More importantly (almost as 
important as encapsulation), it also affords me the ability to pass in 
parameters via the tag attributes. The tags have corresponding cfparam tags
which check to ensure that parameters have been passed and supply defaults if 
necessary.
  

Personal feelings.  Don't rag on mine just because I don't agree with you.

  

c) I feel like can tinker with the header and footer dynamically with a 
cfinclude than a cfmodule.



I assume by using the phrase I feel like you mean that there isn't a 
practical difference? I would agree that the use of includes establishes less 
of a contract between the caller and the tag/template. However, I think that's 
a very bad thing. You, on the other hand, seem to prefer a less
formal interface between your cfm templates.
  

In a sense yes that is correct.  By tinker dynamically I mean I can 
replace the headers much more easily dynamically with cfinclude than I 
can with cfmodule.  I can have a directory full of different headers for 
different occasions (images of Wurzel Gummage come to mind).  I can 
easily switch between headers by changing a single variable.  Using a 
CFMODULE, I have to pass some information into the tag that tells the 
logic in the tag which bit of html to use.  That html is either hard 
coded into the module (yak!) or you cfinclude it (pointless call to 
cfmodule). 

andd) Easier to get to the header and footers if I need to change them or 
simply replace them.


I'm not sure I understand this. Why would you have to put your cfm template 
anywhere different if you're using the cfmodule tag as opposed to cfinclude?
As far as I know, the path attribute of both tags obey all the same rules.

So you've never had a client ask you to re-skin a site?  Here's a new 
design now go implement it. I'm not talking about simple CSS changes 
here.  We're talking structural changes. If you have display code 
embedded inside logic, which happens the second you use a cfmodule or a 
call to custom tag, you would have to fiddle on  changing the HTML 
buried in the logic or take the html out of the logic and replace it 
with the new html.  Both of these methods are prone to simple time 
consuming mistakes - one slip and away goes a bit of logic you didn't 
want to remove.  Seperate your html into individual files that can be 
included, set up a few standard variables for things like page titles 
etc and you can hand it off to a designer and let them get on with it 
with  no fear that they are going to break anything more disasterous 
than the page title.

What goes on inside the the cfmodule?  Is the header and footer actually 
inside the cfmodule template or does it include 

Re: Web services, complex compound objects and axis

2004-12-01 Thread Thomas Chiverton
log4j:ERROR A org.apache.log4j.xml.DOMConfigurator object is not assignable 
to a org.apache.log4j.spi.Configurator variable.
log4j:ERROR The class org.apache.log4j.spi.Configurator was loaded by
log4j:ERROR [EMAIL PROTECTED] whereas object of type
log4j:ERROR org.apache.log4j.xml.DOMConfigurator was loaded by 
[EMAIL PROTECTED]
log4j:ERROR Could not instantiate configurator 
[org.apache.log4j.xml.DOMConfigurator].

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185817
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


Re: [Fixed Subject] Java-based fuseads wrapper (Was: Java access to CF runtime)

2004-12-01 Thread Thomas Chiverton
On Wednesday 01 Dec 2004 12:31 pm, Katz, Dov B (IT) wrote:
 mode.  I do not like the fact that ad-related DB usage (primarily for
 logging impressions and click throughs) are contributing to my page
 processing time, 
 Any suggestions, thoughts, etc?  

Do what Supernova do with iFrames.

-- 
Tom Chiverton 
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple Quay, 
BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee only. If 
you are not the intended recipient,
please notify us immediately. You should not use, disclose, distribute or copy 
this communication if received
in error. No binding contract will result from this e-mail until such time as 
a written document is signed on
behalf of the company. BlueFinger Limited cannot accept responsibility for the 
completeness or accuracy of
this message as it has been transmitted over public networks.***

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185818
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
I can imagine such a situation. In fact, I wrote an e-commerce app that
functions somewhat similarly. However, I still maintain that the inability
to specify a dynamic taglib path at runtime does not preclude the use of the
cfimport tag in all ASP apps.

As a side note, the aforementioned e-commerce app does, in fact use the
cfimport tag. Each system provided tag is responsible for checking to see if
there is a customer supplied template and including it if so. This allowed
the system app to put certain restrictions on what templates could be called
and providing certain environment variables. 

Obviously, the customers can not define new tags. Well, they can, but they
have to use the cfmodule tag to use them, thus skirting the framework. But
that's an option they have.

Anyway, the point is that each application has different requirements,
regardless of whether or not it will be hosted in an ASP environment.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057

 -Original Message-
 From: Micha Schopman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, December 01, 2004 10:40 AM
 To: CF-Talk
 Subject: RE: CFMODULE vs. CFINCLUDE
 
 Ben,
 
 Imagine this situation. You have a CMS, and it has a shared directory
 with templates for all customers. Each customer has also its own
 directory with templates. These template function as overriding
 templates instead of those shared templates (see them as virtual and
 those of the customer as sealed), and such the taglib attribute needs to
 be set dynamically depending on the overriding situation.
 
 Micha Schopman
 Software Engineer
 
 Modern Media, Databankweg 12 M, 3821 AL  Amersfoort
 Tel 033-4535377, Fax 033-4535388
 KvK Amersfoort 39081679, Rabo 39.48.05.380
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185819
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 ASP = Application Server Provider not Active Server Pages in this instance

Heh, I think we're all aware of that. But thanks for lookin' out -- or did
you just figure it out yourself?

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057



~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185820
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


Re: MX Methodologies (Mach2?? Fusebox??)

2004-12-01 Thread Ali Awan
m all of a sudden I'm hungry for spaghetti bolognese
what were we talking about again? :P


While you can always write spaghetti code in a procedural language,
object-oriented languages used poorly can add meatballs to your spaghetti.
- Andrew Hunt, David Thomas

:-)))


Massimo Foti
DW tools: http://www.massimocorner.com
CF tools:  http://www.olimpo.ch/tmt/


~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185821
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


RE: [Fixed Subject] Java-based fuseads wrapper (Was: Java access to CF runtime)

2004-12-01 Thread Katz, Dov B (IT)
Ultimately, using iframes uses *some* server's database to manage the
ads, so it  won't solve anything but deferring the request to that
server. I'm looking for an in-server optimization, rather than simply to
distribute the load.

Thanks


Dov Katz


-Original Message-
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 12:08 PM
To: CF-Talk
Subject: Re: [Fixed Subject] Java-based fuseads wrapper (Was: Java
access to CF runtime)

On Wednesday 01 Dec 2004 12:31 pm, Katz, Dov B (IT) wrote:
 mode.  I do not like the fact that ad-related DB usage (primarily for 
 logging impressions and click throughs) are contributing to my page 
 processing time, Any suggestions, thoughts, etc?

Do what Supernova do with iFrames.

--
Tom Chiverton
Advanced ColdFusion Programmer
Tel: +44 (0)1749 834900
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834XXX
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185822
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


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Aaron Rouse
Our footer normally is called with no parameters, it just has the
ability for a few to be sent to it.  Offhand the only one I can think
of is the turning off of the navigation links that are normally
displayed in it.

-- 
Aaron Rouse
http://www.happyhacker.com/

On Wed, 01 Dec 2004 11:56:23 -0500, Jerry Johnson
[EMAIL PROTECTED] wrote:
 I am going to regret this, but...
 
 We use a similar approach, and for the same reasons.
 But instead of the cf_footer tag, we use /cf_header. (No parameters are 
 passed to the close tags.)
 
 cf_channelHeader title=Blah
cf_channelContent title= subtitle= subscriberOnly=
Blah
/cf_channelContent
 /cf_channelHeader
 
 Jerry
 
 Jerry Johnson
 Web Developer
 Dolan Media Company


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185823
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Aaron Rouse
We are still on CF5 here, very few MX boxes on our network and never
had the luck to get a project onto one of them.  We will be going to
MX though once Blackstone is out, sadly such is the way of life around
here.  He did not go to Oracle 9i until 10g was out as well. 
Unfortunately I doubt they will pay the developers of our framework to
make a new version once to MX so we will still be using our age old
ways once on MX.  Just yesterday I was contemplating how our form
builder custom tag could maybe be revamped once in MX, I get such
thoughts anytime one of these custom tags annoys me ;)

-- 
Aaron Rouse
http://www.happyhacker.com/

On Wed, 01 Dec 2004 17:02:02 +, Stephen Moretti (cfmaster)
[EMAIL PROTECTED] wrote:
 What's CFIMPORT?  ~joke~   Most of my clients are still on CF5 (don't
 fix what aint broke).


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185824
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Phillip Holmes
If running CFMX, you could always do this as well (with CFMODULE or
CFINCLUDE):

cfscript
variables.iString = #application.mapping#/testfiles/includeme.cfm;
inc_obj = CreateObject('component','include');
inc_obj.INCLUDE( iString: variables.iString);
/cfscript

INCLUDE CFC contents:

cfcomponent hint=I am an include extends=your_construct_here
cffunction name=INCLUDE returntype=any access=public
cfargument name=iString type=string required=yes /
cfinclude template=#arguments.iString#
/cffunction
/cfcomponent


Regards,

Phillip B. Holmes





 

-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 10:56 AM
To: CF-Talk
Subject: Re: CFMODULE vs. CFINCLUDE

I am going to regret this, but...

We use a similar approach, and for the same reasons. 
But instead of the cf_footer tag, we use /cf_header. (No parameters are
passed to the close tags.)

cf_channelHeader title=Blah
cf_channelContent title= subtitle= subscriberOnly=
Blah
/cf_channelContent
/cf_channelHeader

Jerry

Jerry Johnson
Web Developer
Dolan Media Company

 [EMAIL PROTECTED] 12/01/04 11:49AM 
Our framework here uses the custom tag approach, not to imply it is the best
way to go, just what has been in use here for years.  So a typical page
could be something like:

cf_headertag title=Blah check=Yes userlevel=GenUp

cf_tableheader title=Something
trtdBlah/td/tr
cf_tablefooter

cf_button label=Back;Menu

cf_footer links=Yes





~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185825
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT: Website Documentation?

2004-12-01 Thread Rob
I like to use Docbook - it gives tags specific to technical
documenation. Its somewhat of a standard for open source projects. You
can google for DocBook to get a feel for what its about. The editor I
like to use is XXE http://www.xmlmind.com/xmleditor/.  While it wont
help you with, like, what do I put for Chapter 1 it forces you to be
consistant with your documentation.

After you make the docbook xml, you can make the xml file into RTF,
PDF, HTML, man pages, and a bunch of other formats.


On Wed, 1 Dec 2004 11:57:33 -0500, Claremont, Timothy
[EMAIL PROTECTED] wrote:
 Does anyone on the list have any pointers or website URLS that dictate
 some best practices when it comes to CF based web site documentation?
 It guess I am looking for advice on how to create an owners manual for
 the website that will allow another webmaster to step in and take over
 if and when the time comes. A google search for website and
 documentation came up a bit short.
 
 TIA,
 Tim
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185826
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Shawn Contreras
Hello, I have a quick login that utilizes only an email address check against 
the Access database.  Several programmers have looked at the code and say it 
looks/works fine locally but perhaps it is something on the server.  Here's 
what happens: when a returning visitor attempts to sign-in (obviously the user 
is already completely registered) and then click the login button, it doesn't 
work.  They have to attempt a second time and then it works!  This is 
consistent every time... always on the 2nd attempt.  I don't ever get an error, 
it just doesn't work until the 2nd attempt. 

This Login utilizes cookies and session management.

Will someone please help!

Thank you in advance.

Sifu

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185827
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


CFSCHEDULE and https..PLEASE HELP URGENT

2004-12-01 Thread kausthubaraman neelakantan
Help needed!

We are trying to run a Scheduled task in CFMX 6.1
using CFScheduler.
The site is SSL protected and we are using Basic
Authentication to 
authorize the users.  When we try to give the URL
parameter as 

http://localhost:443/page.cfm

the scheduler never completes the task.  Meaning it
does not display 
any error or success message.  We tried the following
URLs also

https://localhost/page.cfm
https://localhost:443/page.cfm

In the above cases we get an error stating the 


URL is a redirection URL...
URL is invalid..
Site is an SSL site and the portnumber is not
specified
..
..


We also tried replacing the localhost with IP address
of the server.  
But it never worked.  We provided the NT username and
password in the 
Username and password fields. 

Should We give any other parameters or change any
other setting in the 
CFServer or in IIS (The Web server used).  Any
suggestion???





__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185828
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


Re: CFC required arguments

2004-12-01 Thread Barney Boisvert
I usually want to know if the argument was passed, not if the argument
is the default value.  With a default value, that value necessarily
has to be a legal value for the argument.  Therefore there's no way to
tell if it was omitted or if the default value was explicitly passed.

Take this function for example:

cffunction name=test
  cfargument name=myArg type=string required=false default= /
  cfif myArg EQ 
...
  /cfif
/cffunction

The conditional will execute for both of these invocations:

test();
test();

However, if I use this function:

cffunction name=test
  cfargument name=myArg type=string required=false /
  cfif NOT structKeyExists(arguments, myArg)
...
  /cfif
/cffunction

The conditional will only execute for the former (where the argument
wasn't passed), and it'll treat  just like it would treat any other
passed value.

cheers,
barneyb

On Wed, 1 Dec 2004 10:27:54 -0500, Sparrow-Hood, Walter
[EMAIL PROTECTED] wrote:
 Barney,
I'm curious - why do you prefer structKeyExists() vs. setting
 default values?
 
 Walt
 
 
 
 -Original Message-
 From: Barney Boisvert [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, November 30, 2004 6:26 PM
 To: CF-Talk
 Subject: Re: CFC required arguments
 
 If you use positional parameters, only parameters at the end can be
 left off.  However, you can use named parameters without using
 CFINVOKE:
 
 cfset o.method(name=url.name, age=url.age, ...) /
 
 I generally prefer to not specify a default for my option arguments,
 and then use structKeyExists() against the 'arguments' struct to check
 if they were passed.  Since we don't have method overloading in CF,
 optional parameters (and their associated conditionals) are a
 necessary evil.
 
 cheers,
 barneyb
-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/blog/

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185829
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 You are quite correct.  However, using cfmodule and custom tags is
 potentially is server killer because it is EVERY call to the
 cfmodule/tag and not just the first call that grabs additional memory.
 So for every page call for every site visitor more memory is allocated
 for each cfmodule.

You'd have to use a hell of a lot custom tags for this to ever become an
issue. As noted in previous messages, I make extensive use of custom tags
and have yet to run into a performance problem caused by the use of custom
tags in the manners described.

I think this type of thinking goes back to a period of ColdFusion
development where custom tags were over used to compensate for the lack of
user-defined functions. This lead to writing recursive custom tags that
performed relatively simple mathematical operations. The overhead of the tag
invocation was incommensurate with the work being performed.

 Showing my age a bit now..  cfmodule and cf in
 general used to have a few problems with letting go of and reusing of
 allocated memory, so I've become acustom to using cfincludes rather than
 cfmodule, because of low resources in the memory department years back
 and a need to make stable applications that didn't require me to restart
 the server every couple of hours.  (A slight exageration, but that did
 used to happen with one of the sites I built back in 1997.  It used to
 get extremely high peeks of traffic at certain times of the day and it
 used to take the server down by taking all the available memory.  We
 eventually worked out what the problem was, reworked a load of stuff in
 the site and then site was rock solid - so solid that our poor old 128kb
 line used to get topped out)

I'm aware of other similar workarounds. Some developers would put all data
in a structure, copy that structure to another structure before calling
cfinclude, and then copying it back after the call. This turned out to be
faster/require less memory than using cfmodule.

That said, I have yet to see a situation since ColdFusion 5 (which
introduced UDFs) which necessitates such drastic measures.

 With regards step all over your variables.  Never had a problem.  All
 it takes is a little care, attention to detail and meaningful variable
 names.

What size projects do you tend to work on? I myself do not work on large
projects. Most of the apps I've written fall in the 10,000 to 50,000 lines
of code range and have anywhere from 1 to 5 developers working on them. I
just finished a project which I spent 20 months on (35,000 lines of code).

I find that even under these relatively modest circumstances, it's difficult
to prevent stepping on data that doesn't belong to you unless you make good
use of the encapsulation features inherent in the language.

And, frankly, I find if very difficult to believe that you've never had a
problem. I can see where the use of naming conventions and such would help
prevent such problems. But to say you've never had a problem -- well, I
assume you're making use of hyperbole.

 What's CFIMPORT?  ~joke~   Most of my clients are still on CF5

About half our sites are on ColdFusion MX. I'm porting one of the larger
ones right now, actually. It was written for ColdFusion 4. Consequently,
even though it is currently running on ColdFusion 5, it doesn't even make
extensive use of UDFs. I say this because I'm very cognizant of how far
ColdFusion has come in the last 2 major versions -- first with UDFs, then
with components.

To this extent, I thought the point of the thread was to discuss the best
practice now and how they may have changed from previous versions of
ColdFusion.

 (don't
 fix what aint broke).

Unfortunately, the don't fix what ain't broke mantra (a favorite or mine)
doesn't work so well with publicly facing Web sites. The Web sites we design
are more of a process, constantly revised and evolving. We have to support
newer browsers, upgrade server software for better security, handle ever
increasing loads, etc.

 Personal feelings.  Don't rag on mine just because I don't agree with you.

No, this discussion is not just about personal feelings. Legibility may be
largely personal preference. However, color coding (and even tag insight)
provides very tangible benefits. And there's no way you can call
encapsulation and parameter passing via attributes personal feelings.

 In a sense yes that is correct.  By tinker dynamically I mean I can
 replace the headers much more easily dynamically with cfinclude than I
 can with cfmodule.  I can have a directory full of different headers for
 different occasions (images of Wurzel Gummage come to mind).  I can
 easily switch between headers by changing a single variable.  Using a
 CFMODULE, I have to pass some information into the tag that tells the
 logic in the tag which bit of html to use.  That html is either hard
 coded into the module (yak!) or you cfinclude it (pointless call to
 cfmodule).

There are many other ways to accomplish what you've described, but I 

RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Gaulin, Mark
We use this style too (for skinning) and the only difficulty we run into is the 
constraint that the opening and closing tags have to remain in the same logical 
scope on the page, so you can't conditionally open the tag at the top of the 
page and then conditionally close it at the bottom.  This doesn't really turn 
out to be a problem but occasionally it requires some awkward maneuvering.
Mark

-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 11:56 AM
To: CF-Talk
Subject: Re: CFMODULE vs. CFINCLUDE


I am going to regret this, but...

We use a similar approach, and for the same reasons. 
But instead of the cf_footer tag, we use /cf_header. (No parameters are 
passed to the close tags.)

cf_channelHeader title=Blah
cf_channelContent title= subtitle= subscriberOnly=
Blah
/cf_channelContent
/cf_channelHeader

Jerry

Jerry Johnson
Web Developer
Dolan Media Company

 [EMAIL PROTECTED] 12/01/04 11:49AM 
Our framework here uses the custom tag approach, not to imply it is
the best way to go, just what has been in use here for years.  So a
typical page could be something like:

cf_headertag title=Blah check=Yes userlevel=GenUp

cf_tableheader title=Something
trtdBlah/td/tr
cf_tablefooter

cf_button label=Back;Menu

cf_footer links=Yes





~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185831
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Aaron Rouse
Would there be any advantage to doing this though?

-- 
Aaron Rouse
http://www.happyhacker.com/

On Wed, 1 Dec 2004 11:30:30 -0600, Phillip Holmes
[EMAIL PROTECTED] wrote:
 If running CFMX, you could always do this as well (with CFMODULE or
 CFINCLUDE):
 
 cfscript
variables.iString = #application.mapping#/testfiles/includeme.cfm;
inc_obj = CreateObject('component','include');
inc_obj.INCLUDE( iString: variables.iString);
 /cfscript
 
 INCLUDE CFC contents:
 
 cfcomponent hint=I am an include extends=your_construct_here
 cffunction name=INCLUDE returntype=any access=public
cfargument name=iString type=string required=yes /
cfinclude template=#arguments.iString#
 /cffunction
/cfcomponent
 
 Regards,
 
 Phillip B. Holmes
 
 


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185832
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Joe Rinehart
Shawn,

Are you setting a cookie then doing cfLocation?


On Wed, 01 Dec 2004 12:57:25 -0400, Shawn Contreras
[EMAIL PROTECTED] wrote:
 Hello, I have a quick login that utilizes only an email address check against 
 the Access database.  Several programmers have looked at the code and say it 
 looks/works fine locally but perhaps it is something on the server.  Here's 
 what happens: when a returning visitor attempts to sign-in (obviously the 
 user is already completely registered) and then click the login button, it 
 doesn't work.  They have to attempt a second time and then it works!  This is 
 consistent every time... always on the 2nd attempt.  I don't ever get an 
 error, it just doesn't work until the 2nd attempt.
 
 This Login utilizes cookies and session management.
 
 Will someone please help!
 
 Thank you in advance.
 
 Sifu
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185833
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Phillip Holmes
Depends on the efficiency of your construct. If you do it right, there are
many. That CFC would just be apart of a larger OO schema.

Phil


-Original Message-
From: Aaron Rouse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 12:30 PM
To: CF-Talk
Subject: Re: CFMODULE vs. CFINCLUDE

Would there be any advantage to doing this though?

--
Aaron Rouse
http://www.happyhacker.com/

On Wed, 1 Dec 2004 11:30:30 -0600, Phillip Holmes
[EMAIL PROTECTED] wrote:
 If running CFMX, you could always do this as well (with CFMODULE or
 CFINCLUDE):
 
 cfscript
variables.iString =
#application.mapping#/testfiles/includeme.cfm;
inc_obj = CreateObject('component','include');
inc_obj.INCLUDE( iString: variables.iString); /cfscript
 
 INCLUDE CFC contents:
 
 cfcomponent hint=I am an include extends=your_construct_here 
 cffunction name=INCLUDE returntype=any access=public
cfargument name=iString type=string required=yes /
cfinclude template=#arguments.iString# /cffunction
/cfcomponent
 
 Regards,
 
 Phillip B. Holmes
 
 




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185834
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Shawn Contreras
Code looks like this:

cfparam name=Form.UserName default=
cfset msg = URLEncodedFormat(Login Failed. User does not exist.)
cfquery name=AuthUser  DATASOURCE=#application.DSN# 
SELECT Subscribers.Email,Subscribers.FirstName as FirstName FROM 
Subscribers where Email = '#Form.UserName#'
/cfquery
cfif AuthUser.RecordCount LT 1
cflocation url=LoginTEXT.cfm addToken=NO
CFABORT
CFELSE
cfcookie name=EMAIL value=#Form.UserName# 
expires=#CreateTimeSpan(0,12,0,0)#
CFOUTPUT QUERY=AuthUser maxrows=1
cfcookie name=FirstName value=#FirstName# 
expires=#CreateTimeSpan(0,12,0,0)#
/CFOUTPUT

cfif form.OriginalURL EQ Page=LastStep
cflocation url = #application.VirtualDirectory# addToken = 
No
cfelse
cflocation url = 
#application.VirtualDirectory#?#form.OriginalURL# addToken = No
/cfif
/CFIF


sifu

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185835
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


bug tracker

2004-12-01 Thread Michael Dinowitz
Anyone know of a good CF based bug tracker using a DB for storage? MN is
using Raymond's Lighthouse but it has a slight problem when you have several
hundred bugs stored in memory. I have to either convert the whole thing to
DB or find something else. 

Raymond, do you have a DB version of this?
Thanks

And no, they don't want me writing one from scratch. They don't even want me
doing this work. :)



~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185836
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Dave Watts
 You'd have to use a hell of a lot custom tags for this to 
 ever become an issue. As noted in previous messages, I make 
 extensive use of custom tags and have yet to run into a 
 performance problem caused by the use of custom tags in the 
 manners described.
 
 I think this type of thinking goes back to a period of 
 ColdFusion development where custom tags were over used to 
 compensate for the lack of user-defined functions. This lead 
 to writing recursive custom tags that performed relatively 
 simple mathematical operations. The overhead of the tag 
 invocation was incommensurate with the work being performed.

Prior to CFMX, I've run into all sorts of performance problems with custom
tags under load, not just ones that did recursion.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185837
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CF Studio 5 tag updater

2004-12-01 Thread David Brown
I have tried both the tag updates from the CFMX 6.1 cd and downloading the same 
two file names from macromedia web site.  I have unzipped using paths into CF 
studio path \root so that the updates would go into cfstudio 5 root\extensions.

I have checked to make sure the files have been updated, but still CF studio 5 
tag inspector does not recognize cfimport for example.  I have the reference 
working fine.  If I type cfimport and press f1 I get the help for the tag.

Any suggestions?

David


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185838
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: bug tracker

2004-12-01 Thread Howie Hamlin
This one is db based and free with source.  It might be a decent starting point.

http://www.gotocode.com/apps.asp?app_id=1

Regards,

-- 
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
 Find out how iMS Stacks up to the competition: 
 http://www.coolfusion.com/imssecomparison.cfm


--- On Wednesday, December 01, 2004 1:55 PM, Michael Dinowitz scribed: ---

 Anyone know of a good CF based bug tracker using a DB for storage? MN
 is 
 using Raymond's Lighthouse but it has a slight problem when you have
 several hundred bugs stored in memory. I have to either convert the
 whole thing to 
 DB or find something else.
 
 Raymond, do you have a DB version of this?
 Thanks
 
 And no, they don't want me writing one from scratch. They don't even
 want me doing this work. :)
 
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185839
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


Re: CFMAIL and Crystal Tech webhosting?

2004-12-01 Thread Matt Robertson
u. the geek in me just had to visit that web site.

There, I said it.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185840
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 Prior to CFMX, I've run into all sorts of performance problems with custom
 tags under load, not just ones that did recursion.

Such as the aforementioned memory consumption or something else? I had some
problems in ColdFusion 4.0, though I think (besides not giving up memory)
most were squared away by 4.1. I don't think I deployed anything to (nor
load tested on) 4.5. ColdFusion 5 seemed to be better about giving up
resources that weren't in use.

Over the past few versions of ColdFusion, I load tested various applications
on various configurations. Most used custom tags to some extent. In fact,
the homegrown framework I wrote made extensive use of custom tags, both to
modularize the code and handle permissions. I used (and load tested) apps
written in the framework at various points.

Obviously, custom tags are more overhead than cfinclude. However, I didn't
see any overwhelming performance issues. That's not to say they don't exist,
just that I seemed have gotten lucky...or my load testing was not very
accurate. :)

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185841
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


RE: bug tracker

2004-12-01 Thread Michael Dinowitz
Site isn't working.

 
 This one is db based and free with source.  It might be a decent starting
 point.
 
 http://www.gotocode.com/apps.asp?app_id=1
 
 Regards,
 
 --
 Howie Hamlin - inFusion Project Manager
 On-Line Data Solutions, Inc. - www.CoolFusion.com
 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 PrismAV - Virus scanning for ColdFusion applications
  Find out how iMS Stacks up to the competition:
 http://www.coolfusion.com/imssecomparison.cfm
 
 
 --- On Wednesday, December 01, 2004 1:55 PM, Michael Dinowitz scribed: ---
 
  Anyone know of a good CF based bug tracker using a DB for storage? MN
  is
  using Raymond's Lighthouse but it has a slight problem when you have
  several hundred bugs stored in memory. I have to either convert the
  whole thing to
  DB or find something else.
 
  Raymond, do you have a DB version of this?
  Thanks
 
  And no, they don't want me writing one from scratch. They don't even
  want me doing this work. :)
 
 
 
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185842
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


RE: [Fixed Subject] Java-based fuseads wrapper (Was: Java access to CF runtime)

2004-12-01 Thread Dave Watts
 My site gets a large amount of traffic, and I am using 
 fuseads (formerly available from fusetalk, inc) for my ad 
 server in its high load
 mode.  I do not like the fact that ad-related DB usage 
 (primarily for logging impressions and click throughs) are 
 contributing to my page processing time, and I am looking to 
 eliminate or significantly reduce that usage to allow for 
 better performance and scalability.
 
 ...
  
 Any suggestions, thoughts, etc?  I'm running MX 6.1 with IIS 
 on a 2x933Mhz machine with 1GB RAM, and SQL2K on the same box.

I don't know anything about fuseads, but can't you just track impressions
and clickthroughs from your web server logs after the fact? Unless you need
real-time numbers, why not just do the work off the server using log
analysis?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185843
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Dave Watts
  Prior to CFMX, I've run into all sorts of performance problems 
  with custom tags under load, not just ones that did recursion.
 
 Such as the aforementioned memory consumption or something 
 else?

Poor response times.

 I had some problems in ColdFusion 4.0, though I think 
 (besides not giving up memory) most were squared away by 4.1. 
 I don't think I deployed anything to (nor load tested on) 
 4.5. ColdFusion 5 seemed to be better about giving up 
 resources that weren't in use.

CF 5 did release memory, while CF 4.0.1 didn't. I don't remember whether CF
4.5.1 did or not.

 Over the past few versions of ColdFusion, I load tested 
 various applications on various configurations. Most used 
 custom tags to some extent. In fact, the homegrown framework 
 I wrote made extensive use of custom tags, both to modularize 
 the code and handle permissions. I used (and load tested) 
 apps written in the framework at various points.
 
 Obviously, custom tags are more overhead than cfinclude. 
 However, I didn't see any overwhelming performance issues. 
 That's not to say they don't exist, just that I seemed have 
 gotten lucky...or my load testing was not very accurate. :)

We have had clients with CF 4 and CF 5 who had poor response times when they
heavily used custom tags, even for relatively simple tasks. After
restructuring their application to use fewer custom tags where possible,
they saw significantly improved response times with load testing and on
their live site. Fortunately, this doesn't seem to be nearly as serious an
issue with CFMX.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185844
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


cfcatch scope just says [unknown type]

2004-12-01 Thread Matt Robertson
I ran the latest Updater recently and since then, it seems my cfcatch
statements (when displayed via cfdump) no longer have those annoying
red boxes saying variable not found and only naming the var... but not
its location.

Instead the entire cfcatch scope simply dumps out to [unknown type]. 
There is no error scope to dump.

I never saw these until recently, and now they seem to be coming from
every client whose server I manage.

Is there a remedy to this?  I have the cfdump fix pages linked to by
another poster here, and plugged them into one of my dev servers
(somewhere :-( ).  Is that the fix?  Am I just the last guy to find
out about something again?

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185845
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Ben Doom
   cfcookie name=EMAIL value=#Form.UserName# 
 expires=#CreateTimeSpan(0,12,0,0)#
   CFOUTPUT QUERY=AuthUser maxrows=1
   cfcookie name=FirstName value=#FirstName# 
 expires=#CreateTimeSpan(0,12,0,0)#
   /CFOUTPUT
 
   cfif form.OriginalURL EQ Page=LastStep
   cflocation url = #application.VirtualDirectory# addToken = 
 No
   cfelse
   cflocation url = 
 #application.VirtualDirectory#?#form.OriginalURL# addToken = No
   /cfif

Here be the problem, matey.  You're setting cookies then cflocationing. 
  When you cflocation, the cookies cannot be read by the page you 
redirect to.  Workarounds might include using a JS or META redirect, or 
using client or session vars instead and using addtoke=yes.

HTH.

--Ben


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185846
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: bug tracker

2004-12-01 Thread Douglas Knudsen
I'll send you a copy of my alpha version using Machii.  no guarantees,
but hey, its uber free.  :)

Doug


On Wed, 1 Dec 2004 14:33:12 -0500, Michael Dinowitz
[EMAIL PROTECTED] wrote:
 Site isn't working.
 
 
 
 
  This one is db based and free with source.  It might be a decent starting
  point.
 
  http://www.gotocode.com/apps.asp?app_id=1
 
  Regards,
 
  --
  Howie Hamlin - inFusion Project Manager
  On-Line Data Solutions, Inc. - www.CoolFusion.com
  inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
  PrismAV - Virus scanning for ColdFusion applications
   Find out how iMS Stacks up to the competition:
  http://www.coolfusion.com/imssecomparison.cfm
 
 
  --- On Wednesday, December 01, 2004 1:55 PM, Michael Dinowitz scribed: ---
  
   Anyone know of a good CF based bug tracker using a DB for storage? MN
   is
   using Raymond's Lighthouse but it has a slight problem when you have
   several hundred bugs stored in memory. I have to either convert the
   whole thing to
   DB or find something else.
  
   Raymond, do you have a DB version of this?
   Thanks
  
   And no, they don't want me writing one from scratch. They don't even
   want me doing this work. :)
  
  
  
  
 
 
 
 

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185847
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CF MX developer edition with no network connection.

2004-12-01 Thread Jacob
I am running CF MX developer edition on my laptop.  The problem I have is 
that when I try to start CF without a network connection, CF will not start.

Not a problem at home, but when I am on a plane, or a hotel, hard to do 
some work... ;-)

Any way I can get CF MX to run without a network connection?

Thanks
Jacob


~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185848
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF MX developer edition with no network connection.

2004-12-01 Thread Dave Watts
 I am running CF MX developer edition on my laptop.  The 
 problem I have is that when I try to start CF without a 
 network connection, CF will not start.
 
 Not a problem at home, but when I am on a plane, or a hotel, 
 hard to do some work... ;-)
 
 Any way I can get CF MX to run without a network connection?

I don't have any problem with this, but in the past when I've run into
similar problems I've been able to fix them by installing the Loopback
Adapter, which is just a software emulation of a network adapter.

How To Install Microsoft Loopback Adapter in Windows 2000:
http://support.microsoft.com/?kbid=236869

How to install the Microsoft Loopback adapter in Windows XP:
http://support.microsoft.com/kb/839013

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185849
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Matt Robertson
And, frankly, I find if very difficult to believe that you've never had a
problem. I can see where the use of naming conventions and such would help
prevent such problems. But to say you've never had a problem -- well, I
assume you're making use of hyperbole.

Wow, we're in the midst of another list jihad and its not about
FuseBox.  Go figure.

Anyway, he's probably using includes that don't contain a significant
degree of CF logic, which is arguably exactly what a simple display
header/footer is, or should be.

Includes are not brain surgery, and perhaps thats the point.  Use them
for simpler, quickee, in-and-out needs.  Don't build a 5000-line
include loaded with complex logic, fresh variable assignments and 500
output values.  By all means feel free to build one of any size that
*reads* values (from whatever source) and decides what to do based on
the reads.

And of course you can blur the lines as you see fit in between since
you are an intelligent developer who knows how to pick the right tool
for the job.

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185850
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


Re: bug tracker

2004-12-01 Thread Phil Cruz
Anyone know of a good CF based bug tracker using a DB for storage? MN is
using Raymond's Lighthouse but it has a slight problem when you have several
hundred bugs stored in memory. I have to either convert the whole thing to
DB or find something else. 

Raymond, do you have a DB version of this?
Thanks

And no, they don't want me writing one from scratch. They don't even want me
doing this work. :)

I developed Tracking Tools. It ships with an embedded database or you can use 
MySQL, MSSQL or Oracle.  There's a downloadable demo available.  It also has 
the capability to run off a 30MB USB drive if that's of any use :)
http://tracking-tools.com/blog/2004/12/portable-ttools.cfm

-Phil

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185851
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


Re: CF MX developer edition with no network connection.

2004-12-01 Thread Jeff Small
I am running CF MX developer edition on my laptop.  The problem I have is
 that when I try to start CF without a network connection, CF will not 
 start.

 Not a problem at home, but when I am on a plane, or a hotel, hard to do
 some work... ;-)

 Any way I can get CF MX to run without a network connection?

Well, all I can add is, that sure is weird. I'm running it on my laptop, 
along with blackstone, and both work fine. You're on a PC? Or a Mac? Are you 
running CF as a service under XP Pro or something? Or do you have it 
installed under j2ee?

Shoot us a little more info, let's see if we can't get you up and running. 
Should be easy. 



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185852
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


RE: bug tracker

2004-12-01 Thread Mark A Kruger
Michael,

We using tracking tools by Phil Cruz.  It's commercial but doesn't cost
very much (70$ I think). It's fusebox.  I don't know how you feel about that
but it does make it fairly and easy to plug and modify. We've added a
customer facing piece and est/hours/cost fields to it. We also added a
project settings module to store server settings, usernames and passwords
and the like.  One neat feature is the mail based bug queue. If you set up a
bug or feature email address you can allow customers to automatically submit
a bug or feature modification by sending an email to the queue.

http://www.tracking-tools.com/

-Mark

Mark A. Kruger, CFG, MSCE
www.cfwebtools.com
www.necfug.com
http://blog.mxconsulting.com


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 12:56 PM
To: CF-Talk
Subject: bug tracker


Anyone know of a good CF based bug tracker using a DB for storage? MN is
using Raymond's Lighthouse but it has a slight problem when you have several
hundred bugs stored in memory. I have to either convert the whole thing to
DB or find something else.

Raymond, do you have a DB version of this?
Thanks

And no, they don't want me writing one from scratch. They don't even want me
doing this work. :)





~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185853
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfcatch scope just says [unknown type]

2004-12-01 Thread Dave Carabetta
On Wed, 1 Dec 2004 11:39:25 -0800, Matt Robertson
[EMAIL PROTECTED] wrote:
 I ran the latest Updater recently and since then, it seems my cfcatch
 statements (when displayed via cfdump) no longer have those annoying
 red boxes saying variable not found and only naming the var... but not
 its location.
 
 Instead the entire cfcatch scope simply dumps out to [unknown type].
 There is no error scope to dump.
 
 I never saw these until recently, and now they seem to be coming from
 every client whose server I manage.
 
 Is there a remedy to this?  I have the cfdump fix pages linked to by
 another poster here, and plugged them into one of my dev servers
 (somewhere :-( ).  Is that the fix?  Am I just the last guy to find
 out about something again?
 

I'm not sure if you're the last guy, but this is a known issue
(regression) with the MX Updater 1 release. Yes, there is a
non-Macromedia distributed fix going around, but still no word from
Macromedia on an official hotfix.

Just as a quasi-side note, this only effects using cfdump to output
the cfcatch scope. This does *not* break the actual contents of the
cfcatch scope (i.e., you can loop over the cfcatch scope manually to
output each key/value pair).

Regards,
Dave.

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185854
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: bug tracker

2004-12-01 Thread Mark A Kruger
Whoops... looks like he (justifyably) raised his price a bit sorry to
get you excited (lol).

-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:09 PM
To: CF-Talk
Subject: RE: bug tracker


Michael,

We using tracking tools by Phil Cruz.  It's commercial but doesn't cost
very much (70$ I think). It's fusebox.  I don't know how you feel about that
but it does make it fairly and easy to plug and modify. We've added a
customer facing piece and est/hours/cost fields to it. We also added a
project settings module to store server settings, usernames and passwords
and the like.  One neat feature is the mail based bug queue. If you set up a
bug or feature email address you can allow customers to automatically submit
a bug or feature modification by sending an email to the queue.

http://www.tracking-tools.com/

-Mark

Mark A. Kruger, CFG, MSCE
www.cfwebtools.com
www.necfug.com
http://blog.mxconsulting.com


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 12:56 PM
To: CF-Talk
Subject: bug tracker


Anyone know of a good CF based bug tracker using a DB for storage? MN is
using Raymond's Lighthouse but it has a slight problem when you have several
hundred bugs stored in memory. I have to either convert the whole thing to
DB or find something else.

Raymond, do you have a DB version of this?
Thanks

And no, they don't want me writing one from scratch. They don't even want me
doing this work. :)







~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185855
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


Re: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Stephen Moretti (cfmaster)
I had some problems in ColdFusion 4.0, though I think 
(besides not giving up memory) most were squared away by 4.1. 
I don't think I deployed anything to (nor load tested on) 
4.5. ColdFusion 5 seemed to be better about giving up 
resources that weren't in use.



CF 5 did release memory, while CF 4.0.1 didn't. I don't remember whether CF 
4.5.1 did or not.
  

If remember correctly 4.5.1/2 were better, but still not the best.

Stephen


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185856
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: bug tracker

2004-12-01 Thread Phil Cruz
The price has stayed the same since first release ($99/standard edition). 
(Mark, my records show you paid $99). I was running a promo (since 
discontinued) that offered the Enterprise edition for $99. I should also point 
out that TTools now uses Mach-II under the hood and not Fusebox.

-Phil

Whoops... looks like he (justifyably) raised his price a bit sorry to
get you excited (lol).

-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 2:09 PM
To: CF-Talk
Subject: RE: bug tracker


Michael,

We using tracking tools by Phil Cruz.  It's commercial but doesn't cost
very much (70$ I think). It's fusebox.  I don't know how you feel about that
but it does make it fairly and easy to plug and modify. We've added a
customer facing piece and est/hours/cost fields to it. We also added a
project settings module to store server settings, usernames and passwords
and the like.  One neat feature is the mail based bug queue. If you set up a
bug or feature email address you can allow customers to automatically submit
a bug or feature modification by sending an email to the queue.

http://www.tracking-tools.com/

-Mark

Mark A. Kruger, CFG, MSCE
www.cfwebtools.com
www.necfug.com
http://blog.mxconsulting.com


-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 01, 2004 12:56 PM
To: CF-Talk
Subject: bug tracker


Anyone know of a good CF based bug tracker using a DB for storage? MN is
using Raymond's Lighthouse but it has a slight problem when you have several
hundred bugs stored in memory. I have to either convert the whole thing to
DB or find something else.

Raymond, do you have a DB version of this?
Thanks

And no, they don't want me writing one from scratch. They don't even want me
doing this work. :)

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185857
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 CF 5 did release memory, while CF 4.0.1 didn't. I don't remember whether
 CF 4.5.1 did or not.

Thanks for the correction. I meant 4.0.1. We developed for and hosted on
ColdFusion 4.0.1 until some time after 5 was released. Then we moved most of
our stuff to 5. We are now migrating most of our stuff to ColdFusion MX 6.1,
which seems to perform much better and seems to be much more stable than
ColdFusion MX itself (I guess the version number was 6.0?).

 We have had clients with CF 4 and CF 5 who had poor response times when
 they heavily used custom tags, even for relatively simple tasks. After
 restructuring their application to use fewer custom tags where possible,
 they saw significantly improved response times with load testing and on
 their live site. Fortunately, this doesn't seem to be nearly as serious an
 issue with CFMX.

That's good to know. We were load testing to ensure sites could handle a
certain load (preventative). We do not get much in the way of customers
looking for us to host applications that we did not write, much less
performance tuning such sites.

As noted in a previous message in this thread, we're not building large
scale sites. Our sites tend to host under 1 million user sessions a month.
Most of our sites see much less than this. No single site requires more than
one Web server. When we load test, we're looking for bottlenecks, stability,
and performance under a moderate load.

Thanks for the clarification.

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057




~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185858
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Scott Brady
On Wed, 01 Dec 2004 14:41:22 -0500, Ben Doom  wrote:
 
 Here be the problem, matey.  You're setting cookies then cflocationing.
   When you cflocation, the cookies cannot be read by the page you
 redirect to.  Workarounds might include using a JS or META redirect, or
 using client or session vars instead and using addtoke=yes.
 

Depends on the version of CF.  This was the case with CF5 and earlier,
but is no longer an issue with CFMX.  (The CFMX Study Guide actually
has this wrong, fwiw)

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185859
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


Re: bug tracker

2004-12-01 Thread Howie Hamlin
Sorry - it was working earlier.  I don't have the ZIP or else I'd send it to 
you.

Howie

--- On Wednesday, December 01, 2004 2:33 PM, Michael Dinowitz scribed: ---

 Site isn't working.
 
 
 This one is db based and free with source.  It might be a decent
 starting point.
 
 http://www.gotocode.com/apps.asp?app_id=1
 
 Regards,
 
 --
 Howie Hamlin - inFusion Project Manager
 On-Line Data Solutions, Inc. - www.CoolFusion.com
 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail
 Server PrismAV - Virus scanning for ColdFusion applications
 Find out how iMS Stacks up to the competition:
 http://www.coolfusion.com/imssecomparison.cfm
 
 
 --- On Wednesday, December 01, 2004 1:55 PM, Michael Dinowitz
 scribed: --- 
 
 Anyone know of a good CF based bug tracker using a DB for storage?
 MN is
 using Raymond's Lighthouse but it has a slight problem when you have
 several hundred bugs stored in memory. I have to either convert the
 whole thing to
 DB or find something else.
 
 Raymond, do you have a DB version of this?
 Thanks
 
 And no, they don't want me writing one from scratch. They don't even
 want me doing this work. :)
 
 
 
 
 
 
 
 

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185860
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


Re: CF MX developer edition with no network connection.

2004-12-01 Thread Jacob
Windows 2003 server under IIS 6.0.  Running it as a service.

At 12:03 PM 12/1/2004, you wrote:
 I am running CF MX developer edition on my laptop.  The problem I have is
  that when I try to start CF without a network connection, CF will not
  start.
 
  Not a problem at home, but when I am on a plane, or a hotel, hard to do
  some work... ;-)
 
  Any way I can get CF MX to run without a network connection?

Well, all I can add is, that sure is weird. I'm running it on my laptop,
along with blackstone, and both work fine. You're on a PC? Or a Mac? Are you
running CF as a service under XP Pro or something? Or do you have it
installed under j2ee?

Shoot us a little more info, let's see if we can't get you up and running.
Should be easy.





~|
Special thanks to the CF Community Suite Silver Sponsor - New Atlanta
http://www.newatlanta.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185861
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


RE: CF MX developer edition with no network connection.

2004-12-01 Thread Jacob
I am going to try the loop back adapter.  That sounds like it may work.

Thanks
Jacob

At 12:10 PM 12/1/2004, you wrote:
  I am running CF MX developer edition on my laptop.  The
  problem I have is that when I try to start CF without a
  network connection, CF will not start.
 
  Not a problem at home, but when I am on a plane, or a hotel,
  hard to do some work... ;-)
 
  Any way I can get CF MX to run without a network connection?

I don't have any problem with this, but in the past when I've run into
similar problems I've been able to fix them by installing the Loopback
Adapter, which is just a software emulation of a network adapter.

How To Install Microsoft Loopback Adapter in Windows 2000:
http://support.microsoft.com/?kbid=236869

How to install the Microsoft Loopback adapter in Windows XP:
http://support.microsoft.com/kb/839013

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185862
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


RE: CFMODULE vs. CFINCLUDE

2004-12-01 Thread Ben Rogers
 Wow, we're in the midst of another list jihad and its not about
 FuseBox.  Go figure.

I know, and somehow I stumbled right into it. Fortunately, it's an issue
which makes no difference to me. :)

 Anyway, he's probably using includes that don't contain a significant
 degree of CF logic, which is arguably exactly what a simple display
 header/footer is, or should be.

Understood. It's a common practice. I've done it -- recently. Most people
have done it. Before custom tags, it was the only method of code reuse in
ColdFusion. It's easy. It provides the most rudimentary form of code reuse.

In fact, I usually use cfincludes in my custom tags to shorten them up if
they are over 50 lines. However, I try not to use cfinclude for the purpose
of code reuse these days. It's not a particularly safe practice. Recent
versions of ColdFusion provide much more appropriate methods for code reuse.
There are other benefits to using custom tags, many of which I've noted.

I started out trying to convey that. :) 

Ben Rogers
http://www.c4.net
v.508.240.0051
f.508.240.0057


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185863
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


CFDIRECTORY question

2004-12-01 Thread Robert Orlini
I have this cfdirectory code (see below) that I want to read a list of 
directory names and then insert into a table. 

However, this script will be running each time a user accesses drop-down list. 
I want to list the current directories and any new directory names that have 
been added.

At this point it will add the directory names numerous times along with any new 
directories.

How can it just add new directories to the table using this cfdirectory script?

Thanks!
 
cfdirectory 
   directory=#GetDirectoryFromPath(GetTemplatePath())# 
   name=myDirectory
   
cfloop query=myDirectory
cfif type EQ dir
CFQUERY name=get datasource=marketing
INSERT INTO directories (name)
VALUES ('#mydirectory.name#')
Where #mydirectory.name# != '#name#'
/CFQUERY
/cfif
/cfloop

Robert O.
HWW

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185864
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: jsessionid cookies

2004-12-01 Thread Chris Norloff
If it's CFMX for J2EE, it could be running on any one of several different J2EE 
app servers (JRun, WebSphere, WebLogic, SunONE, etc.).

The only reason a J2EE app server would set the jsessionid cookie again is if 
it didn't see the first cookie. Check your http headers and see if you can see 
what's happening. 

We had a case of running a CFMX app on WebSphere and a Java app on Oracle's 
9iAS app server - each app server wanted to set its own jsessionid cookie, so 
the browser ended up losing the session everytime it went from one to the 
other.  We ended up setting a flag in the database to tell if there was an 
active session for that user, so he could go to the one app on WebSphere or the 
other app on Oracle.

Chris Norloff



-- Original Message --
From: Nick Cabell [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 01 Dec 2004 10:45:22 -0400

Thank you so much for the helpful answer (finally!).

If it is JRUN that is setting the jsessionid (regardless of whether you have 
told CF to store session variables in the j2ee object) then what
explains why there is no jsessionid coming from the hosted site - does this 
suggest they are not running CFMX on top of JRUN?

Also, any idea why there the jsessionid cookie is set and then immediately 
reset when I first access the dev site that is running on top of JRUN? From 
what you say, that cannot be anything I am doing since it is done by the j2ee 
software.


 CFMX doesn't set the jsessionid cookie itself, it's set by the J2EE 
 application server. Setting CMFX to use J2EE session management means 
 CFMX session variables are stored in the J2EE HTTP session object (and 
 can thus be accessed through Java calls).
 
 Setting CFMX for J2EE session management on a shared host would 
 require some coordination, but seems feasible.
 
 best,
 Chris Norloff
 
 http://www.macromedia.com/support/coldfusion/ts/documents/tn18232.htm



~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185865
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: cfcatch scope just says [unknown type]

2004-12-01 Thread Matt Robertson
OK thanks.  I just checked and my live server does indeed have the
cfdump fix on it, which isn't working here.  Its Martin Parry's
BeetrootStreet.com cfdump update.  Maybe its not a fix for the same
thing.

At least I can loop over the scope, though.  One heck of a lot easier
to revise my error templates than it is disabling them all.

Bah, Humbug

-- 
--Matt Robertson--
President, Janitor
MSB Designs, Inc.
mysecretbase.com

~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185866
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


RE: bug tracker

2004-12-01 Thread dave
submit a bug ;)

-- Original Message --
From: [EMAIL PROTECTED] (Michael Dinowitz)
Reply-To: [EMAIL PROTECTED]
Date:  Wed, 1 Dec 2004 14:33:12 -0500

Site isn't working.

 
 This one is db based and free with source.  It might be a decent starting
 point.
 
 http://www.gotocode.com/apps.asp?app_id=1
 
 Regards,
 
 --
 Howie Hamlin - inFusion Project Manager
 On-Line Data Solutions, Inc. - www.CoolFusion.com
 inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
 PrismAV - Virus scanning for ColdFusion applications
  Find out how iMS Stacks up to the competition:
 http://www.coolfusion.com/imssecomparison.cfm
 
 
 --- On Wednesday, December 01, 2004 1:55 PM, Michael Dinowitz scribed: ---
 
  Anyone know of a good CF based bug tracker using a DB for storage? MN
  is
  using Raymond's Lighthouse but it has a slight problem when you have
  several hundred bugs stored in memory. I have to either convert the
  whole thing to
  DB or find something else.
 
  Raymond, do you have a DB version of this?
  Thanks
 
  And no, they don't want me writing one from scratch. They don't even
  want me doing this work. :)
 
 
 
 
 
 



~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185867
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF MX developer edition with no network connection.

2004-12-01 Thread Dawson, Michael
I run CFMX that way w/o a network connection on my laptop.  Not sure
that helps, but I wanted to state that it can be done.

Perhaps your config has CFMX looking for something on a remote computer?


-Original Message-
From: Jacob [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 1:55 PM
To: CF-Talk
Subject: CF MX developer edition with no network connection.

I am running CF MX developer edition on my laptop.  The problem I have
is that when I try to start CF without a network connection, CF will not
start.

Not a problem at home, but when I am on a plane, or a hotel, hard to do
some work... ;-)

Any way I can get CF MX to run without a network connection?

Thanks
Jacob




~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185868
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=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF MX developer edition with no network connection.

2004-12-01 Thread Dawson, Michael
I have to say I'm running XP, not server. 

-Original Message-
From: Jacob [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 01, 2004 2:33 PM
To: CF-Talk
Subject: Re: CF MX developer edition with no network connection.

Windows 2003 server under IIS 6.0.  Running it as a service.

At 12:03 PM 12/1/2004, you wrote:
 I am running CF MX developer edition on my laptop.  The problem I 
 have is  that when I try to start CF without a network connection, CF

 will not  start.
 
  Not a problem at home, but when I am on a plane, or a hotel, hard to

  do some work... ;-)
 
  Any way I can get CF MX to run without a network connection?

Well, all I can add is, that sure is weird. I'm running it on my 
laptop, along with blackstone, and both work fine. You're on a PC? Or a

Mac? Are you running CF as a service under XP Pro or something? Or do 
you have it installed under j2ee?

Shoot us a little more info, let's see if we can't get you up and
running.
Should be easy.







~|
Special thanks to the CF Community Suite Silver Sponsor - RUWebby
http://www.ruwebby.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185869
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


Re: URGENT - My Login works but ONLY on 2nd attempt.

2004-12-01 Thread Shawn Contreras
Scott,

This is CFMX.  If this is the case then do you have another resolution??  
Anyone??

Sifu

Depends on the version of CF.  This was the case with CF5 and earlier,
but is no longer an issue with CFMX.  (The CFMX Study Guide actually
has this wrong, fwiw)

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/

~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185870
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


  1   2   >