RE: SQL Server and Nulls

2015-04-17 Thread DURETTE, STEVEN J

Dbfield=cfqueryparam value=#mydatefield# cfsqltype=CF_SQL_TINYINT 
null=#not len(mydatefield)# /

Steve

-Original Message-
From: Robert Harrison [mailto:rharri...@aimg.com] 
Sent: Friday, April 17, 2015 3:58 PM
To: cf-talk
Subject: SQL Server and Nulls


In an update query, to a tinyint field which allows nulls, I have the update

dbfield=#mydatefield#

If mydatefield has no value, sql is throwing an error. The field allows
nulls. I've never had to say if  then NULL before.  What the heck?


Robert Harrison
Full Stack Developer
AIMG
rharri...@aimg.com
Main Office: 704-321-1234  ext.118
Direct Line: 516-302-4345
www.aimg.com





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360470
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Decrypting MD5

2015-03-12 Thread DURETTE, STEVEN J

Hashes have other uses as well.  I pull data from a source database that has 
over 3 gigs of data in it and every hour the owners of that database flag all 
the rows as updated even if they weren't.  I need to pick up just the changed 
rows, so I pull down the primary key and a hash of all of the rest of the 
fields (but not the changed flag) and compare it to what I have in my database. 
 If the key matches and the hash doesn't then I pull down that row.  I went 
from pulling down 3 gigs every hour to just a few hundred rows ( 1 meg).

Hashes have all sorts of uses!

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, March 12, 2015 9:09 AM
To: cf-talk
Subject: Re: Decrypting MD5


 So basically MD5 is useless if you can't decrypt the value! That sucks.

I don't know about useless. Hashing is not the same as encryption.
They're intended to solve different problems.

Let's say you're using a Windows network, with Active Directory.
Active Directory doesn't actually know your password, because it
doesn't need to know. All it needs to know is, did you enter the
correct password when you hit Ctrl+Alt+Delete this morning - and it
doesn't need to know what the password is in that case. Your
workstation takes your plaintext password, generates a hash, and sends
it to AD. AD compares the hash to the one it stored when you set your
password in the first place. If they match, there's an extremely high
likelihood that the plaintext passwords match as well.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
(SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
authorized instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360241
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Can you use a CFTHREAD inside an Ajax routine?

2015-03-05 Thread DURETTE, STEVEN J

Yes, this works.  I do it for an application I'm working on.  The ajax call 
hits a page with a cfthread and it runs fine.

I do have problems when that cfthread calls other cfm/cfc pages that also have 
cfthread in them.  When that happens I get an error.

Steve


-Original Message-
From: John Pullam [mailto:jpul...@mcleansystems.com] 
Sent: Thursday, March 05, 2015 3:48 PM
To: cf-talk
Subject: Can you use a CFTHREAD inside an Ajax routine?


It seems to me that the CFTHREAD I attempt to start from inside an Ajax routine 
(triggered by a CFWINDOW) never runs and doesn't generate any error message. 
Can anyone advise if this is a legitimate thing to do? 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360206
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: (ot) JavaScript detecting foreign scripts

2015-03-03 Thread DURETTE, STEVEN J

Using HTTPS may not be able to solve the problem completely either.  A lot of 
companies, and now apparently ISPs, do a man in the middle certificate and have 
access to the whole encrypted stream.  Companies do it to ensure that their 
work product isn't being ex-filtrated, ISPs seem to do it for advertising.  
There are ways to verify your direct connection to a server, but it requires 
diligence on the part of the browser user.

I was thinking at first that you could generate a hash of the page being send 
and append it in http headers and then use javascript to hash the DOM and 
compare it, but I don't think that would work because of add-ins like LastPass 
that inject javascript that the user wants.

Just throwing ideas out there. :)


-Original Message-
From: UXB Internet [mailto:denn...@uxbinternet.com] 
Sent: Tuesday, March 03, 2015 9:23 AM
To: cf-talk
Subject: RE: (ot) JavaScript detecting foreign scripts


  I agree with you that Comcast should die in a fire,

So I'm not crazy then.  I have to wonder some times.

  I like Jochem's solution, of which I was unaware, but still 
 recommend you use  HTTPS.

Actually I can also prevent it by switching to a different/newer ad type
with a different script but that wasn't the goal for this request.  The goal
was to collect data on where (the IP) the script was being injected.
Stopping it with a technical solution is an arms race.


Dennis Powers
UXB Internet - A website Design and Hosting Company 
P.O. Box 6028, Wolcott, CT 06716 - T:203-879-2844
W: http://www.uxbinternet.com
W: http://www.ctbusinesslist.com


  -Original Message-
  From: Dave Watts [mailto:dwa...@figleaf.com]
  Sent: Tuesday, March 3, 2015 8:08 AM
  To: cf-talk
  Subject: Re: (ot) JavaScript detecting foreign scripts
  
  
 Second, if you use TLS (SSL) exclusively, you should be able to
prevent this.
  
   I tested for this and yes it does prevent it.  However that is not
   actually the point.  The point is much bigger than the pennies they
   sole from my websites ad revenue.  Maybe I am the only one but to me
   this practice, replacing the content of a webpage with their own
   content, is a heinous affront to the idea of an open Internet.
  
   Maybe I am going off the rails here but isn't this exactly what the
   Net Neutrality fight was all about? Not fast lanes and slow lanes but
   data integrity!
  
   Thanks for the pointer on the JS code I will look into it and take a
   step down off my soapbox.
  
  I agree with you that Comcast should die in a fire, but it'll take a
while for the
  FCC to fix that problem I'm sure. In the meantime, rent-seekers gonna
rent-
  seek, I guess.
  
  I like Jochem's solution, of which I was unaware, but still recommend you
use
  HTTPS.
  
  Dave Watts, CTO, Fig Leaf Software
  1-202-527-9569
  http://www.figleaf.com/
  http://training.figleaf.com/
  
  Fig Leaf Software is a Service-Disabled Veteran-Owned Small Business
  (SDVOSB) on GSA Schedule, and provides the highest caliber vendor-
  authorized instruction at our training centers, online, or onsite.
  
  
  ~|
  Order the Adobe Coldfusion Anthology now!
  http://www.amazon.com/Adobe-Coldfusion-
  Anthology/dp/1430272155/?tag=houseoffusion
  Archive: http://www.houseoffusion.com/groups/cf-
  talk/message.cfm/messageid:360185
  Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
  Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360188
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Loading a java jar outside of the webroot and not in a standard CF/Railo jar directory.

2015-02-12 Thread DURETTE, STEVEN J

Thanks to you and Dave.

I'll be trying this with Railo today to see if it works for both.

Thanks again
Steve


-Original Message-
From: Byron Mann [mailto:byronos...@gmail.com] 
Sent: Wednesday, February 11, 2015 11:23 PM
To: cf-talk
Subject: Re: Loading a java jar outside of the webroot and not in a standard 
CF/Railo jar directory.


Found these links that may be of help.

https://github.com/markmandel/JavaLoader/wiki/Class-Loading

http://www.bennadel.com/blog/424-loading-java-classes-with-coldfusion-runtime-java-javaproxy.htm

Cf10, added a similar feature.

https://wikidocs.adobe.com/wiki/display/coldfusionen/Enhanced+Java+integration+in+ColdFusion+10




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Loading a java jar outside of the webroot and not in a standard CF/Railo jar directory.

2015-02-11 Thread DURETTE, STEVEN J

Hi all,

My brain isn't working well today and this one has me stumped even after 
googling for hours.  I need to be able to load some jar files in both CF9 and 
Railo 4.2.  Because of rules imposed on me, I cannot put them in the standard 
jar directories (they would break cf/railo functionality) and I cannot put them 
into the webroot.

Normally I would do a cfset myJar = createObject(java, 
org.my.jarfile).init() / but because it's outside of the webroot I can't 
figure out what I need to do.  Will createobject work with coldfusion mappings?

Oh, and I have to try to keep the code a generic as possible because it will 
need to run on both ColdFusion 9 and Railo 4.2.

Thanks,
Steve



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360109
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Problem with CF11 starting after boot

2014-10-30 Thread DURETTE, STEVEN J

Hi all,

Got a little bit of a strange one here.  I have installed CF11 dev on my laptop 
with the tomcat internal web server and I set the port to use 80.  Everything 
works fine, however after a reboot, when I hit pages I get the error below.  If 
I restart CF it runs fine until I reboot again.  It seems strange that 
restarting the CF service solves the problem after it just came up clean from a 
boot.

Any ideas so I don't have to restart it every morning?

Thanks, 
Steve

Error information:

HTTP Status 500 - ROOT CAUSE:

type Exception report
message ROOT CAUSE:
description The server encountered an internal error that prevented it from 
fulfilling this request.
exception
javax.servlet.ServletException: ROOT CAUSE: 
coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Monitoring 
service is not available.
at 
coldfusion.server.ServiceFactory.getMonitoringService(ServiceFactory.java:223)
at coldfusion.CfmServlet.service(CfmServlet.java:199)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
at 
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121)
at 
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)
at 
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70)
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121)
coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
note The full stack trace of the root cause is available in the Apache 
Tomcat/7.0.52 logs.

Apache Tomcat/7.0.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359537
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Raw Request

2014-10-14 Thread DURETTE, STEVEN J

It's just a program that when run will sit between the browser and the world 
outside the computer (internet, intranet, etc).  It displays what is going in 
and out.

It's an easy install and adds piece to IE/Chrome/Firefox as well as installing 
the App.  You just run it and use your web browser.  If you are working with 
HTTPS/SSL/TLS then there is a way to set it up to track that data as well 
(Technically a man in the middle, but you are doing it to yourself so it's ok).

Steve
-Original Message-
From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] 
Sent: Tuesday, October 14, 2014 11:21 AM
To: cf-talk
Subject: Re: CFHTTP Raw Request


Hi Steve,

Thanks for the suggestion.  I've never used Fiddler before.  Are there any 
special configurations to watch a cfhttp request?

Thanks,

Donnie Carvajal


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359463
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Raw Request

2014-10-14 Thread DURETTE, STEVEN J

CF has to be running on your local machine to see it.  If you are doing it on a 
development server then you have to install fiddler on the dev server and run 
the browser from there.

Steve

-Original Message-
From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] 
Sent: Tuesday, October 14, 2014 12:53 PM
To: cf-talk
Subject: Re: CFHTTP Raw Request


I think I may be confused.  I need to see the raw headers that CFHTTP is 
creating.  I installed Fiddler on the development and ran it. When I call the 
CF page that includes the CFHTTP, I am not seeing any new requests in Fiddler.  
I'm not sure how a browser would show me CFHTTP headers that are created.  Am I 
missing something?

Thanks,

Donnie Carvajal

 It's just a program that when run will sit between the browser and the 
 world outside the computer (internet, intranet, etc).  It displays 
 what is going in and out.
 
 It's an easy install and adds piece to IE/Chrome/Firefox as well as 
 installing the App.  You just run it and use your web browser.  If you 
 are working with HTTPS/SSL/TLS then there is a way to set it up to 
 track that data as well (Technically a man in the middle, but you are 
 doing it to yourself so it's ok).
 
 Steve
 -Original Message-
 From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] 
 Sent: Tuesday, October 14, 2014 11:21 AM
 To: cf-talk
 Subject: Re: CFHTTP Raw Request
 
 
 Hi Steve,
 
 Thanks for the suggestion.  I've never used Fiddler before.  Are there 
 any special configurations to watch a cfhttp request?
 
 Thanks,
 
 Donnie Carvajal



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359469
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-10 Thread DURETTE, STEVEN J

Actually I believe the syntax is:
Insert into tablename(field1, field2, field3, field4 ...)
Values
(value1, value2, value3, value4 ...),
(value1, value2, value3, value4 ...),
(value1, value2, value3, value4 ...);

Steve

-Original Message-
From: Mike K [mailto:afpwebwo...@gmail.com] 
Sent: Friday, October 10, 2014 1:51 AM
To: cf-talk
Subject: Re: Avoiding a boat load of queries inserting multiple records - 
Better Way?


You do know that Microsoft changed the insert syntax as from SQLServer 2008
dont you?now you can insert multiple records in one go like this:

INSERT into Tablename (field1, field2, field3, field4 ) Values
( value1, value2, value3, value4 ... ;
value1, value2, value3, value4  ;
value1, value2, value3, value4 
)

IF you uave one of those fields as an index field (some databases call them
autonumber fields) you dont have to know what the current index value of
record 1 is when you insert record 2 .Or (i havent tried this buti
reckon it ought to work)  if say field1 was your index field,  you could
user the value Ident_Current('Tablename ')  as the value of field1 in the
subsequent records.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month


On Fri, Oct 10, 2014 at 11:51 AM, Les Mizzell lesm...@bellsouth.net wrote:


   Not knowing much about your overall process, I'll try to stick to some
   generic ideas. Let's assume you don't need this stuff dumped into the
   database the very second it gets sent to you.






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359444
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Avoiding a boat load of queries inserting multiple records - Better Way?

2014-10-10 Thread DURETTE, STEVEN J

Mark,

That was before SQL Server 2008.  Your way still works, but this was an 
addition to the TSQL language.

Steve

-Original Message-
From: Gaulin, Mark [mailto:mark.gau...@ihs.com] 
Sent: Friday, October 10, 2014 9:04 AM
To: cf-talk
Subject: RE: Avoiding a boat load of queries inserting multiple records - 
Better Way?


My experience with MS SQL Server is that you have to do multiple inserts using 
a series of UNION statements...

Insert into tablename(field1, field2, field3, field4 ...) 
select value1, value2, value3, value4 ...
union all select value1, value2, value3, value4 ...
union all select value1, value2, value3, value4 ...
union all select value1, value2, value3, value4 ...

Thanks
Mark

-Original Message-
From: DURETTE, STEVEN J [mailto:sd1...@att.com] 
Sent: Friday, October 10, 2014 8:19 AM
To: cf-talk
Subject: RE: Avoiding a boat load of queries inserting multiple records - 
Better Way?


Actually I believe the syntax is:
Insert into tablename(field1, field2, field3, field4 ...) Values
(value1, value2, value3, value4 ...),
(value1, value2, value3, value4 ...),
(value1, value2, value3, value4 ...);

Steve

-Original Message-
From: Mike K [mailto:afpwebwo...@gmail.com]
Sent: Friday, October 10, 2014 1:51 AM
To: cf-talk
Subject: Re: Avoiding a boat load of queries inserting multiple records - 
Better Way?


You do know that Microsoft changed the insert syntax as from SQLServer 2008
dont you?now you can insert multiple records in one go like this:

INSERT into Tablename (field1, field2, field3, field4 ) Values
( value1, value2, value3, value4 ... ;
value1, value2, value3, value4  ;
value1, value2, value3, value4 
)

IF you uave one of those fields as an index field (some databases call them
autonumber fields) you dont have to know what the current index value of
record 1 is when you insert record 2 .Or (i havent tried this buti
reckon it ought to work)  if say field1 was your index field,  you could
user the value Ident_Current('Tablename ')  as the value of field1 in the
subsequent records.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month


On Fri, Oct 10, 2014 at 11:51 AM, Les Mizzell lesm...@bellsouth.net wrote:


   Not knowing much about your overall process, I'll try to stick to some
   generic ideas. Let's assume you don't need this stuff dumped into the
   database the very second it gets sent to you.










~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359446
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFHTTP Raw Request

2014-10-08 Thread DURETTE, STEVEN J

If you are doing this on a developer machine, install fiddler. Then you can 
watch everything the request and response and look at the raw outputs.  It has 
saved me multiple times from pulling my hair out.

Steve

-Original Message-
From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] 
Sent: Wednesday, October 08, 2014 12:17 PM
To: cf-talk
Subject: CFHTTP Raw Request


I have a process that is sending xml via cfhttp and I am not getting the 
anticipated response from the web service.  I would like to see the actual 
headers and the body of the request.

Does anyone know if there is a way to track the raw request that is created by 
a cfhttp post?

Thanks,

Donnie Carvajal 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359413
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Locks on Access files in CF 9

2014-07-03 Thread DURETTE, STEVEN J

It's Access. Need we say more? (hehe)

Actually I believe it has something to do with a combination of ODBC and 
Windows and the JET drivers. Other ODBC connections don't seem to lock that way 
but if you look really hard with google you can find a tool that will list the 
locks and what is holding them and another tool (in the same package) that lets 
you kill them, however the caveat I read years ago was that after doing that 
you immediately needed to run a clean and repair on the Access DB.


Steven Durette

-Original Message-
From: Ben [mailto:b...@webworldinc.com] 
Sent: Thursday, July 03, 2014 2:32 PM
To: cf-talk
Subject: Re: Locks on Access files in CF 9


Interesting. Probably more work than I want to out in unless needed. 

Anyone know why the lck file gets sticky?  CF issue? ODBC issue in Windows?  
Just curious

Ben

 On Jul 3, 2014, at 11:15 AM, Scott Stewart webmas...@sstwebworks.com wrote:
 
 
 You *could* put a system together where the client, or you uploads the
 access database, the system programatically creates a datasource on the fly
 transfers any data changes to the real database, kills the datasource and
 deletes the access db, the client can do what he wants and you don't have
 to deal with access lock file issues.
 
 
 On Thu, Jul 3, 2014 at 2:06 PM, Ben b...@webworldinc.com wrote:
 
 
 Yeah, you're preaching to the choir on that one. :)
 
 This client tweaks their copy of the DB with local apps then uploads it to
 the server.
 
 Ben
 
 On Jul 3, 2014, at 10:59 AM, Phillip Vector vec...@mostdeadlygame.com
 wrote:
 
 
 Not to be That Guy... But transfer the data to an actual database and
 use
 that?
 
 
 On Thu, Jul 3, 2014 at 10:53 AM, Ben b...@webworldinc.com wrote:
 
 
 Sorry, didn't mention that. It is off.
 
 Ben
 
 On Jul 3, 2014, at 10:51 AM, Scott Stewart webmas...@sstwebworks.com
 
 wrote:
 
 
 Turn off maintain connections in the data source properties.
 On Jul 3, 2014 1:49 PM, Ben b...@webworldinc.com wrote:
 
 
 Hi
 
 I'm seeing an odd issue where a .lck file doesn't go away at times on
 an
 Access DB file in CF 9 in a Windows 2008 environment. When this
 happens, I
 also can't restart the CF ODBC Server. Restarting the box itself is
 the
 only solution. This isn't a heavily trafficked site.
 
 Anyone have any ideas what might be causing this and/or a work-around?
 
 Thanks!
 
 Ben
 
 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358802
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: not getting identity value from insert

2014-05-27 Thread DURETTE, STEVEN J

Actually the issue here is the GO between the insert and the select @@identity.

Using go between them makes them in to two separate unrelated batches.

Steve



-Original Message-
From: C. Hatton Humphrey [mailto:chumph...@gmail.com] 
Sent: Tuesday, May 27, 2014 1:39 PM
To: cf-talk
Subject: Re: not getting identity value from insert


On Tue, May 27, 2014 at 1:34 PM, Matthew Smith chedders...@gmail.comwrote:

 SELECT @@IDENTITY AS 'Identity'


You might try using IDENT_CURRENT('#request.sqlobjectprefix#
TblEmailRecovery')
http://msdn.microsoft.com/en-us/library/ms175098.aspx

Otherwise, what are you looking for?

Until Later!
C. Hatton Humphrey
http://www.eastcoastconservative.com

Every cloud does have a silver lining.  Sometimes you just have to do some
smelting to find it.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358687
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: stripping characters for meta description

2014-05-13 Thread DURETTE, STEVEN J

Actually with the ^ I thought he told it to remove anything not in 0-9A-Za-z

Steve


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, May 13, 2014 11:34 AM
To: cf-talk
Subject: Re: stripping characters for meta description


you haven't told it to remove quotes, you have only told it to remove
0-9A-Za-z

If you want quotes removed also then you need to include that in your regex


On Tue, May 13, 2014 at 4:26 PM, Matthew Smith chedders...@gmail.comwrote:


 I have this:
 cfset request.page.description =
 REReplace(request.page.description,[^0-9A-Za-z ],,all)

 yes I am still getting quotes in the description.



 http://www.theartoflovingcatsanddogs.com/art-item/pueblo-kitties-coffee-cup-286/index.cfm


 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358632
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Dynamic queries within a loop

2014-05-06 Thread DURETTE, STEVEN J

I don't know if this will make a difference, but try using alternating quote 
types.

Like this:
cfdump var=#variables['course'  i]# label=#i#

Might make a difference.

-Original Message-
From: Torrent Girl [mailto:moniqueb...@gmail.com] 
Sent: Tuesday, May 06, 2014 10:32 AM
To: cf-talk
Subject: Re: Dynamic queries within a loop

Thanks.

Here is how I am dumping the dynamic queries:

cfdump var=#variables[course  i]# label=#i# 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358567
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF11... Live?

2014-04-29 Thread DURETTE, STEVEN J

And yet it isn't visible on the main adobe page. As a matter of fact if you go 
to products it isn't listed there. Even when you click see all products.

You see an ad for Adobe Marketing Cloud... Maybe they should use that to let 
everyone know the product still exists. The website certainly doesn't do it.


-Original Message-
From: Mallory Woods [mailto:mallory.wo...@gmail.com] 
Sent: Tuesday, April 29, 2014 9:48 AM
To: cf-talk
Subject: CF11... Live?


So did anyone else notice that CF11 is live as of today?

http://www.adobe.com/products/coldfusion-family.html




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358456
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF11... Live?

2014-04-29 Thread DURETTE, STEVEN J

Ok, I could sort of understand that, however ColdFusion is an existing product 
why would you remove it from the See All Products link? You can bet they 
wouldn't do that for a new version of Creative Cloud!



-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, April 29, 2014 10:08 AM
To: cf-talk
Subject: Re: CF11... Live?


I would imagine it simply isn't official yet, they have to get the website
sorted before they make an announcement


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358459
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Quick Survey

2014-03-26 Thread DURETTE, STEVEN J

H. Limiting the pool of respondents. Releasing a poll like that can easily 
be twisted. I wouldn't be surprised to see your poll quoted in six months as CF 
is dying because all of its developers are jumping ship. Not even one decided 
to stick with CF!

While polls are good for information, they can be twisted easily.

Steve


-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com] 
Sent: Tuesday, March 25, 2014 10:51 PM
To: cf-talk
Subject: Re: Quick Survey


P.S. None / sticking with CFML for now people need not take survey.  :-)

This is just for people who're specifically learning a new, non-CFML
language for income reasons. For those people only, I'm wondering, which
one(s)?


On Tue, Mar 25, 2014 at 10:43 PM, John M Bliss bliss.j...@gmail.com wrote:

 https://www.surveymonkey.com/s/5XYDGRG

 One question, You've used CFML as your primary source of income for one
 or more years. Now / soon you are learning / will learn which of the
 following because you believe it may be / become a better source of income?

 Please let me know if this survey (or similar) has already been done in
 the last six months or so.

 I will share results next week.

 https://www.surveymonkey.com/s/5XYDGRG

 --
 John Bliss - http://www.linkedin.com/in/jbliss




-- 
John Bliss - http://www.linkedin.com/in/jbliss




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358089
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The long tail of ColdFusion fail

2014-03-26 Thread DURETTE, STEVEN J

I like this analogy... You buy a new Ford Fusion. Ford tells you about how 
closing the doors and locking it is a security feature. 
Then, you go park in a high crime area with the car running, keys in the 
ignition and the doors wide open. 

So who is responsible when the car gets stolen?

(The media would report an issue with Ford door locks.)  :)

Steve


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, March 26, 2014 9:57 AM
To: cf-talk
Subject: Re: The long tail of ColdFusion fail


 CF should install locked down out of the box, there really should be no
 need to follow a complex lockdown guide to make it secure.

That sounds great in theory, but I don't think it would work well in reality.

Whenever you install server software, you are responsible for
understanding how it works, and for making tradeoffs between security
and functionality. Adobe doesn't know how exactly you're going to use
CF, and what tradeoffs you're willing to accept. Those are going to be
radically different between various developers and administrators, and
even radically different from one project to the next. There's no
substitute for basic knowledge here - it's just that simple.

If you really think Adobe is responsible for your server's security,
and should be installed locked down out of the box, you must have a
different idea of what locked down means than I do.

Adobe is responsible for vulnerabilities in the CF Administrator, but
you are responsible for ensuring that the CF Administrator isn't
exposed to untrusted networks. It's a web application, just like any
other.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358117
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The long tail of ColdFusion fail

2014-03-26 Thread DURETTE, STEVEN J

Actually not really. 

On the lot you are shown the car they unlock and open the doors and start the 
engine. Then you are told you should lock the doors for security. You don't 
follow the suggestion and your car can be stolen.

When you install CF it is installed in a base format with the equivalent of the 
doors unlocked and open and the engine running.  Adobe then suggests that you 
use the lockdown guide to secure your server. You don't follow the suggestion 
and your server can be stolen.

This is not a false analogy because it is comparing the direct actions of the 
person, the product is not relevant and the actions compared are directly 
related to the results. It does not state that the car will always be stolen, 
nor does it state that the server will always be stolen.  There is no inference 
(a person is lazy because their sibling is lazy), it is a direct comparison of 
the results that occur when the same event happens with two different products 
and who is really to blame. You can't blame Ford for your direct inaction to 
what they said and you can't blame Adobe for your inaction when it comes to the 
lockdown guide.



-Original Message-
From: Adam Cameron [mailto:dacc...@gmail.com] 
Sent: Wednesday, March 26, 2014 10:55 AM
To: cf-talk
Subject: Re: The long tail of ColdFusion fail


The doors are locked by default though, aren't they?

Plus it's a bit of a false
analogyhttp://en.wikipedia.org/wiki/False_analogyanyhow.


On 26 March 2014 14:44, DURETTE, STEVEN J sd1...@att.com wrote:


 I like this analogy... You buy a new Ford Fusion. Ford tells you about how
 closing the doors and locking it is a security feature.
 Then, you go park in a high crime area with the car running, keys in the
 ignition and the doors wide open.

 So who is responsible when the car gets stolen?

 (The media would report an issue with Ford door locks.)  :)

 Steve





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358124
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The long tail of ColdFusion fail

2014-03-26 Thread DURETTE, STEVEN J

How about this issue. You lock down ColdFusion to the max and CFFile is 
completely disabled. The person who did the install now uploads a legacy site 
that uses a lot of cffile tags. Now you have a user who is complaining Adobe 
broke my code.

We can't please everyone and I believe the standard pretty much everywhere is 
install open with lockdown options and give direction on how to secure it more.


-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au] 
Sent: Wednesday, March 26, 2014 11:46 AM
To: cf-talk
Subject: Re: The long tail of ColdFusion fail


I agree with Ben and Dave

There was a point, where I was siding with Adam on this. But Ben you make a
good point, which I think Dave was trying to get at. SysAdmins by default
are the type that want to do everything, they need to know what it is they
have control over. Therefore, if Adobe in this case locked it down, they
would become too complacent with the product.

But


Where Adam is coming from, is that there are a lot more people out there
developing and maintaining cheap VPS servers for clients, which has been a
huge push by the Community to some degree when hosting ever pops up. You
know I feel safer having someone who manages the SysAdmin side of it, than
rely on my knowledge as a developer.

The problem is the perception of the younger developers coming up, is just
that, they expect things to be done for them, in cases like what Adam is
describing is that it is locked down 100%. Which I think would force these
younger, newer developers to ColdFusion, to then learn the security of
ColdFusion if they are forced to begin unlocking what they need.

Now the question is how would Adobe then begin to cater for both those
worlds?


Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+:  http://plus.google.com/113032480415921517411

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358129
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: The long tail of ColdFusion fail

2014-03-26 Thread DURETTE, STEVEN J

+ 1

-Original Message-
From: Wil Genovese [mailto:jugg...@trunkful.com] 
Sent: Wednesday, March 26, 2014 12:56 PM
To: cf-talk
Subject: Re: The long tail of ColdFusion fail


I'll weigh in on this for a few reasons. One of the servers in the Krebs 
article is one that I was called in to fix. I've had to investigate/fix several 
other breached servers over the past year. All were new to us clients that came 
to us with a breached server. Another reason is that I maintain a large number 
of ColdFusion servers at CF Webtools. Another is that other hosting companies 
contact CF Webtools and myself to assist with ColdFusion server issues.

I am not all that concerned about the exploit. All software has bugs. Adobe 
fixed it pretty quick once it was noticed. Reading David Epler's blog post 
(http://www.dcepler.net/post.cfm/how-patching-coldfusion-8-0-x-made-you-more-vulnerable-in-some-cases-or-fun-with-cve-2013-0632-from-apsb13-03)
 may lead you to think that Adobe didn't do proper testing. But that's not the 
concern here. I know of many properly locked down servers that didn't get 
hacked even though it was attempted.

The concern here is Who should be responsible for setting up, maintaining and 
securing a public facing server? 
(http://www.trunkful.com/index.cfm/2014/3/7/Who-Patches-Your-ColdFusion-Servers)
 The short answer is A qualified systems administrator and that should be the 
end of the discussion. I don't care if you're installing ColdFusion, Railo, 
PHP, .NET, Ruby, MySQL or any other system. If you are not a systems 
administrator you should not be working on the server. There are no excuses and 
the costs of making a mistake are growing very quickly.

Should the ColdFusion installer do all the things in the lockdown guide for me? 
The answer is mixed. I'd love to see CFIDE split apart so that CFAdmin is 
standalone from the scripts. How Adobe does it is up to them.  Another change 
I'd like to see is during the install is to have the option to pick the user 
account that ColdFusion will run under. This has been an option for the Linux 
installer, but not on Windows. (At least not that I can remember.) The last 
item I'd like to see is during the Secure Profile install is that CFAdmin is 
locked down to localhost by default and the option to add an IP address if 
needed. 

I think these changes would be a huge step in persuading the sysadmin into 
properly securing ColdFusion installations. I know these have been mentioned 
before and during the ColdFusion 10 beta cycle many new security and 
installation changes where made. These were deferred. I'd like to see these 
added this time.

I know some people are going to take issue with requiring systems 
administrators to install and maintain ColdFusion servers. Too bad. I think it 
is obvious now that the costs of not having a qualified systems administrator 
are too high. 

Regards,
Wil



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358135
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF session management suddenly not sticking ...

2014-03-07 Thread DURETTE, STEVEN J

Any chance you are using Chrome in Incognito mode? Maybe it's just dropping the 
cookies as fast as you assign them. Or maybe you have an add on that is killing 
cookies.

Steve

-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Friday, March 07, 2014 1:46 PM
To: cf-talk
Subject: Re: CF session management suddenly not sticking ...


  The best solution, in my opinion, is to switch to J2EE sessions,
  assuming you can invest the time and effort to do that.

I'm having almost the exact same problem. My login system, had been 
working perfectly (CF8) until we moved everything to a new server with 
CF10 on it.

Now, Chrome will log you out as fast as you can log in.
The only exception is if I set - addtoken=yes to the URLs. The second 
it hits a URL without the token, you're out. Not good.


cfapplication name=SiteADMIN
   clientmanagement=yes
   sessionmanagement=yes
   setdomaincookies=yes
   sessiontimeout=#CreateTimeSpan(0,8,00,0)#
   applicationtimeout=#CreateTimeSpan(0,8,00,0)#
   clientstorage=cookie 

!--- Define that this user is logged out by default ---
CFPARAM NAME=session.isADMIN DEFAULT=false

!--- Define this user id to zero by default  ---
CFPARAM NAME=session.thisUSER DEFAULT=0


So considering the above - what, in theory, would be the exact 
consequences in switching to J2EE sessions? I don't this there would be 
that much code that would need to be changed. I'm simply checking that 
session.isADMIN is true in my application file.  I admittedly don't have 
a super-technical understanding of exactly how things have changed 
between CF8 and CF10.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: setting up team games

2014-02-04 Thread DURETTE, STEVEN J

Actually there are 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 45 possible combinations.

Steven Durette
Professional Applications Developer
ATT Network Operations - Construction and Engineering
sd1...@att.com
(810) 984-6684 [work]
(810) 334-7778 [personal cell]

2020 Bancroft St
Room 22
Port Huron, MI 48060

-Original Message-
From: Will Swain [mailto:w...@hothorse.com] 
Sent: Tuesday, February 04, 2014 11:16 AM
To: cf-talk
Subject: Re: setting up team games


9 games surely, since a team cannot play itself.




On 4 February 2014 16:05, Robert Harrison rob...@austin-williams.comwrote:


 I assume you're using a data base and some sort of random generator
 program to match up the teams.  If this is the case, just keep a history
 table of who has played who, then when you run the random play generator,
 check the history and do not allow repeats.

 If you're going to get 10 teams to play each other, it's going to take
 more than 10 games to get them to play each other... I think that would
 take 90 games... unless not everyone is playing everyone.

 Robert Harrison
 Director of Interactive Services

 Austin  Williams
 Advertising I Branding I Digital I Direct
 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
 T 631.231.6600 X 119   F 631.434.7022
 http://www.austin-williams.com

 Blog:  http://www.austin-williams.com/blog
 Twitter:  http://www.twitter.com/austin_williams

 -Original Message-
 From: Chad Gray [mailto:cg...@careyweb.com]
 Sent: Tuesday, February 04, 2014 11:00 AM
 To: cf-talk
 Subject: setting up team games


 I am working on a website to keep track of baseball teams.  once section
 will be to take like 10 teams and set them up to play each other over 10
 games.

 I would like to figure out a way to programmatically to take the 10 teams
 and match them up with the other teams over the 10 games so they only play
 each other once over the course of the 10 games.

 Make sense?  I am sure it is something simple, but I can't get my head
 wrapped around it.

 Thanks!
 Chad



 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357586
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: setting up team games

2014-02-04 Thread DURETTE, STEVEN J

Nope, only 45.
Team 1 = 1 * 9 (meaning all of the other teams)
Team 2 = 1 * 8 (Team 1 against Team 2 was accounted for in the previous calc)
Team 3 = 1 * 7 (Team 3 against Teams 1 and 2 already accounted for)
...
Team 9 = 1 * 1 (All other combinations have been accounted for except Team 9 
against Team 10)
Team 10 = No combinations left because they were previously accounted for. 

Steven Durette
Professional Applications Developer
ATT Network Operations - Construction and Engineering
sd1...@att.com
(810) 984-6684 [work]
(810) 334-7778 [personal cell]

2020 Bancroft St
Room 22
Port Huron, MI 48060


-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Tuesday, February 04, 2014 11:20 AM
To: cf-talk
Subject: RE: setting up team games


It has to be 90 games.  Just draw a 10 by 10 grid and list the teams up and 
down. That's 100 squares. X out the ones where a team plays itself, and you 
have ten boxes removed... that's 90 games. 

Thinking this way, you could use an array if you wanted. 

Robert Harrison 
Director of Interactive Services

Austin  Williams
Advertising I Branding I Digital I Direct  
125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
T 631.231.6600 X 119   F 631.434.7022   
http://www.austin-williams.com

Blog:  http://www.austin-williams.com/blog
Twitter:  http://www.twitter.com/austin_



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357587
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: setting up team games

2014-02-04 Thread DURETTE, STEVEN J

Actually if every team plays every day over the course of 10 days then this is 
not possible. That would be 5 games per day, at 10 days = 50 games. There are 
only 45 possible no repeat combinations.

If you just want a list of all the possible combinations with no repeats this 
SQL will produce those 45 items for you. You could pick from there. 

declare @teamlist table (team tinyint not null);
insert into @teamlist(team)
values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);

select distinct
case when a.team  b.team then a.team else b.team end as TEAMA
,case when a.team  b.team then a.team else b.team end as TEAMB
from @teamlist as a
inner join @teamlist as b
on a.team  b.team
order by teama, teamb
;

 Ya rounds...  like there will be 10 days that all 10 teams will play each 
 other on that day
 
 I need to pair up the teams so they don't repeat playing each other over the 
 course of the 10 days of games.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357593
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Hosting... Again

2014-01-13 Thread DURETTE, STEVEN J

Hostmedia.co.uk - Never had a problem with them and they are always responsive. 
Their prices are great and they have servers all over the place so it can 
probably be hosted in the same country you are located in.

Steve


-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Friday, January 10, 2014 8:22 AM
To: cf-talk
Subject: Hosting... Again


Hi All,

I've got a lot of large CF sites I have to move because my host is not up to 
what we've grown to be.  Love the guy and been with him for years, but now I 
have to go.

I've asked this before (in October), but now that I'm no longer in denial I'm 
looking for CF hosting recommendations again.  I have the previous 
recommendations which I'm listing below.

If anyone has comments about any of the hosts below, or better recommendations, 
please provide your feedback.  I'm about to move a boatload of serous sites. 

So far, I've gotten recommendations for:
Hostek
Viviotech
CrystalTech
http://www.kickassvps.com/
Please let me know if you have additional recommendations or feedback on these 
hosts.

Thanks,
Robert



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:357396
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Mobile

2013-09-27 Thread DURETTE, STEVEN J

Here is another one for you. Make sure that your redirect has code in it to 
allow the user to choose the Desktop Browser version.

Nothing is more annoying that getting a mobile version of a site that doesn't 
do exactly what is wanted, then when the user clicks the desktop version they 
are taken to the main page but any other request takes them right back to the 
mobile version, all because the programmer didn't respect the fact that maybe 
the user knows how they want to access a site.

Steve

-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com] 
Sent: Friday, September 27, 2013 6:30 PM
To: cf-talk
Subject: Re: Mobile


 I would suggest basing your redirect on screen width rather than user
agent strings.

This. This is why I ask questions like this one of this list. Answer so
simple and yet so genius. Thank you!


On Fri, Sep 27, 2013 at 5:50 PM, Brian Cain bcc9...@gmail.com wrote:


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356865
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CreateODBCDate()

2013-09-06 Thread DURETTE, STEVEN J

Your year is 20141 that is close to twenty thousand years in the future.

-Original Message-
From: Stephens, Larry V [mailto:steph...@iu.edu] 
Sent: Friday, September 06, 2013 8:33 AM
To: cf-talk
Subject: CreateODBCDate()


I'm stumped. This is an UPDATE query running on a CF8 server with an Access 
backend. (This is before I started using cfqueryparam and I haven't had a 
chance to update this code.) I've abbreviated the page.

cfparam name=FORM.DuesExpire default=

In the query: DuesExpire = cfif len(FORM.DuesExpire) EQ 
0NULLcfelse#CreateODBCDate(FORM.DuesExpire)#/cfif,

This has been working.

I'm using cftry. Here's the message it sent me:

Detail: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC 
Microsoft Access Driver] Syntax error (missing operator) in query expression 'd 
'20141-04-30'}'

It shows the query:  ..., DuesExpire = {d '20141-04-30'}, ...

I tried a test, thinking that the FORM value was malformed (it's set by the 
program, not manually entered):

cfset x = '20141/04/01'
cfoutput#CreateODBCDate(x)#/cfoutput

That throws:
20141/04/01 is an invalid date or time string.

This implies to me that an error would have been thrown by the attempt to 
create the date via CreateODBCDate, but it looks to me like the function 
created a malformed ODBC date and the program choked when it tired to insert 
that into the table.
Am I missing something? Any suggestions what happened?
Larry Stephens






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356710
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CreateODBCDate()

2013-09-06 Thread DURETTE, STEVEN J

Are you sure that you aren't adding that twenty thousand years by accident?

It is for a dues expire, are you doing a + 1 to it?  For example:
cfset Variables.mydate = '04/30/2014' /
cfset Variables.mydate = Variables.mydate + 1 /

Result in this case would be Variables.mydate = '04/40/20141'.
Instead something like dateadd(m, 1, Variables.mydate) needs to be used.

Just a possibility. We can only guess without seeing the code between where the 
date comes in and when it is actually processed by the createodbcdate.

Steve

-Original Message-
From: Stephens, Larry V [mailto:steph...@iu.edu] 
Sent: Friday, September 06, 2013 10:31 AM
To: cf-talk
Subject: RE: CreateODBCDate()


shouldn't it be 2014 not 20141 ?

Your year is 20141 that is close to twenty thousand years in the future.


I know that - that's why I get the error on UPDATE. My question is has anyone 
ever seen CreateODBCDate create something like this?

My point below is that if FORM had passed 04/30/20141 to CreateODBCDate the 
error would have been thrown there and the query would never be attempted. It 
looks to me like FORM passed 04/30/2014 (which would be correct in this 
context) and CreateODBCDate added the 20,000 years. I don't know why it would 
do that.


On Fri, Sep 6, 2013 at 1:33 PM, Stephens, Larry V steph...@iu.edu wrote:


 I'm stumped. This is an UPDATE query running on a CF8 server with an
 Access backend. (This is before I started using cfqueryparam and I haven't
 had a chance to update this code.) I've abbreviated the page.

 cfparam name=FORM.DuesExpire default=

 In the query: DuesExpire = cfif len(FORM.DuesExpire) EQ
 0NULLcfelse#CreateODBCDate(FORM.DuesExpire)#/cfif,

 This has been working.

 I'm using cftry. Here's the message it sent me:

 Detail: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC
 Microsoft Access Driver] Syntax error (missing operator) in query
 expression 'd '20141-04-30'}'

 It shows the query:  ..., DuesExpire = {d '20141-04-30'}, ...

 I tried a test, thinking that the FORM value was malformed (it's set by
 the program, not manually entered):

 cfset x = '20141/04/01'
 cfoutput#CreateODBCDate(x)#/cfoutput

 That throws:
 20141/04/01 is an invalid date or time string.

 This implies to me that an error would have been thrown by the attempt to
 create the date via CreateODBCDate, but it looks to me like the function
 created a malformed ODBC date and the program choked when it tired to
 insert that into the table.
 Am I missing something? Any suggestions what happened?
 Larry Stephens




 





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356717
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Outputting SQL aliases as table headers

2013-08-29 Thread DURETTE, STEVEN J

Try looking at query_name.columnList it should have a list of the columns 
returned from a cfquery.

Of course replace query_name with the name of your actual query.

-Original Message-
From: Monique Boea [mailto:moniqueb...@gmail.com] 
Sent: Thursday, August 29, 2013 11:08 AM
To: cf-talk
Subject: Re: Outputting SQL aliases as table headers


They are dynamic with spaces.





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Syntax is driving me nuts!

2013-08-20 Thread DURETTE, STEVEN J

Try structkeyexists

cfif structKeyExists(Form, rel_  ar)

If you really need to use isdefined, it would be:
cfif isDefined(form.rel_  ar)

Steve


-Original Message-
From: Rick Sanders [mailto:r...@webenergy.ca] 
Sent: Tuesday, August 20, 2013 11:49 AM
To: cf-talk
Subject: Syntax is driving me nuts!


Hey guys,

I'm trying to add multiple items to a database based on if a check box is 
checked.

This code works fine:
cfif IsNumeric(#form['qty_'  upd]#)

But I want to make sure the box is checked or not. When I do this:
cfif IsDefined(#form['rel_'  ar]#)
I get: Element rel_1 is undefined in a Java object of type class 
coldfusion.filter.FormScope.

If I do this:
cfif IsDefined(form['rel_'  ar])
I get: Parameter 1 of function IsDefined, which is now form['rel_'  ar], must 
be a syntactically valid variable name.

I'm doing all this in a loop. The form's check boxes are defined as: 
rel_#currentrow#. Then I'm looping around them:
cfloop index=ar from=1 to=#form.numrows#
Numrows comes from the recordcount of the hidden form variable output query 
displaying the checkboxes.

All I need to know is what the right syntax I need to use for IsDefined?

Kind Regards,

Rick Sanders
T: 902-401-7689
W: www.webenergy.cahttp://www.webenergy.ca/







~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356505
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Using IN() within a cfquery statement

2013-08-19 Thread DURETTE, STEVEN J

Dave... I'm surprised. Wouldn't you think that CFQueryParam would be the better 
way?

Where stuff in (cfqueryparam value=#form.stuff# cfsqltype=appropriate type 
list=yes separator=, /)

Steve

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Monday, August 19, 2013 9:42 AM
To: cf-talk
Subject: Re: Using IN() within a cfquery statement


 I have a select name=stuff multiple in a form filled with results from a 
 query.
 I get the form field value: stuff=selection1,selection5,selection12.

 How do I then build a cfquery using the stuff variable in the IN() statement?

Use the quotedValueList function to wrap single quotes around them.

SELECT ...
FROM ...
WHERE STUFF IN (#quotedValueList(form.stuff)#)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356485
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Using IN() within a cfquery statement

2013-08-19 Thread DURETTE, STEVEN J

Matt, 

I was just teasing Dave. I actually have a lot of respect for Dave for all the 
information he gives and his ability to  put it in a security context.

In regards to your response about the quickest answer because someone didn't 
RTFM and coming from a security background, I always believe that it is better 
to give a security focused answer if possible because for too long security 
hasn't even been a consideration in programming even though it should be one of 
the first things taught.

Also, we also need to consider that RTFM might not be a totally viable option 
in some situations. I know from trying to look something up last week that I 
couldn't get to cfquickdocs and cfgloss took over 15 minutes to load before I 
could search. This also could be a situation where the original poster has 
access to email but their web browsers are restricted to internal sites only. 

Not trying to start a fight, just giving another perspective. We've all been 
there, super short deadline and the mind goes blank.

Have a great day!

Steve


-Original Message-
From: Matt Quackenbush [mailto:quackfu...@gmail.com] 
Sent: Monday, August 19, 2013 10:05 AM
To: cf-talk
Subject: Re: Using IN() within a cfquery statement


I take an entirely different viewpoint on Dave's answer. I read the
original post and declined to answer because it seemed pretty obvious that
ZERO effort was put in place by the questioner to find an answer. My bet is
Dave had a similar feeling regarding the effort, but instead of declining
to answer gave the quickest and easiest answer that could/would be found by
a quick search or perusal of the documentation. Sometimes RTFM *is* the
appropriate response. ;-)






On Mon, Aug 19, 2013 at 9:50 AM, Mark A Kruger mkru...@cfwebtools.comwrote:


 Dave is allowed one weak answer per year... he's waited til August so I say
 we give him a break :)

 -Mark

 -Original Message-
 From: DURETTE, STEVEN J [mailto:sd1...@att.com]
 Sent: Monday, August 19, 2013 8:46 AM
 To: cf-talk
 Subject: RE: Using IN() within a cfquery statement


 Dave... I'm surprised. Wouldn't you think that CFQueryParam would be the
 better way?

 Where stuff in (cfqueryparam value=#form.stuff# cfsqltype=appropriate
 type list=yes separator=, /)

 Steve

 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Monday, August 19, 2013 9:42 AM
 To: cf-talk
 Subject: Re: Using IN() within a cfquery statement


  I have a select name=stuff multiple in a form filled with results from
 a
 query.
  I get the form field value: stuff=selection1,selection5,selection12.
 
  How do I then build a cfquery using the stuff variable in the IN()
 statement?

 Use the quotedValueList function to wrap single quotes around them.

 SELECT ...
 FROM ...
 WHERE STUFF IN (#quotedValueList(form.stuff)#)

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/
 http://training.figleaf.com/

 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.





 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356490
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Adobe no longer supports ColdFusion??? Really?

2013-06-18 Thread DURETTE, STEVEN J

Really? Because almost all of the ColdFusion developers I know code directly in 
cf and html. They do the layout through their code.

I would rather have my efficient html/css be displayed than most of the stuff 
that is added by design software.

Steve


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, June 18, 2013 2:04 PM
To: cf-talk
Subject: Re: Adobe no longer supports ColdFusion??? Really?


most developers do have to do layout work as well, even if they have been
provided with a ready made design, they usually have to then convert that
design into HTML and then insert dynamic content etc.
I don;t know many devs who are like you and only ever write server side
code and never ever do any design or layout at all.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355981
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Weird directoryList problem after migration from CF8 to CF10

2013-05-10 Thread DURETTE, STEVEN J

Ed,

This is most likely due to the fact that directoryList is now a built in 
function in ColdFusion 10. It doesn't seem to have the same inputs as the 
function that you are using. 

Steve



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355707
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Easy CFC question (I hope)

2013-05-09 Thread DURETTE, STEVEN J

Actually up higher he does a cfset var adduser =  / so he is actually 
returning a variable. He can solve it either using your way or by doing a 
cfset adduser = qUserEmail / before the cfreturn.

I just mention this because if he inspected the results he wouldn't get back 
that he was returning an instance of the component, just a simple variable.

I know a lot of people who declare some sort of return variable and set it at 
the end just before returning. 

Steve

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, May 09, 2013 11:57 AM
To: cf-talk
Subject: Re: Easy CFC question (I hope)

snip

You specified that the component returns a query object in the first
line. But you're trying to return an instance of the component. You
need to change one or the other. In this case, you probably want to
change your CFRETURN to return the query object:

cfreturn qUserEmail

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355674
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Easy CFC question (I hope)

2013-05-09 Thread DURETTE, STEVEN J

You might want to remove the cfset var adduser =  / since it isn't used 
then. Clean code is easier to troubleshoot.

That's just my .01 (I'm too cheap to give 2 cents!) LOL.

-Original Message-
From: Bruce Sorge [mailto:sor...@gmail.com] 
Sent: Thursday, May 09, 2013 12:06 PM
To: cf-talk
Subject: Re: Easy CFC question (I hope)


I just did what dave and morgan suggested and it worked like a charm. 
Embarrassed that I made this beginner mistake. I have about six or so more 
functions above this one that all work fine, just didn't pay attention to 
details on this one. 

Bruce

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355678
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Standard w3c tags

2013-04-23 Thread DURETTE, STEVEN J

Dave,

If browsers don't use them then how do you explain tags like meta 
http-equiv=cache-control content=no-cache / or meta http-equiv=EXPIRES 
content=Mon, 22 Jul 2002 11:12:01 GMT /?

I think what the original poster was asking for was what HTTP-EQUIV/NAME values 
are common and used by the browsers. I don't know if this is an exhaustive list 
but it has some of them. http://www.i18nguy.com/markup/metatags.html

Thanks,
Steve


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, April 23, 2013 12:10 PM
To: cf-talk
Subject: Re: Standard w3c tags


 Well sure, there may be. Any browser can support whatever the heck they
 wanted. But if you want to know the *official* list, the spec is your best
 bet.

Fortunately, using name meta tags doesn't even require browser
support, since browsers don't do anything with them. So, you can use
whatever you want.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355560
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Standard w3c tags

2013-04-23 Thread DURETTE, STEVEN J

Thanks for the clarification. I know a lot of times when I search for stuff 
like this the search results seem to use http-equiv and name interchangeably.  
It confused me.

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, April 23, 2013 12:29 PM
To: cf-talk
Subject: Re: Standard w3c tags

snip
Again, though, name meta tags aren't used by browsers. No browser
support is needed to implement whatever name meta tags you want to
use. As a result, there are many specific standards for these tags,
but they're not managed by W3C. I mentioned Dublin Core earlier,
that's a good place to start.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355563
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Zero budget, student-friendly CF/HTML/CSS editor?

2013-04-11 Thread DURETTE, STEVEN J

Sublime Text 2 doesn't meet the FREE requirement, though I'm enjoying my 
licensed version more and more!

+1 on open sourcing homesite!

-Original Message-
From: Rick Root [mailto:rick.r...@gmail.com] 
Sent: Thursday, April 11, 2013 1:16 PM
To: cf-talk
Subject: Re: Zero budget, student-friendly CF/HTML/CSS editor?


Sublime Text 2 with the CF plugin and the enhanced CFML/HTML plugin

Adobe should open source homesite ;)



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355365
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CDC in sql 2008

2013-03-28 Thread DURETTE, STEVEN J

You could use triggers it may have an impact on the database though. 

Another option would be to create stored procedures for doing all of your 
updates and deletes. You could then copy the original rows into another table 
with a flag saying a delete or update as well as who did it and when. After the 
data is copied, then you could actually run the update/delete.

Steve


-Original Message-
From: Asim Manzur [mailto:bytel...@gmail.com] 
Sent: Thursday, March 28, 2013 2:34 PM
To: cf-talk
Subject: CDC in sql 2008


I need to keep track the changes in my all updates/deleted in sql.

I was researching to find the solution and couldn't find anything useful.
other than CDC in sql 2008.

I don't want to handle this on application level .i.e. saving extra record
in my audit table etc, I want to do it on database level.

Really interested to know what others are doing




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355185
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Sublime Text 2

2013-03-28 Thread DURETTE, STEVEN J

You could always try this:

https://tutsplus.com/lesson/package-control/

It's a video about installing the package control properly and install a 
language highlighting package.

I worked along with the video and just typed coldfusion when he does blade!

Steve


-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Thursday, March 28, 2013 3:45 PM
To: cf-talk
Subject: Re: Sublime Text 2


On Thu, Mar 28, 2013 at 3:19 PM, dave d...@northgoods.com wrote:

 What's more, I downloaded it twice because the first time I didn't Save
 as I merely saved, expecting it to be saved in the Installed Packages
 folder but it didn't. The second time, I did direct it to that folder and I
 see it there. However, Ctrl+shift+P opens the list with a lot of items but
 nothing to install.


It's worked every single time for me. The instructions are pretty short and
straightforward. Not sure what other advice I can give.


 This program may be too advanced for me.


I doubt it. I suspect you aren't reading and following the instructions
carefully enough.

-Cameron

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355188
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Sublime Text 2

2013-03-28 Thread DURETTE, STEVEN J

If you follow the video, everything is done inside of Sublime Text 2 including 
the install of the package manager. You don't have to deal with Windows 8 at 
all (fingers crossed).

Steve

-Original Message-
From: dave [mailto:d...@northgoods.com] 
Sent: Thursday, March 28, 2013 4:18 PM
To: cf-talk
Subject: Re: Sublime Text 2


Well, it's entirely possible I'm missing a step somewhere. Part of the 
problem is that I'm trying to install this on a new laptop and having my 
first encounter with Windows 8 which is like starting all over again, my 
first time on any computer back in 1995... it's all alien.

So, I've printed out the messages and I'm going to check off each step as I 
do it.

Fingers crossed.

Thanks so much for your help.

Dave




- Original Message - 
From: Cameron Childress camer...@gmail.com
To: cf-talk cf-talk@houseoffusion.com
Sent: Thursday, March 28, 2013 2:44 PM
Subject: Re: Sublime Text 2



 On Thu, Mar 28, 2013 at 3:19 PM, dave d...@northgoods.com wrote:

 What's more, I downloaded it twice because the first time I didn't Save
 as I merely saved, expecting it to be saved in the Installed Packages
 folder but it didn't. The second time, I did direct it to that folder and 
 I
 see it there. However, Ctrl+shift+P opens the list with a lot of items 
 but
 nothing to install.


 It's worked every single time for me. The instructions are pretty short 
 and
 straightforward. Not sure what other advice I can give.


 This program may be too advanced for me.


 I doubt it. I suspect you aren't reading and following the instructions
 carefully enough.

 -Cameron

 ...


 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355190
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread DURETTE, STEVEN J

Hi all,

I have a strange dilemma with a new install of ColdFusion 9 Enterprise on 
Windows 2008 R2.

I have a server that is being swapped out, so on the new server I installed CF9 
then applied the cf901 updater. After that I applied Cumulative hot fix 4.  I 
needed this configuration because we still have some Verity collections.

The problem comes when I try to use Java 1.7. I have changed 
java.home=E:\\Java\\jdk1.7.0_17\\jre and java.home=E:/Java/jdk1.7.0_17/jre but 
both error out (see errors below).  This is 64-bit Windows, 64-Bit ColdFusion 
and 64-Bit Java.

I have also tried E:\\Java\\jre7 and E:/Java/jre7 using just the JRE and those 
error as well.

It is always stating that the file does not exist even though the file is there.

Here are the Errors: (from the *-out.log)

For E:\\Java\\jdk1.7.0_17\\jre - Error loading: 
E:\Java\jdk1.7.0_17\jre\bin\server\jvm.dll
For E:/Java/jdk1.7.0_17/jre - Error loading 
E:/Java/jdk1.7.0_17/jre\bin\server\jvm.dll
For E:/Java/jre7 - Error: no known VMs. (check for corrupt jvm.cfg file)
For E:\\Java\\jre7 - Error: no known VMs. (check for corrupt jvm.cfg file)

When I look at the Windows System Log for the Error Loading errors it has: The 
Macromedia JRun CFusion Server service terminated with service-specific error 
The system cannot find the file specified..

The file does exist I have verified it more than once. 

The only configuration that is working is when java.home=E:/JRun4/jre in the 
jvm.config file.

I'm stumped with this one and would really appreciate any insight.

Thanks,
Steve


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355168
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread DURETTE, STEVEN J

All,

I solved this one and wanted anyone else who might have this problem to have 
the solution too.

It's similar to the Note about MSVCR100.dll is missing. You solve it by 
copying msvcr100.dll to C:\Windows\System32

I was stuck because of a few things. First the cumulative hot fix stated that 
the error should have been MSVCR100.dll is missing., but it wasn't the best I 
could find was file not found. Second on a multi-instance install the 
\runtime\bin folder doesn't exist.

I found this webpage about java7 and .Net that gave me the final push: 
http://www.jnbridge.com/jn/kb/?p=163

Hope this helps someone else.

Thanks,
Steve


-Original Message-
From: DURETTE, STEVEN J 
Sent: Wednesday, March 27, 2013 8:05 AM
To: cf-talk
Subject: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

Hi all,

I have a strange dilemma with a new install of ColdFusion 9 Enterprise on 
Windows 2008 R2.

I have a server that is being swapped out, so on the new server I installed CF9 
then applied the cf901 updater. After that I applied Cumulative hot fix 4.  I 
needed this configuration because we still have some Verity collections.

The problem comes when I try to use Java 1.7. I have changed 
java.home=E:\\Java\\jdk1.7.0_17\\jre and java.home=E:/Java/jdk1.7.0_17/jre but 
both error out (see errors below).  This is 64-bit Windows, 64-Bit ColdFusion 
and 64-Bit Java.

I have also tried E:\\Java\\jre7 and E:/Java/jre7 using just the JRE and those 
error as well.

It is always stating that the file does not exist even though the file is there.

Here are the Errors: (from the *-out.log)

For E:\\Java\\jdk1.7.0_17\\jre - Error loading: 
E:\Java\jdk1.7.0_17\jre\bin\server\jvm.dll
For E:/Java/jdk1.7.0_17/jre - Error loading 
E:/Java/jdk1.7.0_17/jre\bin\server\jvm.dll
For E:/Java/jre7 - Error: no known VMs. (check for corrupt jvm.cfg file)
For E:\\Java\\jre7 - Error: no known VMs. (check for corrupt jvm.cfg file)

When I look at the Windows System Log for the Error Loading errors it has: The 
Macromedia JRun CFusion Server service terminated with service-specific error 
The system cannot find the file specified..

The file does exist I have verified it more than once. 

The only configuration that is working is when java.home=E:/JRun4/jre in the 
jvm.config file.

I'm stumped with this one and would really appreciate any insight.

Thanks,
Steve


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread DURETTE, STEVEN J

Andrew, I'm not sure what you mean by the all the updates and then drop Java7 
into the required location?

I installed CF9, then the updater to 9.01, then Cumulative Hot Fix 4 for 9.01.  
As I understand it that includes all updates for 9.01.  I can't use 9.02 
because I need Verity at this time.  What would the required location of Java7 
be? Overwrite the JRun4 JRE?  If I did that I wouldn't have a fallback in case 
I couldn't get CF9.01 to work with Java7.

Thanks,
Steve

-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au] 
Sent: Wednesday, March 27, 2013 9:24 AM
To: cf-talk
Subject: Re: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7


Failing that, you could have updated all the updates and then drop Java 7
into the required location.


Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+:  http://plus.google.com/113032480415921517411



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355172
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread DURETTE, STEVEN J

Not exactly, All of the updaters were installed on 1.6. They had to be because 
you can't use 1.7 until the latest cumulative hotfix is installed.

The issue came up because in a multi-instance set up like I have, The error 
that Adobe says will happen if msvcr100.dll is not in the correct place doesn't 
match the error that was given by JRun and Windows. Also, on a multi-instance 
there is no {ColdFusion-Home}\runtime\bin to drop the file into. In this case 
the solution I found was to drop that file into C:\Windows\System32.

I've posted a blog entry about it at: 
http://cfsqlinfo.com/index.cfm/2013/3/27/CF9-and-Java7

Thanks,
Steve

-Original Message-
From: Andrew Scott [mailto:andr...@andyscott.id.au] 
Sent: Wednesday, March 27, 2013 9:46 AM
To: cf-talk
Subject: Re: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7


Well drop is maybe not the right words, I was under the impression that you
had troubles updating the HF'es because you where using Java 1.7, so I
thought why not just drop back to Java 1.6 or change your path back to 1.6
and then apply the updates.

Then change back to Java 1.7 as you had done.

Or am I not understanding the problem?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355175
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread DURETTE, STEVEN J

Russ,

Not exactly, the actual issue is with Java 7 and the ColdFusion services in 
Windows. Even if I copied and restored the individual server directories 
restoring them wouldn't have helped.

Also, I'm using custom jvm.config files so if I restored the whole JRun4 
directory, the services would still try to connect using the custom config 
files (their location is in the registry). I've learned a lot about ColdFusion 
Instances and how they are in the registry. It can actually be easier to edit 
the Registry, then stop and restart the service, than the method of deleting 
the service and re-creating it with jrunsvc as most blog posts seem to advocate.

Anyway, in this case it is just putting a file in a place where windows can see 
it.

Thanks,
Steve

-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Wednesday, March 27, 2013 9:48 AM
To: cf-talk
Subject: RE: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7


Fyi you can simply backup the coldfusion folder, if everything goes tits
up, just restore it.

Regards
Russ Michaels
www.michaels.me.uk
www.cfmldeveloper.com - Free CFML hosting for developers
www.cfsearch.com - CF search engine
On Mar 27, 2013 1:30 PM, DURETTE, STEVEN J sd1...@att.com wrote:


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355176
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: now( ) is off by an hour

2013-03-12 Thread DURETTE, STEVEN J

Check the date and time on the ColdFusion server. Also, make sure that your DB 
server and ColdFusion server are in the same time zone.


-Original Message-
From: daniel kessler [mailto:dani...@umd.edu] 
Sent: Tuesday, March 12, 2013 8:49 AM
To: cf-talk
Subject: now( ) is off by an hour


I am working on an application that does it's own timeout, at 45 minutes.  It 
gets the last logged in time and compares it to the database current time.  The 
database time is correct.  However, the now() time is incorrect by an hour.  I 
assume this is due to daylight savings time.

So where does now() get it's time?  I'm on a VPN and that has the correct time 
when I check it's clock.  Would it then be the server that hosts the VPN?  Or 
someplace else?

thank you.

daniel 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354933
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: PDF Issue

2013-03-11 Thread DURETTE, STEVEN J

Pre-shrink the image to fit the page?

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Monday, March 11, 2013 1:02 PM
To: cf-talk
Subject: RE: PDF Issue


CFDOCUMENT is using  my style sheet, but it ignores the max-width property on 
images. If I were to guess I'd say it's rendering the PDF and expanding the 
page to the width of the widest image (with the correct fonts), then converting 
it to a PDF image, then shrinking the entire page (include the text) to fit the 
page size I specified.  I see no way around this. 

Any thoughts?

Robert Harrison 
Director of Interactive Services

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354929
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Coldfusion 10 Lockdown - Apache

2013-02-22 Thread DURETTE, STEVEN J

That's great info. You should forward it to the author, maybe he can update the 
document with the update. 

Steve


-Original Message-
From: Rick Root [mailto:rick.r...@gmail.com] 
Sent: Friday, February 22, 2013 11:53 AM
To: cf-talk
Subject: Re: Coldfusion 10 Lockdown - Apache


I see the discussion, but the solution, which is to review the Coldfusion
Lockdown Guide, isn't quite right for me because the lockdown guide makes
some assumptions - most importantly that you are running UNIX if you're
using Apache.
snip /

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354631
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How would you optimize this SQL?

2013-02-20 Thread DURETTE, STEVEN J

Well, that code would be equivalent to:

SELECT @intCourseCompletions = COUNT(intMemberStageID) FROM tblMemberStages 
WHERE bitCompleted = 1;

However I believe to get any performance increase you will need an index on 
bitCompleted.

CREATE INDEX myindexname ON tblMemberStages (bitCompleted);

You could also try: SELECT @intCourseCompletions = sum(cast(bitCompleted as 
int)) FROM tblMemberStages;

The conversion to INT may or may not take longer. The index is probably your 
best bet but try both ways to see which works best.

Steve

-Original Message-
From: Torrent Girl [mailto:moniqueb...@gmail.com] 
Sent: Wednesday, February 20, 2013 11:07 AM
To: cf-talk
Subject: How would you optimize this SQL?


Hello all

I was told that the following sql is taking too long to run but the person 
doing load testing:

SELECT @intCourseCompletions=(SELECT COUNT(intMemberStageID) as completions 
FROM tblMemberStages WHERE bitCompleted=1)

It is a stored proc.

Any suggestions on how I can optimize it for better performance?

I just want to count the number of completions. 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354594
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Coldfusion 10 automatic updates not working

2013-02-07 Thread DURETTE, STEVEN J

And yet I believe that would go against the lockdown guides... So our options 
are easy updates or secure systems?



-Original Message-
From: Carl Von Stetten [mailto:vonner.li...@vonner.net] 
Sent: Thursday, February 07, 2013 10:52 AM
To: cf-talk
Subject: Re: Coldfusion 10 automatic updates not working


This is a common issue reported on the Adobe ColdFusion forums.  The 
only solution I have found to work reliably for me (and I'm on the same 
OS and web server) is to make sure that the service account ColdFusion 
is running under is a member of the local Administrators group.  You may 
also want to restart the ColdFusion service after putting the account in 
the Administrators group.

-Carl V.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354347
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Dealing with HIGH secuity on a W2008 server

2013-02-05 Thread DURETTE, STEVEN J

Right click the program used to edit, and choose run as administrator, then 
open the file from within the application. You can't get admin rights that I 
know of by right clicking a file and choosing edit.


-Original Message-
From: =?ISO-8859-1?Q?Claude_Schn=E9egans 
[mailto:schneegans@interneti=71?=.=?ISO-8859-1?Q?ue.com=3E?=] 
Sent: Tuesday, February 05, 2013 2:55 PM
To: cf-talk
Subject: Re: Dealing with HIGH secuity on a W2008 server


  If so, you should be
able to open any program from that prompt and have it use
Administrator privileges.

I can run any program as administrator if I right click on the progam exe file 
in Windows Explorer,
But I cannot set its privilege level in its properties.
This is annoying, because if I click Edit on a file, I can edit it, but not 
save it.
There is no Edit as administrator in the options.
How come I don't have all administrator privileges by default if I am 
administrator ?
This is not security, this is paranoia :-(




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354328
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Dealing with HIGH secuity on a W2008 server

2013-02-05 Thread DURETTE, STEVEN J

Go look here: 
http://www.wikihow.com/Add-an-%22Open-With-Notepad-As-Administrator%22-Shortcut-to-the-Context-Menu-in-Windows-7-and-Windows-Vista

It tells you how to add Open With Notepad as Administrator, you should be 
able to modify that to do what you want. This way you don't have to disable UAC 
which is what you would have to do to get that Super Administrator you were 
talking about. Disabling UAC would probably violate all sorts of rules relating 
to the locked down server.

Steve


-Original Message-
From: =?ISO-8859-1?Q?Claude_Schn=E9egans 
[mailto:schneegans@interneti=71?=.=?ISO-8859-1?Q?ue.com=3E?=] 
Sent: Tuesday, February 05, 2013 3:58 PM
To: cf-talk
Subject: Re: Dealing with HIGH secuity on a W2008 server


 Right click the program used to edit, and choose run as administrator, then 
 open the file from within the application.

Thanks, I know I can do that, my question is how to bypass this hassle?

 You can't get admin rights that I know of by right clicking a file and 
 choosing edit.

But how come since I log as Administrator ?

Now, if I remember well, I had the same problem on W7: the Administrator has 
not all administrators's rights and I found a way to log as SUPER 
administrator.
I'll check to see if I can find this information again.




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:354334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF9 Enterprise. Max heap recommendation?

2013-01-16 Thread DURETTE, STEVEN J

I believe that 2 gig limit was 32 bit OS. I run at much higher on 64 bit OS.

-Original Message-
From: Money Pit [mailto:websitema...@gmail.com] 
Sent: Wednesday, January 16, 2013 2:54 PM
To: cf-talk
Subject: CF9 Enterprise. Max heap recommendation?


I am running a slew of VPS instances at Viviotech.  Each VPS runs CF9
Enterprise.  The VPS has 6GB of RAM available, and I have the JVM max
heap set to 2GB.  Did some research on this some time ago and (right
or wrong) the consensus I found was that 2Gb was about the max that
you wanted to go.

On one of the high traffic instances, I ran out of heap space today.
Hosting tech's solution was to increase heap size to 2.5G.

Any thoughts on whether this new value is in fact over a line/out of
comfort zone?

Anyone have a good link to jvm tuning settings?  I'm presently using

-server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m
-XX:+UseParallelGC -Xbatch


-- 
--m@Robertson--
Janitor, The Robertson Team
mysecretbase.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353944
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF9 Enterprise. Max heap recommendation?

2013-01-16 Thread DURETTE, STEVEN J

So you should be good to go. Increase to what you need/have available. I leave 
2 Gig for OS, the rest I split equally between ColdFusion Instances (well two 
instances are running with small amounts of memory, but that is all they need).

Steve


-Original Message-
From: Money Pit [mailto:websitema...@gmail.com] 
Sent: Wednesday, January 16, 2013 3:12 PM
To: cf-talk
Subject: Re: CF9 Enterprise. Max heap recommendation?


On Wed, Jan 16, 2013 at 11:56 AM, DURETTE, STEVEN J wrote:

 I believe that 2 gig limit was 32 bit OS. I run at much higher on 64 bit OS.


Ah I failed to mention it but I am running on Win 2k8/64

-- 
--m@Robertson--
Janitor, The Robertson Team
mysecretbase.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353946
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Lite CFML Editor

2013-01-11 Thread DURETTE, STEVEN J

Notepad++ has a ColdFusion plugin, and  it is kind of nice to have color coding.

Steve

-Original Message-
From: Steve Milburn [mailto:scmilb...@gmail.com] 
Sent: Friday, January 11, 2013 8:10 AM
To: cf-talk
Subject: Re: Lite CFML Editor


You may want to take a look at Brackets - http://brackets.io

~Steve


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: append with cfset

2012-12-27 Thread DURETTE, STEVEN J

I believe that should be += and I think that started working in CF9.

-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Thursday, December 27, 2012 2:04 PM
To: cf-talk
Subject: append with cfset


I thought CF could appended data in a cfset tag like:

 

cfset foo = boo

cfset foo =+ moo

 

So if you output foo you would get boomoo.

 

Or am I thinking of another language?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353703
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: append with cfset

2012-12-27 Thread DURETTE, STEVEN J

Oh, good point... try = that is a guess so I don't guarantee it.

-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Thursday, December 27, 2012 2:10 PM
To: cf-talk
Subject: RE: append with cfset


I do it that way and it tries to use addition (math) not append.


-Original Message-
From: DURETTE, STEVEN J [mailto:sd1...@att.com] 
Sent: Thursday, December 27, 2012 2:05 PM
To: cf-talk
Subject: RE: append with cfset


I believe that should be += and I think that started working in CF9.

-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Thursday, December 27, 2012 2:04 PM
To: cf-talk
Subject: append with cfset






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353705
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: append with cfset

2012-12-27 Thread DURETTE, STEVEN J

Any time! :)


-Original Message-
From: Chad Gray [mailto:cg...@careyweb.com] 
Sent: Thursday, December 27, 2012 2:18 PM
To: cf-talk
Subject: RE: append with cfset


AH!  Good guess.  That worked.

Thanks!


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353707
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 9 Scheduled Task Not Sending Emails

2012-12-20 Thread DURETTE, STEVEN J

You might also want to check and make sure that the email addresses you are 
sending to are valid. It could be failing on that. There is a java switch that 
will let an email go out to valid emails even if there are invalid ones, but I 
don't remember the switch at the moment.

Steve


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353576
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFERROR Handler

2012-12-06 Thread DURETTE, STEVEN J

Seems to me if it generates an error which looks like a ColdFusion error then 
we should be able to display something other than that error. That is just a 
common security practice to NOT have debug information go out to the public.

If ColdFusion isn't displaying the error, then what is Java? 

Steve


-Original Message-
From: Leigh [mailto:cfsearch...@yahoo.com] 
Sent: Thursday, December 06, 2012 11:55 AM
To: cf-talk
Subject: Re: CFERROR Handler


Search the HOF archives. I remember there is a thread about this topic. In 
brief, error handlers only capture runtime exceptions. That is a compile error, 
which happens before the code ever executes. So standard cfm error handlers 
cannot capture it.

-Leigh





~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353382
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFERROR Handler

2012-12-06 Thread DURETTE, STEVEN J

I agree about testing everything before, but I do know people who have been 
hacked by files being uploaded and executed on their website. That is one way 
that bad code can get there. I wouldn't be surprised if people didn't do it on 
purpose just to get at the information that can be provided by debugging output.

That's why at first I was confused about this. I didn't even think that the 
original poster wouldn't use the site-wide error handler. I was thinking that 
his problem was bypassing it.

Sorry I misunderstood.

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, December 06, 2012 1:19 PM
To: cf-talk
Subject: Re: CFERROR Handler


 Seems to me if it generates an error which looks like a ColdFusion error then 
 we should be able to display something
  other than that error. That is just a common security practice to NOT have 
 debug information go out to the public.

You can! This is why every application should include multiple levels
of error handling.
!--- snip ---

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: cfdirectory

2012-10-30 Thread DURETTE, STEVEN J

Sorry to say that link now takes you to the Adobe ColdFusion 10 product page.  

-Original Message-

And to add to this, if you don't have CF running as a specific AD
account, but as the default (Local System), it will not have rights to
any network resources at all and you can't really change that.

I recommend you read the CF 9 Lockdown document that's on the Adobe
site, and use that as a guide for configuring the service user
account.

http://www.adobe.com/products/coldfusion/whitepapers/pdf/91025512_cf9_lockdownguide_wp_ue.pdf

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353022
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion10 IIS7.5 and AKO SSO Authentication

2012-10-25 Thread DURETTE, STEVEN J

Could it be because IIS just passes off cfm requests to ColdFusion? There was 
just a related thread where someone suggested that a setting be changed so that 
IIS verifies that the file is created, instead of having cf do it. That way 
maybe IIS would check the file existence then pass off to siteminder, then to 
cf.

Of course I've never used siteminder so I could be totally off here, I'm just 
trying to help you in the right direction.

-Original Message-
From: Bern Weed [mailto:bernadette.w...@us.army.mil] 
Sent: Thursday, October 25, 2012 8:50 AM
To: cf-talk
Subject: ColdFusion10 IIS7.5 and AKO SSO Authentication


Anyone had any success in getting ColdFusion 10 on Windows 2008 R2 Server,IIS 
7.5, to work with Siteminder for AKO SSO authentication.  If I call and .html 
file siteminder authentication works, but if I call a .cfm file then the 
authentication does not work and the file is just displayed.  I've talked with 
AKO on this issue and they say it is an issue with the ColdFusion ISAPI filter 
in that it keeps taking precedence over the Siteminder filter.  When I look at 
the ordered list on the ISAPI filters in IIS it appears that Siteminder if 
first.  Anyone had any success with this or have any ideas.  Thanks. 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353000
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF8 Instance hogs cpu

2012-10-03 Thread DURETTE, STEVEN J

The fact that FR wouldn't crash it tends to make me think that ColdFusion is 
waiting for a response from the SQL Server. As I understand it, once its 
waiting on the database server its out of ColdFusion's hands in JAVA is waiting 
for the response.

You should look at both your ColdFusion and SQL code. Just because the code 
hasn't changed doesn't mean there wasn't a problem in the first place that just 
never got found.  I had a piece of code that worked for years, the users would 
pick a date range and it would summarize the data and put it in a report. For 
two years users did date ranges anywhere from a single date to a month, then 
one user decided that he needed the data summarized for an entire quarter. The 
system crashed under the load because of some bad SQL that hadn't been caught 
and yes we did see similar problems with the ColdFusion server but it was 
because it was waiting for the SQL server.

Steve

-Original Message-
From: Richard Steele [mailto:r...@photoeye.com] 
Sent: Tuesday, October 02, 2012 7:04 PM
To: cf-talk
Subject: Re: CF8 Instance hogs cpu


We had set this up before, but did not have good results. More often than not, 
it wouldn't crash the request, and would just keep it in limbo. 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: msaccess on 64bit

2012-09-25 Thread DURETTE, STEVEN J

I vaguely remember doing something with the Office 2010 ACE drivers, but I 
don't remember it well. All of our Access stuff was converted to SQL 2008 so I 
don't even have an example.

At least this might get you started.

Steve


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, September 25, 2012 9:05 AM
To: cf-talk
Subject: msaccess on 64bit


I know this is a sore subject, but the customer needs it for a legacy
system and no moving to MSSQL or MySQL is not an option right now.

I can get the DSN's working manually by doping this.

create DSN via

%systemdrive%\Windows\System32\odbcad32.exe

and then via

%systemdrive%\Windows\SysWOW64\odbcad32.exe

and then create an ODBC socket DSN via the CFADMIN to point to that DSN.

However this is a PITA and the client really needs to be able to create
them himself via the cfadmin, is there any better workaround that get the
Microsoft access DSN in the cfadmin working again on 64bit ?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Modern (and free) html/cf editor that is similar to Homesite?

2012-08-13 Thread DURETTE, STEVEN J

Notepad++ http://notepad-plus-plus.org

It even has a plugin for ColdFusion.


-Original Message-
From: Pete Ruckelshaus [mailto:pruckelsh...@gmail.com] 
Sent: Monday, August 13, 2012 10:16 AM
To: cf-talk
Subject: Modern (and free) html/cf editor that is similar to Homesite?


I teach web design and web programming at a public high school.  I have
been using homesite for my classes, but it doesn't play well in our
environment (locked down C drive, network drives...trust me, it has
issues).  Are there any current text editors that play well with HTML, CSS,
JavaScript, and CF, that are also free?  It doesn't need to be a super
heavy duty app like Eclipse, in fact, I tried that with my web design class
and it was a nightmare because of its complexity.

Platform is WinXP.

Thanks for any suggestions,

Pete




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352122
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF Long Text Truncation

2012-07-17 Thread DURETTE, STEVEN J

Russ, the use of Varchar(MAX) negates that 8060 limit. SQL Server stores it 
differently.

That being said, Robert, are you sure that all the data is getting to your 
query? You say that they are doing extremely large entries, are you hitting the 
HTML Post limit?  I believe that most web servers default the max size of a 
form post to 2 megabytes.

Steve


-Original Message-
From: Russ Michaels [mailto:r...@michaels.me.uk] 
Sent: Tuesday, July 17, 2012 10:14 AM
To: cf-talk
Subject: Re: CF Long Text Truncation


the row limit is 8060 bytes, are you sure your not exceeding this ?
If you need to exceed this and store large amount of data thent hose fields
will need to use TEXT or nTEXT data type which is not constained by the row
limit as the data stored in these is treated as a BLOB, and the DB simply
stores a pointer tot he data rather then the data itself in the table row.


On Tue, Jul 17, 2012 at 2:49 PM, Robert Harrison rob...@austin-williams.com
 wrote:


 Discussed this once before, but my client has again exceeded the limits
 and I'm not sure where the data is being truncated.  I am using the
 settings below. Any ideas what could be causing data truncation on long
 (extremely long) strings?

  Data Base = MS SQL Server 2008 R2
  Data Field Length = Varchar(MAX)
  Input field type =textarea
  Insert Statement CFQUERY Param = cfqueryparam
 cfsqltype=CF_SQL_LONGVARCHAR value=#trim(secured_text1) #
  CF Data Source Advanced Settings = -- Enable long text retrieval
 (CLOB) is Checked

 Two questions:

 1.   Is there any place else I should check that may have a setting
 that's causing data truncation?
 2.   Is it possible the CFQUERYPARAM type CF_SQL_LONGVARCHAR is
 causing the truncation. I see I could also use cfsqltype=CF_SQL_CLOB, but
 that does not seem to be supported on MS SQL Server.

 Any thoughts as to where the truncation may be occurring?

 Thanks

 Robert Harrison
 Director of Interactive Services

 Austin  Williams
 Advertising I Branding I Digital I Direct
 125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
 T 631.231.6600 X 119   F 631.434.7022
 http://www.austin-williams.com

 Blog:  http://www.austin-williams.com/blog
 Twitter:  http://www.twitter.com/austin_

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351913
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF Long Text Truncation

2012-07-17 Thread DURETTE, STEVEN J

Don't know if this will help but try looking at this: 
http://cutesoft.net/forums/thread/42292.aspx

It's for IIS7 but it was quickly googled, so it may be a start.

Before going that way though I would test. Submit one of these long posts to a 
test page and determine if what you sent is what got through. If its not then 
look at IIS.

Steve


-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Tuesday, July 17, 2012 11:14 AM
To: cf-talk
Subject: RE: CF Long Text Truncation


 are you sure that all the data is getting to your query ... are you hitting 
 the HTML Post limit

Where is this setting?  Is this an IIS setting or something?

Robert Harrison 
Director of Interactive Services

Austin  Williams
Advertising I Branding I Digital I Direct  
125 Kennedy Drive,  Suite 100   I  Hauppauge, NY 11788
T 631.231.6600 X 119   F 631.434.7022   
http://www.austin-williams.com

Blog:  http://www.austin-williams.com/blog
Twitter:  http://www.twitter.com/austin_



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351916
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Is CF slower than Java?

2012-06-11 Thread DURETTE, STEVEN J

My understanding is that ColdFusion is compiled down to Java byte code. It can 
be done in advance or on the fly. 

Therefore, byte code is byte code, after it is compiled it will run at the same 
speed as Java because it is compiled Java at that point.

As I understand it PHP is interpreted each time it is run (I could be totally 
off on that my last time dealing with php was years ago), so it shouldn't even 
be considered if you are comparing ColdFusion to Java. However, ColdFusion can 
be compiled either on the fly or before use, so I would think that means 
ColdFusion is the best of both worlds between Java and PHP. 

Of course this is all my own opinion and limited knowledge. 

Ok, I guess I'm ready for flames and insults if I'm wrong.

Steve


-Original Message-
From: Cameron Childress [mailto:camer...@gmail.com] 
Sent: Monday, June 11, 2012 2:03 PM
To: cf-talk
Subject: Re: Is CF slower than Java?


On Mon, Jun 11, 2012 at 1:42 PM, Shannon Rhodes shan...@rhodesedge.comwrote:


 I'm giving feedback on a colleague's paper containing the following line:

 Cold Fusion is written in JAVA which means, generally, that a ColdFusion
 program will run slower than a program written directly in JAVA.  If
 speed of the application were the primary consideration, PHP or JAVA is the
 clear choice.



This is flawed logic, since it would make the following statement also true:

Java and PHP are slower than assembly. If the speed of the application
were the primary consideration, Assembly is the clear choice.

-Cameron

...




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351542
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Problems verifying integers

2012-04-19 Thread DURETTE, STEVEN J

Depending on the version of ColdFusion the OWASP ESAPI is included. You could 
use the isValidInteger function of that. It even lets you specify a minValue 
and maxValue.

If you have CF8.01 or higher you have ESAPI.  It may be an older version, but 
you can always upgrade the esapi as well by putting in the latest jar file.

Steve


-Original Message-
From: Mary Jo Sminkey [mailto:mary...@cfwebstore.com] 
Sent: Wednesday, April 18, 2012 4:23 PM
To: cf-talk
Subject: Re: Problems verifying integers


 Cool, thanks for verifying that it's equally as wonky on later 
 versions. In my case, it's not a huge deal to sanitize what passes, I 
 mostly was annoyed that I had to add additional code just to get it to 
 work the way it seems to be intended. Maybe I'll put in a bug report 
 on it

Here you go if you want to vote on it:

https://bugbase.adobe.com/index.cfm?event=bugid=3169196

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350793
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF 10 Release

2012-04-17 Thread DURETTE, STEVEN J

Sure, you tell me when YOU think it's coming out and we will base the bet on 
that! LOL

-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com] 
Sent: Tuesday, April 17, 2012 9:28 AM
To: cf-talk
Subject: Re: CF 10 Release


Anybody want to take a bet with me? ;)

On Tue, Apr 17, 2012 at 7:40 AM, Andrew Scott andr...@andyscott.id.au wrote:

 I already own a copy of that :-)

 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350751
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


(ot) Attunity Drivers for SSIS

2012-03-28 Thread DURETTE, STEVEN J

Hi all,

I know this is OT, but you guys seem to know a lot about everything.  Part of 
my job requires that I build SSIS packages for data loads, and some of that 
data comes from Teradata. The problem I'm having is that some of the SQL 
Servers (mix of 2005, 2008, and 2008 R2) have the Attunity TeraData 1.0 drivers 
and others have the 1.1 drivers.  If I install the 1.1 version I can't create 
packages for the servers with 1.0, and the same for the reverse. Plus I can no 
longer find the 1.0 drivers at the Microsoft Website.

Does anyone know if you can have both drivers installed on a development 
machine to be able to build to any of the available machines.

Also, upgrading the drivers on the servers is not an option at this time, as it 
would mean rebuilding hundreds of SSIS packages to use the new drivers.

Thanks for any insight!

Steve


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350571
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JRun grabbing port 443 before IIS can preventing https

2012-03-16 Thread DURETTE, STEVEN J

Adding that line caused the ssl connections to SQL server to fail. Had to take 
it back out. Just going to live with the registry change for now. Hopefully 
things will change if we get to upgrade to CF9/10.

Steve

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, March 15, 2012 6:56 PM
To: cf-talk
Subject: Re: JRun grabbing port 443 before IIS can preventing https


 Strangely, the attribute name=deactivated/attribute didn't exist. The 
 document linked was for CFMX, but I added the tag with a value of
 true.  We shall see what happens. :)

Everything in the document applies to current versions of CF running on JRun 4.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350451
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JRun grabbing port 443 before IIS can preventing https

2012-03-15 Thread DURETTE, STEVEN J

I did the registry entry. However I double checked and when ColdFusion was 
installed we did not turn on the internal web server.  I will however double 
check this as well.  Someone may have been messing with the config files and 
not telling me.

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, March 15, 2012 9:49 AM
To: cf-talk
Subject: Re: JRun grabbing port 443 before IIS can preventing https


 I have an issue where we have an intranet server that is https for all 
 requests all of the time. Every time the server is
 rebooted (I hate patch Tuesday) The service Macromedia JRun CFusion Server 
 starts up before IIS and grabs hold
 of port 443. Then IIS starts and gets denied access to port 443. This stops 
 all of our websites on this box from working.

 I should also mention that this is CF8 Enterprise with multiple ColdFusion 
 Instances.

 Can anyone tell me how to let IIS come up first and get the port as it is 
 supposed to before JRun grabs it?

While Matthew's answer is absolutely correct, Russ's answer
corresponds to the question you should have asked. Configure JRun not
to use TCP/443 rather than depend on another service starting up
first.

https://www.adobe.com/support/coldfusion/adv_development/config_builtin_webserver/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350443
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JRun grabbing port 443 before IIS can preventing https

2012-03-15 Thread DURETTE, STEVEN J

Strangely, the attribute name=deactivated/attribute didn't exist. The 
document linked was for CFMX, but I added the tag with a value of true.  We 
shall see what happens. :)


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Thursday, March 15, 2012 9:49 AM
To: cf-talk
Subject: Re: JRun grabbing port 443 before IIS can preventing https


While Matthew's answer is absolutely correct, Russ's answer
corresponds to the question you should have asked. Configure JRun not
to use TCP/443 rather than depend on another service starting up
first.

https://www.adobe.com/support/coldfusion/adv_development/config_builtin_webserver/

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350444
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


JRun grabbing port 443 before IIS can preventing https

2012-03-14 Thread DURETTE, STEVEN J

Hi all,

I have an issue where we have an intranet server that is https for all requests 
all of the time. Every time the server is rebooted (I hate patch Tuesday) The 
service Macromedia JRun CFusion Server starts up before IIS and grabs hold of 
port 443. Then IIS starts and gets denied access to port 443. This stops all of 
our websites on this box from working.

I should also mention that this is CF8 Enterprise with multiple ColdFusion 
Instances.

Can anyone tell me how to let IIS come up first and get the port as it is 
supposed to before JRun grabs it?

Thanks,
Steve


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350437
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: JRun grabbing port 443 before IIS can preventing https

2012-03-14 Thread DURETTE, STEVEN J

Thanks, I found that too. I was just hoping that there was something non 
registry related.

I'll go with this though!

This list is the best!!!

Steve


-Original Message-
From: Matthew Small [mailto:chestypul...@beachbum.net] 
Sent: Wednesday, March 14, 2012 10:41 AM
To: cf-talk
Subject: Re: JRun grabbing port 443 before IIS can preventing https


Make the Macromedia JRun CFusion Server service dependant on the World Wide Web 
Publishing Service - IIS will start before JRun every time.

http://support.microsoft.com/kb/193888

- Matt


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350439
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Failed PCI Compliance test on CF9.01

2012-03-06 Thread DURETTE, STEVEN J

Just out of curiosity, why can't you have the entire session running under SSL? 
Ever since Firesheep came out it is actually suggested to be all encrypted all 
the time.

Steve


-Original Message-
From: Robert Rhodes [mailto:rrhode...@gmail.com] 
Sent: Tuesday, March 06, 2012 2:20 AM
To: cf-talk
Subject: Failed PCI Compliance test on CF9.01


So a site that I built failed PCI compliance testing because the jsessionid
cookie is not set securely.

I found this 
posthttp://thinkinglemur.com/index.php/2009/02/setting-secure-attribute-of-jsessionid-cookie-in-coldfusion-8/that
shows how to force jrun to do always set the session cookies securely,
but the user loses their session state when they move between secure and
non-secure pages (the jsessionid is different for secure pages).  This is
obviously a big problem, since we can't have the entire user session
running under ssl.  Any ideas on how to get the jsessionid to be the same
on secure and non-secure pages?  I am a little lost here.

I am running cf9.01, with the app set to sessionmanagement=yes and
setclientcookies=no.  In the administrator, I have Cookie set as my
default client storage storage mechanism, and J2EE session variables
enabled.  I also have use UUID for cftoken enabled, but since I have
setclientcookies set to no, I don't think that matters.

*-RR*




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350247
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Failed PCI Compliance test on CF9.01

2012-03-06 Thread DURETTE, STEVEN J

Your issue is more likely the fact that you are switching between https and 
http. I don't believe that the cookies can cross that barrier.

However as to your cookies not being secure check out the article by Pete 
Freitag : Adobe developer connection / ColdFusion Developer center / Securing 
your applications using HttpOnly cookies with ColdFusion.  (sorry I don't have 
the url) It has a section on using secure cookies with https/ssl.

Steve


-Original Message-
From: Robert Rhodes [mailto:rrhode...@gmail.com] 
Sent: Tuesday, March 06, 2012 11:13 AM
To: cf-talk
Subject: Re: Failed PCI Compliance test on CF9.01


I just put back the jrun setting to pass cookies securely, and am sending
the jsessionid securely again.  And I am set up to use the database for
client storage.

It's still losing the session when I switch between http and https.

I do have setclientcookies to no, because that sets cfid and cftoken
insecurely which is what caused the PCI test failure.

This really should not be this hard.  I an't be the only person dealing
with this issue.  :(


On Tue, Mar 6, 2012 at 10:44 AM, Donnie Bachan (Gmail) 
donnie.bac...@gmail.com wrote:


 Hi Robert,

 I'm not sure if I'm missing something but shouldn't you have
 setClientCookies to Yes? Otherwise you'd have to pass the JSESSIONID in the
 url on each request.

 Best Regards,
 Donnie Bachan
 Nitendo Vinces - By Striving You Shall Conquer
 ==
 The information transmitted is intended only for the person or entity to
 which it is addressed and may contain confidential and/or privileged
 material. Any review, retransmission, dissemination or other use of, or
 taking of any action in reliance upon, this information by persons or
 entities other than the intended recipient is prohibited. If you received
 this in error, please contact the sender and delete the material from any
 computer.


 On Tue, Mar 6, 2012 at 3:33 PM, Robert Rhodes rrhode...@gmail.com wrote:

 
  For both Phillip and Donnie -- I just set the site up for database
 storage
  for the client session in the cf admin (server settings - client
  variables), and I see data going in those two tables, but I am still
 losing
  the session state when moving from https to http.  I have this set in my
  application.cfm:
 
  clientmanagement=Yes
  sessionmanagement=Yes
  setclientcookies=No
  clientstorage=MyDSN
 
  What am I doing wrong?
 
 


 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350273
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CFinclude issues

2012-03-02 Thread DURETTE, STEVEN J

Actually you can... The web server can be set up to have ColdFusion process any 
file you want it to. I had to work on one site once where it was all 
ColdFusion, but all the extensions were .htm. 

-Original Message-
From: Brian Cain [mailto:bcc9...@gmail.com] 
Sent: Friday, March 02, 2012 4:01 PM
To: cf-talk
Subject: Re: CFinclude issues


Yes Andrew, that was the point I was making.

On Fri, Mar 2, 2012 at 2:56 PM, Andrew Scott andr...@andyscott.id.auwrote:


 Actually you can't being an html file, it will never be run by ColdFusion,
 and will only be seen as a standard html comment.



 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543



 On Sat, Mar 3, 2012 at 7:53 AM,  wrote:

 
   You cannot use a cfinclude on a .htm page
 
  Well, actually you can, ... but it will include nothing ;-)
 
 

 



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350211
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: emailing a cfchart?

2012-02-21 Thread DURETTE, STEVEN J

Actually in a way you can. Generate the charts as files, then use cfmailparam 
to include the files. 

Create a variable that holds the fileinformation:
cfset LocationAndFileName = getTempFile(getTempDirectory())  .png /

Generate your chart as a variable and then save it:
cfchart format=png name=chartName ... .../cfchart
cfset fileWrite(#LocationAndFileName#, chartName) /

The cfmailparam code looks like this:
cfmailparam contentID=makeAnID file=#LocationAndFileName# 
disposition=inline /

Then in your html code for the email have:
img src=cid:makeAnID /

It will include it inline.

Steve


-Original Message-
From: Les Irvin [mailto:les.cft...@gmail.com] 
Sent: Monday, February 20, 2012 7:30 PM
To: cf-talk
Subject: emailing a cfchart?


Is it possible to have cfchart code (format=png or jpg) within a
cfmail tag and have the graphic actually show up in the email? I can't
seem to manage it...
Thanks in advance for any help,
Les



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349990
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Editing the http info before it goes to the browser.

2012-02-21 Thread DURETTE, STEVEN J

Ok, I have a situation that I'm not sure how to handle.

I'm working on an application where I am not allowed to do anything to the 
settings created at an upper layer of the app. In those upper layers there is a 
CFHEADER tag that is causing problems for my part of the application. I need to 
remove it before it gets sent to the browser.

Does anyone know how to remove that before it gets sent? I've tried 
GetHttpRequestData() and GetPageContext() but neither of those show the header 
tags that I'm trying to remove.

Thanks,
Steve



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349997
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Editing the http info before it goes to the browser.

2012-02-21 Thread DURETTE, STEVEN J

Dave,

How would I do that? I have to include the Application.cfm from the higher 
level (part of the requirements) and in that file is a cfheader (actually  a 
lot of them) but I'm only concerned with the one.

Steve


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, February 21, 2012 12:08 PM
To: cf-talk
Subject: Re: Editing the http info before it goes to the browser.

You can't really do anything about that directly. But you could create
your own Application.cfc/cfm and override whatever's being done at
that higher level.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350003
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Editing the http info before it goes to the browser. [SOLVED]!

2012-02-21 Thread DURETTE, STEVEN J

Dave and everyone else, I actually solved this one!

I couldn't view the headers, but with a little bump from Ben Nadel's blog 

http://www.bennadel.com/blog/758-ColdFusion-GetPageContext-Massive-Exploration.htm

I was able to come up with this:  (I'm using Pragma as an example but can be 
used for any header created with CFHeader):

cfset getPageContext().getResponse().setHeader(pragma, ) /

The first part of the setHeader is a string that has the header name, the 
second is a string with a value. By using blank () it actually removed the 
header from being passed.

I tested this with Firefox  firedebug. The header was actually gone. I was 
also able to do things like:

cfset getPageContext().getResponse().setHeader(Last-Modified,Steve!) / 
which sent Steve! Instead of the file date.

However, this didn't work exactly:
cfset getPageContext().getResponse().setHeader(X-Powered-By, Steve) / it 
didn't work exactly as expected because the X-Powered-By was actually set by 
IIS. So instead of Steve I got X-Powered-By: Steve, ColdFusion8. Which when you 
look at how headers are supposed to work it did what it is supposed to.

Just have to remember that you can only change things that existed before and 
during the request, the webserver can still add stuff!

Steve


-Original Message-
From: DURETTE, STEVEN J 
Sent: Tuesday, February 21, 2012 12:12 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: Editing the http info before it goes to the browser.

Dave,

How would I do that? I have to include the Application.cfm from the higher 
level (part of the requirements) and in that file is a cfheader (actually  a 
lot of them) but I'm only concerned with the one.

Steve


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, February 21, 2012 12:08 PM
To: cf-talk
Subject: Re: Editing the http info before it goes to the browser.

You can't really do anything about that directly. But you could create
your own Application.cfc/cfm and override whatever's being done at
that higher level.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: CF code mapper

2012-02-16 Thread DURETTE, STEVEN J

Just wondering, what program is it that maps out the cfincludes?

Steve

On Wed, Feb 15, 2012 at 7:12 PM, Michael Dinowitz 
mdino...@houseoffusion.com wrote:


 I'm tracing some code by hand and I'm wondering if there is a better
 way. There is an app that will allow you to point to a template and
 document all of the template's cfincludes, all of the cfincludes in
 the included templates, and so on. It does not do the same for
 cfmodules, cfcomponent calls, cfx tags, etc. Is there an app which
 will do this?

 I know that such an app can easily be written but I'd rather not
 reinvent the wheel if I can help it.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349918
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Escaping #

2012-02-01 Thread DURETTE, STEVEN J

Try this:

cfoutput
cfloop index=I from=1 to=50
input type=hidden name=namefirst#1# value=#namefirst##i# 
/
/cfloop
/cfoutput

-Original Message-
From: Rob Voyle [mailto:robvo...@voyle.com] 
Sent: Wednesday, February 01, 2012 10:04 AM
To: cf-talk
Subject: Re: Escaping #


Hi 

thanks to all the guys who have helped on this project. Most of it is working 
but...

I am passing hidden variables to a confirmation page this line of code works:

input type=hidden name=namefirst2  
value=cfoutput#namefirst2#/cfoutput /

I can't get the loop to work

cfloop index = i from = 1 to = 50
input type=hidden name=namefirst#i# 
   value=cfoutput#'namefirst'  i#/cfoutput /
/cfloop

Thanks

Rob
Robert J. Voyle, Psy.D.
Director, Clergy Leadership Institute
For Coaching and Training in Appreciative Inquiry
Author: Restoring Hope: Appreciative Strategies
 to Resolve Grief and Resentment
http://www.appreciativeway.com/
503-647-2378 or 503-647-2382






~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349699
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Escaping #

2012-02-01 Thread DURETTE, STEVEN J

I agree, but I flipped it out quickly without knowing what he really wanted to 
do with value.

However it did fix his issue with not having cfoutputs around #i# in name. Well 
it would have if I had typed i instead of 1.

As always, I defer to the Master!

Steve

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Wednesday, February 01, 2012 10:18 AM
To: cf-talk
Subject: Re: Escaping #


 Try this:

 cfoutput
        cfloop index=I from=1 to=50
                input type=hidden name=namefirst#1# 
 value=#namefirst##i# /
        /cfloop
 /cfoutput

I don't think that's going to get the value of a variable called, say,
namefirst1.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, on



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349702
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion 8, FlashForms and SSL dilemma

2012-01-25 Thread DURETTE, STEVEN J

Hi all,

I have been directed to change a few of the sites that I maintain to HTTPS. So 
far everything is working great, but I have a few sites where the developer 
used flash forms extensively. These sites will bring up the flash form, but all 
of the functionality is disabled.  For example a user must choose a state, then 
the rest of the form is dynamically created and populated. When https is used, 
changing the state does nothing.

I have already googled, and made the suggested changes to remoting-config.xml 
and services-config.xml, but it still didn't work. Plus those suggestions were 
for using flex with cf, not flash forms.

I really need to get this working, and no I cannot rewrite this to get rid of 
the flash forms as much as I want to. This application is nearing end of life 
and I don't have the time to re-write it, but our security organization is 
requiring SSL.

I have already tried these sites for info:
http://www.cftips.net/post.cfm/flex-remoteobject-remoting-over-ssl
http://www.barneyb.com/barneyblog/2007/09/01/flex2-and-3-remoteobjects-over-ssl-with-coldfusion/
http://blog.crankybit.com/flex-remoting-over-ssl/

Thanks,
Steve


__

Steve Durette

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349622
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: ColdFusion 8, FlashForms and SSL dilemma (solved)

2012-01-25 Thread DURETTE, STEVEN J

I found the problem... It had to deal with IE8 only. IE 8 can't receive caching 
headers when dealing with cgi.content_type = application/x-amf. Everything I 
found on the web stated that it dealt with the pragma caching value only but 
removing that didn't work. I then decided to check if it was application/x-amf 
and I coded a cfif that wouldn't send any of the caching headers. That fixed it.

Original code:
cfset gmt = gettimezoneinfo() /
cfset gmt = gmt.utchouroffset /
cfif not gmt
   cfset gmt =  /
cfelseif gmt
   cfset gmt = +  gmt 
/cfif
/cfsilent
cfheader name=Pragma value=no-cache /
cfheader name=Cache-Control value=no-cache, must-revalidate /
cfheader name=Expires value=Mon, 26 Jul 1997 05:00:00 GMT /
cfheader name=Last-Modified value=#DateFormat(now(), 'ddd, dd mmm ')# 
#TimeFormat(now(), 'HH:mm:ss')# GMT#gmt# /

New Code:
cfset gmt = gettimezoneinfo() /
cfset gmt = gmt.utchouroffset /
cfif not gmt
   cfset gmt =  /
cfelseif gmt
   cfset gmt = +  gmt 
/cfif
/cfsilent
cfif cgi.content_type neq application/x-amf
cfheader name=Pragma value=no-cache /
cfheader name=Cache-Control value=no-cache, must-revalidate /
cfheader name=Expires value=Mon, 26 Jul 1997 05:00:00 GMT /
/cfif
cfheader name=Last-Modified value=#DateFormat(now(), 'ddd, dd mmm ')# 
#TimeFormat(now(), 'HH:mm:ss')# GMT#gmt# /

Thanks for the suggestion though I wouldn't have thought of checking the net 
tab in firebug.

Steve

-Original Message-
From: J.J. Merrick [mailto:j...@panos.cc] 
Sent: Wednesday, January 25, 2012 1:32 PM
To: cf-talk
Subject: Re: ColdFusion 8, FlashForms and SSL dilemma


Steven,


Have you run Firebug to see what calls are being made from the flash
form? It could be trying to hit something that is non-SSL. The NET tab
should give you some indication. That is where I would start and then
work my way up.


-J.J.


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349626
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: New computer set up

2012-01-18 Thread DURETTE, STEVEN J

They may be nearly as unique as a finger print, but I ask stuff like this to 
find out about all of the new stuff I've never heard about before that people 
value. There are at least 3 things I haven't heard of on your list and 2 that I 
forgot about.

Steve

-Original Message-
From: John M Bliss [mailto:bliss.j...@gmail.com] 
Sent: Wednesday, January 18, 2012 6:28 AM
To: cf-talk
Subject: Re: New computer set up


These lists will be nearly as unique as a fingerprint, no? Not sure how
useful it is...but I'll play...

Win7
Cisco VPN
MS Office
CFBuilder
RockMelt
Firefox
Chrome
MS SQL Server with client tools
MySQL Workbench
F.lux
MS Security Essentials
Windows Live Mesh
Google Desktop
TeamViewer
GoToMeeting
Skype
AIM


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349525
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Prevent CFTREE Refresh Upon Return to Page

2012-01-13 Thread DURETTE, STEVEN J

You could put the results of the cfc call into a session or some other 
persistent variable, then check in the code if it is set. If it is don't fire 
the cfc, if it isn't fire the cfc. 

This of course is just a possibility since I don't know what is actually going 
on or if the data is of a type that can be persisted.


-Original Message-
From: Dana Kain [mailto:dana_j_k...@rl.gov] 
Sent: Thursday, January 12, 2012 9:42 PM
To: cf-talk
Subject: Prevent CFTREE Refresh Upon Return to Page


I have a form containing a CFTREE bound to a CFC. Users can expand the items in 
the tree and click a submit button, which takes them to another page. They then 
use the IE8 browser back button to return to the CFTREE page.

What is happening is that upon returning the CFTREE is completely 
reinitialized. The expansion that the users did before clicking submit 
disappears and the tree appears as it did upon initial entry to the form..

After further analysis I found that the CFC is firing upon the return, thereby 
refreshing the CFTREE. 

What I would like is that the state of the CFTREE be maintained upon the return 
instead of refreshing.

I assume this is possible but I am not seeing the solution. Nor do I understand 
why the CFC is firing upon a IE8 browser back button event.

Any ideas or suggestions would be highly appreciated.

Regards,

Dkain



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349490
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


How many of the CF-Talk regulars blog?

2012-01-12 Thread DURETTE, STEVEN J

Hey All,

I was just updating the RSS feeds for the blogs that I read, and I was 
wondering how many of the regulars here on CF-Talk blog. I mean there are a 
lot of people who, I have come to really respect on this list and I like 
reading their opinions, answers, etc (Dave Watts, Jochem, plus so many others) 
and if they have blogs I would really like to read them. If you blog please 
reply and include the link to the blog.

I really don't know what I would have done starting out in ColdFusion if it 
hadn't been for this list and all the people on it!

Steve




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349449
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How many of the CF-Talk regulars blog?

2012-01-12 Thread DURETTE, STEVEN J

I didn't mention you Ray because I think everyone knows about the ColdFusion 
Jedi!!!


-Original Message-
From: Raymond Camden [mailto:raymondcam...@gmail.com] 
Sent: Thursday, January 12, 2012 10:43 AM
To: cf-talk
Subject: Re: How many of the CF-Talk regulars blog?


You can always check coldfusionbloggers.org - I expose a list of all
the blogs. Oh, I blog too. :)



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349454
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How many of the CF-Talk regulars blog?

2012-01-12 Thread DURETTE, STEVEN J

Just FYI, your rss feed shows a blank page...

-Original Message-
From: Scott Stewart [mailto:webmas...@sstwebworks.com] 
Sent: Thursday, January 12, 2012 11:22 AM
To: cf-talk
Subject: Re: How many of the CF-Talk regulars blog?


Mine's here: http://www.sstwebworks.com
Although im not one of the cool kids using blogCFC.
On Jan 12, 2012 10:52 AM, Raymond Camden raymondcam...@gmail.com wrote:

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349461
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: How many of the CF-Talk regulars blog?

2012-01-12 Thread DURETTE, STEVEN J

And I was going to be polite and not even mention that. :)

-Original Message-
From: Steve 'Cutter' Blades [mailto:cold.fus...@cutterscrossing.com] 
Sent: Thursday, January 12, 2012 11:46 AM
To: cf-talk
Subject: Re: How many of the CF-Talk regulars blog?


Maybe he should be using BlogCFC? ;)

Steve 'Cutter' Blades
Adobe Community Professional
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://cutterscrossing.com


Co-Author Learning Ext JS 3.2 Packt Publishing 2010
https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book

The best way to predict the future is to help create it

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349464
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


  1   2   3   4   5   6   7   >