Re: Best conference?

2010-07-16 Thread Judith Dinowitz
And here's the interview we did with Sid Maestre and Luke Kilpatrick, who organized that San Francisco CFDevcamp. http://www.fusionauthority.com/community/4786-unleashing-the-developer-at-coldfusion-devcamp.htm Judith What do conferences and real estate have in common? Location, location,

CFSTOREDPROD question

2010-07-16 Thread Chad Baloga
Does anyone know if CFSTOREDPROC closes a cursor automatically if a store proc is called with one? ~| Order the Adobe Coldfusion Anthology now!

Re: CFSTOREDPROD question

2010-07-16 Thread Jeffrey Battershall
My first thought would be no. On Jul 16, 2010 9:31 AM, Chad Baloga cbal...@gmail.com wrote: Does anyone know if CFSTOREDPROC closes a cursor automatically if a store proc is called with one? ~| Order the Adobe Coldfusion

Re: CFSTOREDPROD question

2010-07-16 Thread Shannon Rhodes
Not sure if I'm understanding the question, but any cursors in your stored procedure would be a return type, i.e. you wouldn't be looping over it within the proc (unless it was looped/closed for related business logic). By the time you call the proc from CF, CF is just saving the result set

Re: CFSTOREDPROD question

2010-07-16 Thread Jeffrey Battershall
Closing open cursors is definitely the province of SQlL not CF. But that's easy to fix, right? simply close/deallocate the cursor in the proc. On Fri, Jul 16, 2010 at 9:51 AM, Shannon Rhodes shan...@rhodesedge.comwrote: Not sure if I'm understanding the question, but any cursors in your

RE: CFSTOREDPROD question

2010-07-16 Thread Mark A. Kruger
If you write a cursor in your proc it's up to you to close it :) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Jeffrey Battershall [mailto:jbattersh...@gmail.com] Sent: Friday,

cfcache security issue?

2010-07-16 Thread Spencer K
Hi cfers, We are considering implementing cfcache on our busy site (CF8), but as I understand it, CFMX creates a page on disk for every unique set of URL variables. So what stops a malicious attacker performing an attack where they just flood a cached page with unique URLs?

Re: cfcache security issue?

2010-07-16 Thread Brian Kotek
Use action=clientcache? On Fri, Jul 16, 2010 at 12:11 PM, Spencer K spencer.4...@yahoo.com wrote: Hi cfers, We are considering implementing cfcache on our busy site (CF8), but as I understand it, CFMX creates a page on disk for every unique set of URL variables. So what stops a

Re: cfcache security issue?

2010-07-16 Thread Spencer K
Sorry, I should have been clearer -- we need to cache page contents to disk. If cfcache is fundamentally limited and open to such attacks, can anyone suggest an efficient and robust page-caching tag that we can use with CF8? Thanks From: Brian Kotek

Re: cfcache security issue?

2010-07-16 Thread Judah McAuley
You can set the maximum number of cached templates in the CF Administrator. If you want to specifically cache a static html rendering with cfcache tag and you are worried about a directory filling up, I'd A) set an expiration on your item cache and B) write a task that monitors the cache

Re: mod_rewrite question: redirecting to www.domain.com from domain.com with dynamic domain names

2010-07-16 Thread Jeff Gladnick
Unfortunately, that didn't quite work :( Any other suggestions? On Thursday 15 Jul 2010 06:24:21 you wrote: I get how to redirect from domain.com to www.domain.com like this: rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] BUT,

Something about Regular Expressions that I have never understood

2010-07-16 Thread Brook Davies
So I know how to throw together a regular expression to find an occurrence of a string/match. But what I have never understood how to do is find a match and then a second match and extract or replace what's inbetween. I've always had to resort to saving the first index I find and then running a

Re: cfcache security issue?

2010-07-16 Thread Dave Watts
You can set the maximum number of cached templates in the CF Administrator. I don't think the maximum number of cached templates affects CFCACHE. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB)

Re: cfcache security issue?

2010-07-16 Thread Judah McAuley
Yes, I agree. I tried to make that clear with the rest of the comment, but obviously I didn't. The bit about max number of cached templates was in there because I wasn't 100% certain that the author was trying to explicitly cache a rendered html page or if there was a misunderstanding and he was

Re: Something about Regular Expressions that I have never understood

2010-07-16 Thread Pete Freitag
On Fri, Jul 16, 2010 at 1:33 PM, Brook Davies br...@logiforms.com wrote: How would I extract or replace via a regular expression the first value in single quotes (date) inside the parenthesis. Is it possible to do it in one line? Via a back reference or some such animal?

Re: Something about Regular Expressions that I have never understood

2010-07-16 Thread Claude Schnéegans
But what I have never understood how to do is find a match and then a second match and extract or replace what's inbetween. I had the same problem, so I wrote a custom tag to do exactly this easyly: See http://www.cftagstore.com/tags/cfreextract.cfm

RE: Something about Regular Expressions that I have never understood

2010-07-16 Thread Brook Davies
Pete/Claude, Thanks guys, thats awesome!!! Brook -Original Message- From: Claude Schnéegans schneeg...@internetique.com [mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans schneeg...@interneti=71?= =?ISO-8859-1?Q?ue.com=3E?=] Sent: July-16-10 11:03 AM To: cf-talk Subject: Re: Something about

Re: cfcache security issue?

2010-07-16 Thread Dave Watts
We are considering implementing cfcache on our busy site (CF8), but as I understand it, CFMX creates a page on disk for every unique set of URL variables. That's correct. So what stops a malicious attacker performing an attack where they just flood a cached page with unique URLs? I'm

CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
Hey All, Are there any known issues with the onClick attribute for CFTEXTAREA (CF 8)? I'm trying a dead simply alert and no sign of it firing. Example: onClick=alert('you clicked me') Ultimately I'd like to expand the height of the textarea when it is clicked as users will be editing several

Re: CFTEXTAREA onClick

2010-07-16 Thread Michael Grant
perhaps try the onFocus method instead. this will account for tabbing into the field as well. On Fri, Jul 16, 2010 at 2:46 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Hey All, Are there any known issues with the onClick attribute for CFTEXTAREA (CF 8)? I'm trying a dead

Problem with ColdFusion.Window.destroy

2010-07-16 Thread Peter Terhorst
I'm opening a modal window and then when the form in that window is submitted, destroying the window with ColdFusion.Window.destroy. I need the window to be destroyed because it will be opened multiple times from the parent window and I need the URL of the modal window to refresh each time it

Re: cfcache security issue?

2010-07-16 Thread Matthew Gersting
Spencer, If by chance your site is using Fusebox, you may want to look into Fusecache (fusecache.riaforge.comand, yes, a little self-promotional). It basically just sits on top and uses Memcached (on CF8...CF9 can use Memcached or EHCache).

Re: CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
On Fri, 2010-07-16 at 15:08 -0400, Michael Grant wrote: perhaps try the onFocus method instead. this will account for tabbing into the field as well. Thanks Markand I will as I do think it's better.but my question still standsany issues with the onClick attribute of the

Re: CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
and sorry Mike...I know a Mark Grant and mis-typed your name!! On Fri, 2010-07-16 at 13:15 -0700, Bryan Stevenson wrote: On Fri, 2010-07-16 at 15:08 -0400, Michael Grant wrote: perhaps try the onFocus method instead. this will account for tabbing into the field as well. Thanks

Mura Email Broadcaster Help

2010-07-16 Thread Matt Quackenbush
First of all, I apologize if it bothers anyone that I am asking a Mura question on CF-Talk, but, well, the Mura forums just don't generate much traffic or many answers, and I unfortunately do not have the luxury of time on my side. With that said... I am trying to get our high school band's

Re: CFTEXTAREA onClick

2010-07-16 Thread Bryan Stevenson
So it appears that perhaps the onClick and other event attributes of CFTEXTAREA do not fire when richtext=yes. I have tested this (with onClick) and it appears to be the case. Anyways...does anyone know of a workaround? TIA Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce

Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread Cutter (ColdFusion)
I never found ColdFusion's destroy() implementation to work in CF8. Not sure why... Steve Cutter Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book

send content to head and body in single call module

2010-07-16 Thread Brent Nicholas
Looking for thoughts on how you solved the following: This is just one possible solution I'm trying to explore: I'd like to call cfm template based modules from a page include (or XML config file) on a per page basis. I may or may not include different modules on each page. The challange is

Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread morgan l
Many of the built-in CF stuff requires your javascript function declarations to be in the form of: destroyWin = function(){ //stuff } Not sure if that's the case here, but worth a shot. On Fri, Jul 16, 2010 at 2:15 PM, Peter Terhorst nouveau.gl...@gmail.comwrote: I'm opening a modal window

Re: send content to head and body in single call module

2010-07-16 Thread Dave Watts
If I just do a single include call in line on the page (from the BODY area) to a module, how can I tell it to write js into the script tag in the document HEAD, in addition to placing the XHTML that the module creates in the BODY of the resulting page? Use the CFHTMLHEAD tag to write to

Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread Cutter (ColdFusion)
No, he's trying to call the built in method to destroy a cfwindow. It is supposed to call the destroy() method of the underlying Ext object to remove it from memory. Steve Cutter Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7

Re: Mura Email Broadcaster Help

2010-07-16 Thread Scott Slone
Matt- I believe the links are generated at runtime based on your site ID and the broadcast email address in the administrator - The links generate a forward/unsub email form (i haven't used this function, so I may be talking out of my hat) the actual email code is in your site

Connecting to CFC's in the same directory in CF9.

2010-07-16 Thread John Pullam
This is a variation of a question I posted a few days ago that didn't get resolved, so please bear with me. It seems simple but I am not getting anywhere with it. I have a test page (TestCFC.cfm) that binds to a CFC (TestCFC2.cfm) that is in the same directory. This used to work on CF8 but it

RE: Connecting to CFC's in the same directory in CF9.

2010-07-16 Thread brad
In your E-mail you said the component file name was TestCFC2.cfm . Shouldn't that be TestCFC2.cfc? ~Brad Original Message Subject: Connecting to CFC's in the same directory in CF9. From: John Pullam jpul...@mcleansystems.com Date: Fri, July 16, 2010 4:42 pm To: cf-talk

Re: mod_rewrite question: redirecting to www.domain.com from domain.com with dynamic domain names

2010-07-16 Thread denstar
On Fri, Jul 16, 2010 at 11:20 AM, Jeff Gladnick wrote: Unfortunately, that didn't quite work :( Any other suggestions? Maybe something like this (untested): RewriteCond %{HTTP_HOST} !^www\.[a-z-]+\.[a-z]{2,6} [NC] RewriteCond %{HTTP_HOST} ([a-z-]+\.[a-z]{2,6})$ [NC] RewriteRule ^/(.*)$

Re: Mura Email Broadcaster Help

2010-07-16 Thread Matt Quackenbush
Scott, Thank you very much! You are a life saver! I searched and searched and searched the forums, but apparently never used the correct combination of keywords. I've looked through dozens and dozens of results, but that one is new to me. Thank you again! Oh, and your inc_email.cfm comment

Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread Peter Terhorst
I never found ColdFusion's destroy() implementation to work in CF8. Not sure why... Right, well, in 8.0 the .destroy method wasn't functional... but in the 8.0.1 build it was made right and, as I suggested in my original post, running under windows, it works like a charm. I actually ended

Re: Connecting to CFC's in the same directory in CF9.

2010-07-16 Thread James Holmes
Did you apply the latest update for CF9? That fixes a bug for cfajaxproxy related to this, so it may solve this problem too. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 17 July 2010 05:42, John Pullam jpul...@mcleansystems.com wrote: This is a variation of a

Re: Connecting to CFC's in the same directory in CF9.

2010-07-16 Thread John Pullam
OK, several replies ... 1 - Yes, I made that stupid error. After I renamed it to CFC, it worked correctly on the live CF9 system. 2 - Even with that fixed, it fails on my desktop (that was the original problem and I was trying to narrow it down). So when I have the calling page on localhost

Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread morgan l
Yes, by calling a function he's called destroyWin() as the callback handler to ColdFusion.Window.hide(). Depending on where this function is declared--on the page or in an include, it may need to be in the form I mentioned. On Fri, Jul 16, 2010 at 4:40 PM, Cutter (ColdFusion)