Re: Can't get 301 permanent redirect to work properly

2008-12-13 Thread Jochem van Dieten
On Wed, Dec 10, 2008 at 6:08 AM, Scott Doc wrote:
 So I added the following code on effected pages:

 cfheader statuscode=301 statustext=Moved permanently
 cfheader name=Location value=http://www.example.net/test.cfm?page=4;
 cfabort

 Recently I checked our redirects with a tool found here:
 http://www.seoconsultants.com/tools/headers.asp

 It reported that it was receiving an HTTP Status Code of: HTTP/1.1 302 Object 
 Moved

I have seen that behavior as well. Haven't had a chance to investigate
it and/or file a bug yet.


 Why is that? And, more importantly, does this matter?

It matters to search engines. If you want to rank high you really
shouldn't move pages around, but if you do a 301 will be picked up
much better then a 302.

What you could try is a cflocation with the statusCode attribute (new in CF 8).

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316735
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How to apply security to the PDF files (prevent user from printing, copying etc)?

2008-12-13 Thread Jochem van Dieten
On Fri, Dec 12, 2008 at 9:04 PM, Rob Dunmore wrote:
 There is a GOOD reason why you would not want to use the Adobe Reader

The OP asked for a way to protect PDF. I think it is disingenuous for
you to present the solution your company offers as an answer to that
without even mentioning that it is not PDF anymore and when others
point out your solution for what it really is try to convince the OP
he doesn't want PDF.
On mailinglists people will frequently give the answer they think the
OP needs instead of the answer the OP wants (I have been known to do
that). But your lack of a proper identification of the pro's and con's
of your solution as they apply to the problem of the OP makes your
post a blatant sales pitch.


 Adobe did not build the PDF format with security in mind.  Everyone is 
 looking for the security nirvana - complete protection without installing any 
 software.  Sorry to say, but it does not exist and never will.

I think you just described Adobe LiveCycle Rights Management. You
forgot to list affordable as a requirment though, so most likely
LiveCycle is not a good solution for the OP.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316736
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Securing Interactive Forms with CFPDF

2008-12-13 Thread Jochem van Dieten
On Tue, Dec 2, 2008 at 11:16 PM, Merritt Chapman wrote:
 Each time I try to add security using the protect action for existing PDFs 
 created in Acrobat Pro, I receive the following error:

 -
 An error occurred during PROTECT operation in CFPDF.

 Error: The password provided is either wrong or does not have sufficient 
 permission to perform this action.

Try opening your interactive PDF in LiveCycle Designer and saving it
from there before you run it through cfpdf.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316737
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ease of Deployment: WAR/EAR or Straight Code Promotion?

2008-12-13 Thread Jochem van Dieten
On Tue, Dec 9, 2008 at 12:11 AM, Neil Ross wrote:
 I'm hoping to get a little information from you folks on how you handle code 
 promotion on Enterprise applications. A friend of mine is looking to simplify 
 their deployment process... I just do the old fashioned file promotion... but 
 they are a JAVA shop with some CF still running... any pointers or 
 preferences?

Setting up your whole deployment system to use EAR/WAR files can be
quite an investment. We have been doing it for over 2 years now and
after a few iterations we are now very happy with it. We have one
build server that generates compiled EAR files with the CF version and
all the CF hotfixes, jars and database drivers we specify. Once we
have that generated we just have one file we move through test and QA
and then to the customer. And every stage after the build server just
has the same trivial instructions for deployment: stop CF, delete old
EAR file, delete temp folder, drop new EAR file, start CF.

This process has significantly reduced the errors during deployment,
especially in situations where outside parties were in charge of the
production environment.

Jochem

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316738
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Anyone willing to help me build an AJAX/jQuery/CF8 modal login for pay or gifts?

2008-12-13 Thread Rick Faircloth
Thanks for the tip, Chris.
I'll take a look into jQueryUI.  Haven't looked at it before.

Rick

 -Original Message-
 From: Chris Jordan [mailto:chris.s.jor...@gmail.com]
 Sent: Saturday, December 13, 2008 1:10 AM
 To: cf-talk
 Subject: Re: Anyone willing to help me build an AJAX/jQuery/CF8 modal login 
 for pay or gifts?
 
 Rick,
 
 Consider using jQueryUI for your modal window needs. Don't know if the demo
 you're studying (the one Matt built) is using jQueryUI, but I think in
 general jQueryUI is a great way to go for stuff like this.
 
 Chris
 
 On Fri, Dec 12, 2008 at 8:17 PM, Rick Faircloth 
 r...@whitestonemedia.comwrote:
 
  Thanks, Tony... Matt Williams has already built a demo
  that I'm studying now.
 
  Thanks, however!
 
  Rick
 
 
   -Original Message-
   From: Tony Bentley [mailto:t...@tonybentley.com]
   Sent: Friday, December 12, 2008 9:02 PM
   To: cf-talk
   Subject: Re: Anyone willing to help me build an AJAX/jQuery/CF8 modal
  login for pay or gifts?
  
   No problem. I can do it using either cfwindow or jquery's window. Send me
  a message and I'll help
  you
   build it.
  
 
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316739
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Anyone willing to help me build an AJAX/jQuery/CF8 modal login for pay or gifts?

2008-12-13 Thread Rick Faircloth
Thanks for the reference and the links, James!

Rick

 -Original Message-
 From: James Holmes [mailto:james.hol...@gmail.com]
 Sent: Saturday, December 13, 2008 2:17 AM
 To: cf-talk
 Subject: Re: Anyone willing to help me build an AJAX/jQuery/CF8 modal login 
 for pay or gifts?
 
 ExtJS is another option. It can be hooked up to JQuery too. For
 example, these message boxes are all modal:
 
 http://www.extjs.com/deploy/dev/examples/message-box/msg-box.html
 
 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/
 
 
 
 2008/12/13 Chris Jordan chris.s.jor...@gmail.com:
  Rick,
 
  Consider using jQueryUI for your modal window needs. Don't know if the demo
  you're studying (the one Matt built) is using jQueryUI, but I think in
  general jQueryUI is a great way to go for stuff like this.
 
  Chris
 
  On Fri, Dec 12, 2008 at 8:17 PM, Rick Faircloth 
  r...@whitestonemedia.comwrote:
 
  Thanks, Tony... Matt Williams has already built a demo
  that I'm studying now.
 
  Thanks, however!
 
  Rick
 
 
   -Original Message-
   From: Tony Bentley [mailto:t...@tonybentley.com]
   Sent: Friday, December 12, 2008 9:02 PM
   To: cf-talk
   Subject: Re: Anyone willing to help me build an AJAX/jQuery/CF8 modal
  login for pay or gifts?
  
   No problem. I can do it using either cfwindow or jquery's window. Send me
  a message and I'll help
  you
   build it.
  
 
 
 
 
 
 
 
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Problem with moving mail from Undelivr to Spool using Gmail SMTP

2008-12-13 Thread Mike Chabot
The typical way to resend undelivered mail is to move it back into the
spool folder, but one situation where this does not seem to work as
expected is when using gmail as the SMTP server, which requires a TLS
connection to the mail server before sending.

If you generate an email using cfmail, manually move it into Undelivr
then move it back to Spool, it gets sent. But if you move it to
Undelivr, restart ColdFusion, then move it back to Spool, the emails
do not get sent and you get the error 530 5.7.0 Must issue a STARTTLS
command first.

My guess at what is happening is that there must be an internal list
of emails and email server information stored in RAM that contains the
instruction to use TLS, and if you restart CF this internal list gets
wiped out and all the emails that remain in Undelivr no longer have
the useTLS instruction associated with them. If you use the attribute
useTLS or useSSL in the cfmail tag, the generated .cfmail file is
identical to one where these attributes are not used, implying that
the mail server instructions are stored elsewhere.

If anyone encounters this situation, here is a fix to flush out those
emails. In CFAdmin check the box that says Maintain connection to
mail server. Send any new email and make sure it leaves the spool
folder. Move back in all the emails in Undelivr and wait for them to
be sent. Go back into CFAdmin and uncheck the Maintain connection box
(assuming you don't want to keep the connection active).

-Mike Chabot

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316741
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Is there a non-aggregate Max() function in MySQL?

2008-12-13 Thread Jim McAtee
I have a table with two columns containing min and max values

minprice INT
maxprice INT

The max price may not be present and is set to zero when that's the case, 
so data might look like:

1 5
5 0
3 10
8 0
6 0

I want to order by the larger of the two column values

ORDER BY Max(minprice, maxprice) DESC

But SQL's MAX() can't be used like this since it's an aggregate function. 
Is there a MySQL function that would do this? 


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316742
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Is there a non-aggregate Max() function in MySQL?

2008-12-13 Thread Brad Wood
Off the top of my head, you could use a case statement:

select *
from
(select 1 as col1, 5 as col2
union select 5, 0
union select 3, 10
union select 8, 0
union select 6, 0) t
order by case when col1  col2 then col1 else col2 end desc

You could probably also write a SQL function in MySQL, but I haven't tried 
that yet.

~Brad

- Original Message - 
From: Jim McAtee jmca...@mediaodyssey.com
To: cf-talk cf-talk@houseoffusion.com
Sent: Saturday, December 13, 2008 9:26 PM
Subject: Is there a non-aggregate Max() function in MySQL?


I have a table with two columns containing min and max values

 minprice INT
 maxprice INT

 The max price may not be present and is set to zero when that's the case,
 so data might look like:
 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316743
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Posting for Sr. Web Applications Developer - ColdFusion in Patuxent River, MD.

2008-12-13 Thread Jason Lorentzen
I just sent you my resume.

Contract to hire position for a Sr. Web Applications Developer - 
ColdFusion in Patuxent River, MD.

If interested in applying for this position, please contact Aru Valecha at 
1800 - 216 - 1904 or avale...@acrocorp.

Thank you!
Aru Valecha
Sr. Technical Recruiter
Acro Service Corporation
1800 - 216 - 1904
513 - 234 - 0808
e-mail - avale...@acrocorp.com
www.acrocorp.com

Provide full life-cycle Web application development to the Web 
Applications Team in developing Information Technology solutions to meet 
customer requirements. Work with customers to develop project 
requirements, develop design, code, test, implement and support the 
required solution. Provide life-cycle documentation throughout the 
development cycle. Assist customers with technical support and maintenance 
issues after delivering the necessary solution. 

Minimum Qualifications: 

- High school diploma or equivalent 
- 10 years of related experience in performing similar functions. 
- Strong proficiency in ColdFusion, HTML/XML, SQLServer and JavaScript. 
- Experience with Fusebox design methodologies. 
- Experience using web development tools such as DreamWeaver, Homesite+, 
Eclipse, and/or Visual Studio. 
- Experience with requirements gathering and customer interfacing. 
- Knowledge of structured Software Development Lifecycle methodologies. 
- Familiarity with the use of a software change management systems. 
- Strong verbal and written communications. 
- US Citizenship is required. 
- Ability to obtain and maintain a Position of Public Trust is required. 

Preferred Qualifications: 

- Bachelor’s degree in computer science, mathematics, statistics, or 
engineering from an accredited college or university. 
- 7 years relevant experience. 
- Experience with MS Office including Viso and Project. 
- Experience with .NET (ASP and C#) a plus. 
- Experience in SOAP, WSDL, UDDI, XML-RPC. 
- Understanding of Earned Value Management (EVM) principles, 
- Object Oriented design methodologies, as well as general understanding 
of networking  security helpful. 
- Experience with STARTEAM.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-jobs-talk/message.cfm/messageid:4133
Subscription: http://www.houseoffusion.com/groups/cf-jobs-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11