Script Protect Question

2014-05-13 Thread Robert Harrison

I've recently moved to a new host who has global script protect turned on in 
CFAdmin.  All in all it's not a bad thing, but I have some e-commerce pages 
where the gateway processes on another server then responds by sending back 
some form variables which contain data like the approval code, confirmation 
number, etc.

Script protect is blocking the form variables and I'm recording blanks for 
these transactions.  I don't really want to turn off script protect globally, 
but I do want to shut of the forms protect on selected pages.  

How can I list the pages and/or form variables I want to allow as an exception?

I looked at the CF documentation and did not find it to be that clear.

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:358624
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Script Protect Question

2014-05-13 Thread Dave Watts

 Script protect is blocking the form variables and I'm recording blanks for 
 these transactions.  I don't really want to turn off
 script protect globally, but I do want to shut of the forms protect on 
 selected pages.

 How can I list the pages and/or form variables I want to allow as an 
 exception?

You could probably do this by adding conditional logic in
Application.cfc that turns the feature off for a specific list of
pages. Otherwise, you could put the problematic pages in a separate
directory and give them their own Application.cfc.

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:358625
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Script Protect Question

2014-05-13 Thread Robert Harrison

Do you know of any code samples for the first solution where you may be able to 
send a link?  

I read the documentation and agree this seems to be the way to do, but I'd sure 
like to see some sample code on that. 

Thanks

Robert Harrison 


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, May 13, 2014 10:30 AM
To: cf-talk
Subject: Re: Script Protect Question


 Script protect is blocking the form variables and I'm recording blanks 
 for these transactions.  I don't really want to turn off script protect 
 globally, but I do want to shut of the forms protect on selected pages.

 How can I list the pages and/or form variables I want to allow as an 
 exception?

You could probably do this by adding conditional logic in Application.cfc that 
turns the feature off for a specific list of pages. Otherwise, you could put 
the problematic pages in a separate directory and give them their own 
Application.cfc.

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:358626
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


stripping characters for meta description

2014-05-13 Thread Matthew Smith

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:358627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Script Protect Question

2014-05-13 Thread Russ Michaels

or you could consider taking a look at Fusegaurd instead which will give
you far more granular control.
There are also various web application firewall modules available for IIS
and Apache which you could use for more generic security that is not CF
specific.



On Tue, May 13, 2014 at 3:34 PM, Robert Harrison rob...@austin-williams.com
 wrote:


 Do you know of any code samples for the first solution where you may be
 able to send a link?

 I read the documentation and agree this seems to be the way to do, but I'd
 sure like to see some sample code on that.

 Thanks

 Robert Harrison


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Tuesday, May 13, 2014 10:30 AM
 To: cf-talk
 Subject: Re: Script Protect Question


  Script protect is blocking the form variables and I'm recording blanks
  for these transactions.  I don't really want to turn off script protect
 globally, but I do want to shut of the forms protect on selected pages.
 
  How can I list the pages and/or form variables I want to allow as an
 exception?

 You could probably do this by adding conditional logic in Application.cfc
 that turns the feature off for a specific list of pages. Otherwise, you
 could put the problematic pages in a separate directory and give them their
 own Application.cfc.

 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:358628
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 Russ Michaels

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:358629
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Script Protect Question

2014-05-13 Thread Dave Watts

 or you could consider taking a look at Fusegaurd instead which will give
 you far more granular control.
 There are also various web application firewall modules available for IIS
 and Apache which you could use for more generic security that is not CF
 specific.

Yeah, honestly, I'd also recommend any of these approaches over CF's
script protect, which is very weak.

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:358630
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Script Protect Question

2014-05-13 Thread Robert Harrison

Understood, unfortunately I'm not in a position to revamp all the 21 sites we 
just moved right now and change the structure. I'm just looking for a fix to 
solve on issue on a few selected pages in this new environment. 

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_williams 


-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, May 13, 2014 11:39 AM
To: cf-talk
Subject: Re: Script Protect Question


 or you could consider taking a look at Fusegaurd instead which will 
 give you far more granular control.
 There are also various web application firewall modules available for 
 IIS and Apache which you could use for more generic security that is 
 not CF specific.

Yeah, honestly, I'd also recommend any of these approaches over CF's script 
protect, which is very weak.

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:358631
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: stripping characters for meta description

2014-05-13 Thread Wil Genovese

Matthew - what is your end goal?  


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On May 13, 2014, at 10:47 AM, DURETTE, STEVEN J sd1...@att.com wrote:

 
 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:358633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Weird URL request parameters

2014-05-13 Thread UXB

 That country set looked suspicious so I googled
registering+only+mode+is+ON

Thanks Jen.  I tried searching for the URL variables but came up empty.  I
assumed that whatever it was that was generating the requests was using
proxies but couldn't make sense of what it's purpose was.  The domain of the
specific website they keep hitting does have a user forum so it now makes
sense as to what they are trying to do.  Thanks.



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



~|
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:358634
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Script Protect Question

2014-05-13 Thread Dave Watts

 Do you know of any code samples for the first solution where you may be able 
 to send a link?

 I read the documentation and agree this seems to be the way to do, but I'd 
 sure like to see some sample code on that.

I don't have one handy - I don't use it - but will try to put
something together later today.

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:358635
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 Dean Lawrence

You are also getting exclamation points, colons, and periods. The code that
you have posted should replace anything that is not a letter, number or
space (though I would use \s for a space, as it is more readable). Are you
sure that you are not outputting the original text, not the modified
version?


On Tue, May 13, 2014 at 11:26 AM, 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:358636
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 Russ Michaels

sorry, didn;t read it properly :-)


On Tue, May 13, 2014 at 4:47 PM, DURETTE, STEVEN J sd1...@att.com wrote:


 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.com
 wrote:

 
  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:358637
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Script Protect Question

2014-05-13 Thread Russ Michaels

if you were not using scriptProtect before anyway, is there a specific
reason you want it now enabled?
relying on ScriptProtect is likely to just lull you into a false sense of
security, although it is better than nothing.
FuseGuard is not a major revamping, it is actually quite easy to insert
into your site.
Web Application Firewall require no revamping of any sites at all as you
install it at web server and can apply it to all sites in one swoop.

there is also this: http://portcullis.riaforge.org/





On Tue, May 13, 2014 at 4:43 PM, Robert Harrison rob...@austin-williams.com
 wrote:


 Understood, unfortunately I'm not in a position to revamp all the 21 sites
 we just moved right now and change the structure. I'm just looking for a
 fix to solve on issue on a few selected pages in this new environment.

 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_williams


 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Tuesday, May 13, 2014 11:39 AM
 To: cf-talk
 Subject: Re: Script Protect Question


  or you could consider taking a look at Fusegaurd instead which will
  give you far more granular control.
  There are also various web application firewall modules available for
  IIS and Apache which you could use for more generic security that is
  not CF specific.

 Yeah, honestly, I'd also recommend any of these approaches over CF's
 script protect, which is very weak.

 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:358638
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 Matthew Smith

I want to remove anything not number and letters to be sure that it does
not cause an issue with the search engines properly indexing the meta tags.
 Thank you for the help!


On Tue, May 13, 2014 at 11:51 AM, Wil Genovese jugg...@trunkful.com wrote:


 Matthew - what is your end goal?


 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com

 wilg...@trunkful.com
 www.trunkful.com

 On May 13, 2014, at 10:47 AM, DURETTE, STEVEN J sd1...@att.com wrote:

 
  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.com
 wrote:
 
 
  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:358639
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFB3

2014-05-13 Thread John M Bliss

Existing .cfc with existing cfquery block, press Enter to insert new line
into block, CFB3 locks up.

Just me? Workaround?

-- 
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:358640
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Odd CSV Results

2014-05-13 Thread David Phelan

Group,

I have written a rather simple report to indicate pages on the site that have 
not been updated within a specific time span.  I am outputting this report to a 
CSV file.  The entire process works, but when I click the link to the generated 
report, only the first two lines are displayed in Excel.  If I go to the file 
location and open the file directly, it opens normally and displays all the 
information contained.  Has anyone seen this before?  This is not the first 
time that I am creating CSV files from CF, but it's the first time that I have 
seen this occur.  Running CF8 on Win 2k8 R2 with Office 2010 on my workstation.

David Phelan
Web Developer
IT Security  Web Technologies

Montefiore IT
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
dphe...@emerginghealthit.commailto:dphe...@emerginghealthit.com
www.emerginghealthit.comhttp://www.emerginghealthit.com/
www.montefiore.orghttp://www.montefiore.org/
[Description: Montefiore IT logo]http://www.emerginghealthit.com/default.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:358641
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Odd CSV Results

2014-05-13 Thread Robert Harrison

I would assume you are doing a loop to generate the CSV content.  Are you 
adding CHR13 to the end of each line?  


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: David Phelan [mailto:dphe...@emerginghealthit.com] 
Sent: Tuesday, May 13, 2014 2:01 PM
To: cf-talk
Subject: Odd CSV Results


Group,

I have written a rather simple report to indicate pages on the site that have 
not been updated within a specific time span.  I am outputting this report to a 
CSV file.  The entire process works, but when I click the link to the generated 
report, only the first two lines are displayed in Excel.  If I go to the file 
location and open the file directly, it opens normally and displays all the 
information contained.  Has anyone seen this before?  This is not the first 
time that I am creating CSV files from CF, but it's the first time that I have 
seen this occur.  Running CF8 on Win 2k8 R2 with Office 2010 on my workstation.

David Phelan
Web Developer
IT Security  Web Technologies

Montefiore IT
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
dphe...@emerginghealthit.commailto:dphe...@emerginghealthit.com
www.emerginghealthit.comhttp://www.emerginghealthit.com/
www.montefiore.orghttp://www.montefiore.org/
[Description: Montefiore IT logo]http://www.emerginghealthit.com/default.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:358642
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 Wil Genovese

Here try this. It’s from one of my long used validation methods. It removes all 
punctuation and control type characters.

REReplaceNoCase(arguments.string,'([[:cntrl:]]|[[:punct:]])','','All')



Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On May 13, 2014, at 11:36 AM, Matthew Smith chedders...@gmail.com wrote:

 
 I want to remove anything not number and letters to be sure that it does
 not cause an issue with the search engines properly indexing the meta tags.
 Thank you for the help!
 
 
 On Tue, May 13, 2014 at 11:51 AM, Wil Genovese jugg...@trunkful.com wrote:
 
 
 Matthew - what is your end goal?
 
 
 Wil Genovese
 Sr. Web Application Developer/
 Systems Administrator
 CF Webtools
 www.cfwebtools.com
 
 wilg...@trunkful.com
 www.trunkful.com
 
 On May 13, 2014, at 10:47 AM, DURETTE, STEVEN J sd1...@att.com wrote:
 
 
 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.com
 wrote:
 
 
 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:358643
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Odd CSV Results

2014-05-13 Thread David Phelan

I am and the issue now appears to have worked itself out.  I had to clear my 
cache even though I had Always Refresh From Server selected in dev tools.

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Tuesday, May 13, 2014 2:03 PM
To: cf-talk
Subject: RE: Odd CSV Results


I would assume you are doing a loop to generate the CSV content.  Are you 
adding CHR13 to the end of each line?  


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: David Phelan [mailto:dphe...@emerginghealthit.com]
Sent: Tuesday, May 13, 2014 2:01 PM
To: cf-talk
Subject: Odd CSV Results


Group,

I have written a rather simple report to indicate pages on the site that have 
not been updated within a specific time span.  I am outputting this report to a 
CSV file.  The entire process works, but when I click the link to the generated 
report, only the first two lines are displayed in Excel.  If I go to the file 
location and open the file directly, it opens normally and displays all the 
information contained.  Has anyone seen this before?  This is not the first 
time that I am creating CSV files from CF, but it's the first time that I have 
seen this occur.  Running CF8 on Win 2k8 R2 with Office 2010 on my workstation.

David Phelan
Web Developer
IT Security  Web Technologies

Montefiore IT
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
dphe...@emerginghealthit.commailto:dphe...@emerginghealthit.com
www.emerginghealthit.comhttp://www.emerginghealthit.com/
www.montefiore.orghttp://www.montefiore.org/
[Description: Montefiore IT logo]http://www.emerginghealthit.com/default.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:358644
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Odd CSV Results

2014-05-13 Thread Robert Harrison

Good.  Glad it's solved.  I've done a lot of CSV files and they do seem to work 
well once you get the syntax correct. 


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: David Phelan [mailto:dphe...@emerginghealthit.com] 
Sent: Tuesday, May 13, 2014 2:19 PM
To: cf-talk
Subject: RE: Odd CSV Results


I am and the issue now appears to have worked itself out.  I had to clear my 
cache even though I had Always Refresh From Server selected in dev tools.

-Original Message-
From: Robert Harrison [mailto:rob...@austin-williams.com] 
Sent: Tuesday, May 13, 2014 2:03 PM
To: cf-talk
Subject: RE: Odd CSV Results


I would assume you are doing a loop to generate the CSV content.  Are you 
adding CHR13 to the end of each line?  


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: David Phelan [mailto:dphe...@emerginghealthit.com]
Sent: Tuesday, May 13, 2014 2:01 PM
To: cf-talk
Subject: Odd CSV Results


Group,

I have written a rather simple report to indicate pages on the site that have 
not been updated within a specific time span.  I am outputting this report to a 
CSV file.  The entire process works, but when I click the link to the generated 
report, only the first two lines are displayed in Excel.  If I go to the file 
location and open the file directly, it opens normally and displays all the 
information contained.  Has anyone seen this before?  This is not the first 
time that I am creating CSV files from CF, but it's the first time that I have 
seen this occur.  Running CF8 on Win 2k8 R2 with Office 2010 on my workstation.

David Phelan
Web Developer
IT Security  Web Technologies

Montefiore IT
3 Odell Plaza, Yonkers, NY 10701
914-457-6465 Office
862-234-9109 Cell
dphe...@emerginghealthit.commailto:dphe...@emerginghealthit.com
www.emerginghealthit.comhttp://www.emerginghealthit.com/
www.montefiore.orghttp://www.montefiore.org/
[Description: Montefiore IT logo]http://www.emerginghealthit.com/default.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:358645
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 Robert Harrison

For meta tags I just use a simple replace list to strip the quotes.  I use the 
list so I can replace the standard quotes and those left and right smart quotes 
from word.  

I'm assuming you're doing this because your meta description is getting 
truncated when it hits the first in-line quote.  The HTML thinks that's the end 
of the string, yes?

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:358646
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: HMail server

2014-05-13 Thread Al Musella, DPM

The heartbleed bug allowed anyone to ask my mail server to give  them 
the last few hundred bytes of data that passed through the server 
including user names and passwords used to authenticate. No guessing needed.
Pretty serious bug. It doesn't only affect Hmail.. it also affects 
many non windows web servers. It is a bug in Open SSL which Hmail uses

At 08:24 PM 5/12/2014, you wrote:

I would suspect that they guessed or hacked your account password to
authenticate unless you are only relying on SSL to allow relaying.


~|
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:358647
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Loading message for excel pages

2014-05-13 Thread funand learning

All -

I have a following link

a href=javascript:callExcel()Generate excel/a

the function callExcel() just uses
document.form.action='excel.cfm?requesttimeout=1500';

When the 'Generate excel' link is clicked, the user stays on current page,
and the excel file is generated. The user never sees the actual 'excel.cfm'
which has 'Please wait...' message as we are writing lot of data to excel.

I tried to overcome this by going to an intermediate screen which has
'Please wait' message, and then redirecting to excel.cfm page, but once the
excel is written, I can still see 'Please wait...' message.

What is the best way to handle this?

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:358648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Loading message for excel pages

2014-05-13 Thread Russ Michaels

The best suggestion would be use ajax. But the quickest method would be to
target the link to an Iframe and have the activity happen there and display
a please wait javascript message.


On Tue, May 13, 2014 at 9:43 PM, funand learning funandlrnn...@gmail.comwrote:


 All -

 I have a following link

 a href=javascript:callExcel()Generate excel/a

 the function callExcel() just uses
 document.form.action='excel.cfm?requesttimeout=1500';

 When the 'Generate excel' link is clicked, the user stays on current page,
 and the excel file is generated. The user never sees the actual 'excel.cfm'
 which has 'Please wait...' message as we are writing lot of data to excel.

 I tried to overcome this by going to an intermediate screen which has
 'Please wait' message, and then redirecting to excel.cfm page, but once the
 excel is written, I can still see 'Please wait...' message.

 What is the best way to handle this?

 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:358649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm