Re: Cfexecute and restart of apache...

2007-09-25 Thread James Holmes
You don't have a timeout attribute on that tag. Regardless, shutting
down the webserver from which you're getting a request result is
probably going to lead to strange results.

Also, I'd recommend doing a graceful rather than a restart - there's
no need to completely shutdown Apache to pick up config changes.

On 9/26/07, Douglas Hyde <[EMAIL PROTECTED]> wrote:
> I am new to CFEXECUTE. I am trying to use cfexecute to restart apache2.2 on
> max OSX (unix file structure) when a new virtual host is added or when the
> aliases are updated within a host (eg, new directories are added that must
> be aliased). [snip]
-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Conferences

2007-09-25 Thread William Seiter
WOW!!  There is some 'seriously' dated information on that page...   

William

-- 
William E. Seiter
 
Web Developer
http://William.Seiter.com

-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 9:42 PM
To: CF-Talk
Subject: Re: Conferences

Yeah, there's http://www.cfconf.org/

-- 
nathan strutz
http://www.dopefly.com/


On 9/25/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
> Is there a list of all the CF conferences somewhere.
>
>
>
> I need to organise a trip to the US and thought it would be nice to hit a
> CF
> conference in the process.
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> http://learncf.com
>
>
>
>
>
> 



~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289486
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Conferences

2007-09-25 Thread Nathan Strutz
Yeah, there's http://www.cfconf.org/

-- 
nathan strutz
http://www.dopefly.com/


On 9/25/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
> Is there a list of all the CF conferences somewhere.
>
>
>
> I need to organise a trip to the US and thought it would be nice to hit a
> CF
> conference in the process.
>
>
>
> Regards
>
> Dale Fraser
>
>
>
> http://learncf.com
>
>
>
>
>
> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289485
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


What could cause empty cftokens in cookies?

2007-09-25 Thread Mike Chabot
Looking at IIS log files, I am seeing a lot of people arriving on a CF
server with empty cfid and empty cftoken values in their cookies. By
empty values, I mean specifically that the entries look like
"cfid=;cftoken=;"

I am wondering if anybody knows what could be causing these cookie
values to be cleared out, other than code specifically setting the
values to be an empty string? Are there firewalls out there that strip
out these values? Is there a Firefox plugin that strips out these
values?

Thank you,
Mike Chabot

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289484
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Session Hijacking Curiosity

2007-09-25 Thread James Holmes
Yes - the moral of the story is that you should use J2EE sessions if
you care about security (which has been the case since they were
introduced in CF 6).

On 9/26/07, Mike Chabot wrote:
> I did further testing and verified that using UUIDs for the cftokens
> does not address the security vulnerability. If you specify that you
> want to use UUIDs, CF Server doesn't seem to check that the token is a
> valid UUID.
>
> On the other hand, using jsessions behaves as expected. If you clear
> out the jsessionid, you get assigned a new one on the next page hit.
>
> -Mike Chabot

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289483
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Permutation problem

2007-09-25 Thread Christopher Jordan
Thanks Ben! I didn't know about that "x choose y" deal (I'm not a huge math
guy, just better than the average bear ;o) I love it when I can learn
something new. :o)

I'm still curious what the circumstances are that are making this pattern
necessary for Ken... if you don't mind sharing, Ken. ;o)

Chris


On 9/25/07, Ben Doom <[EMAIL PROTECTED]> wrote:
>
> Technically, he's asking for a combination, which would be
> (x choose y)
> which is
> x!/y!(x-y)! (number of combinations)
> instead of
> x!/(x-y)! (number of permutations, in which order counts)
>
> So if there are 7 numbers in the original list, and you need 6 of them,
> it's
> 7!/6!(7-6)! = 7!/6! * 1! = 7!/6! = 7
> for 7 numbers, choose 5
> 7 choose 5 = 7!/5!(7-5)! = 7!/5!*2! = 7 * 6 / 2 = 7 * 3 = 21
>
> Hopefully, that made some sense.
>
> I missed that part in my original post.
>
> --Ben Doom
>
> Christopher Jordan wrote:
> > I'm curious why in your case 1,2,3,4,5,6 is considered to be the same as
> > 1,2,3,4,6,5?  I was going to suggest that you use n! to figure out how
> many
> > possible permutations of the string there were, but that wouldn't work
> given
> > your requirements.
> >
> > Chris
> >
> >
> > On 9/25/07, Ken Fassman <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> I have a problem I'm struggling to solve in ColdFusion - I wonder if
> >> someone
> >> can help me with.
> >>
> >> I am being given a variable length, numeric string (min 6, max 20).  I
> >> need
> >> to show all combinations of those values that will result in a unique
> set
> >> of
> >> 6.  The resulting output is sorted - so 1,2,3,4,5,6 is the same as
> >> 1,2,3,4,6,5.
> >>
> >> I'd also like to see if there is an easy way to calculate the expected
> >> number of each in advance.
> >>
> >> Just to illustrate what I'm looking to do (in case its not clear from
> >> above):
> >>
> >> The input string might be "1,2,3,4,5,6,7" and I'd need to return the
> >> following results:
> >> 123456
> >> 123457
> >> 123467
> >> 123567
> >> 124567
> >> 134567
> >> 234567
> >>
> >>
> >> Any thoughts on this on how to approach this are greatly appreciated.
> >>
> >> Thanks!
> >>
> >> - KsF
> >>
> >>
> >>
> >
> >
>
> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289482
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Session Hijacking Curiosity

2007-09-25 Thread Mike Chabot
I did further testing and verified that using UUIDs for the cftokens
does not address the security vulnerability. If you specify that you
want to use UUIDs, CF Server doesn't seem to check that the token is a
valid UUID.

On the other hand, using jsessions behaves as expected. If you clear
out the jsessionid, you get assigned a new one on the next page hit.

-Mike Chabot

On 9/25/07, Mike Chabot <[EMAIL PROTECTED]> wrote:
> Thanks for that script Jochem. I think the behavior using jsessionid
> would be different. The site having the issue is using cfid/cftoken.
>
> I have reproduced this problem in MSIE7 and Firefox 2. I don't think
> it is related to any browser issue since it is the CF server that is
> reporting the empty cfid and cftoken.
>
> I tried using your script and reproduced the problem.
>
> -Mike Chabot
>

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289481
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Conferences

2007-09-25 Thread Dale Fraser
Is there a list of all the CF conferences somewhere.

 

I need to organise a trip to the US and thought it would be nice to hit a CF
conference in the process.

 

Regards

Dale Fraser

 

http://learncf.com

 



~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289480
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8 / IIS Install issues

2007-09-25 Thread Rob Brooks-Bilson
> Dave,
> 
> I looked at the three CF services and saw that I was missing some 
> parameters.  Changed those, based on the entries from the virtual 
> machine, and I still crash.  I got a call from another developer in 
> the company who just installed CF8 and he is having the exact same 
> problem, so I'm thinking it is something else installed on our 
> machines that are causing this.  I'm in the process of looking at the 
> dump files to determine what could be causing this.  If I find the 
> cause I'll be sure to post the solution here.
> 
> Thanks for your help and directions.
> 
> Jeff
> 
> >> No, the odbc agent service does not start.  The other two 
> >> services do start.  Also, in the virtual machine within 
> >> VMWare, all of the services start properly.  Is there a list 
> >> of registry entries that I can check to make sure they are 
> >> set correctly?
> >
> >I'm sure there is, but I don't know what it is!
> >
> >However, you should be able to compare the registry entries in your 
> VMware
> >machine with your real machine. The entries in question are probably 
> under
> >HKLM\System\CurrentControlSet\Services.
> >
> >Dave Watts, CTO, Fig Leaf Software
> >http://www.figleaf.com/
> >
> >Fig Leaf Software provides the highest caliber vendor-authorized
> >instruction at our training centers in Washington DC, Atlanta,
> >Chicago, Baltimore, Northern Virginia, or on-site at your location.
> >Visit http://training.figleaf.com/ for more information! 


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289479
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread J.J. Merrick
What I have done in the past is to setup a table in my database called
Queue that had basically this structure

emailID
To
From
Fail-to
Subject
textBody
HTMLBody
threadID
dateSent


I write to that table, which is dramatically faster then a cfmail,
then just have a scheduled task that starts out by creating a theadID
UUID pulling from the database a set of emails, say 1000, stamping
them with the UUID and then as they get sent just stamp the dateSent.

This way if for some reason something dies you can go back and "clean
up" anything that uas a UUID but no dateSent.

The next processed scheduled task comes along pulls anything that
doesn't have a threadID stamped in the field and doesn't step on
anyones toes.

J.J.



On 9/25/07, Andrew Peterson <[EMAIL PROTECTED]> wrote:
> Hello, I have a mass email which times out due to our shared server's timeout 
> of 60,000 ms. (It takes longer than that to process the page.) I could loop 
> through and send out 2000 emails at a time, but I am still stuck with having 
> the client wait and click on "Send the next 1000 emails"  button until 
> they're all sent out.  Looking for a more elegant solution - something behind 
> the scenes. Any ideas? TIA.
>
> Sincerely,
>
> Andy
>
>
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289478
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8 / IIS Install issues

2007-09-25 Thread Rob Brooks-Bilson
> Dave,
> 
> I looked at the three CF services and saw that I was missing some 
> parameters.  Changed those, based on the entries from the virtual 
> machine, and I still crash.  I got a call from another developer in 
> the company who just installed CF8 and he is having the exact same 
> problem, so I'm thinking it is something else installed on our 
> machines that are causing this.  I'm in the process of looking at the 
> dump files to determine what could be causing this.  If I find the 
> cause I'll be sure to post the solution here.
> 
> Thanks for your help and directions.
> 
> Jeff
> 
> >> No, the odbc agent service does not start.  The other two 
> >> services do start.  Also, in the virtual machine within 
> >> VMWare, all of the services start properly.  Is there a list 
> >> of registry entries that I can check to make sure they are 
> >> set correctly?
> >
> >I'm sure there is, but I don't know what it is!
> >
> >However, you should be able to compare the registry entries in your 
> VMware
> >machine with your real machine. The entries in question are probably 
> under
> >HKLM\System\CurrentControlSet\Services.
> >
> >Dave Watts, CTO, Fig Leaf Software
> >http://www.figleaf.com/
> >
> >Fig Leaf Software provides the highest caliber vendor-authorized
> >instruction at our training centers in Washington DC, Atlanta,
> >Chicago, Baltimore, Northern Virginia, or on-site at your location.
> >Visit http://training.figleaf.com/ for more information! 


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289477
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


list administrator

2007-09-25 Thread poib murka
Who is this list administrator? 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289476
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Session Hijacking Curiosity

2007-09-25 Thread Mike Chabot
Thanks for that script Jochem. I think the behavior using jsessionid
would be different. The site having the issue is using cfid/cftoken.

I have reproduced this problem in MSIE7 and Firefox 2. I don't think
it is related to any browser issue since it is the CF server that is
reporting the empty cfid and cftoken.

I tried using your script and reproduced the problem.

-Mike Chabot

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289475
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Ben Doom
That's Perlish for replacing Bobby with Ben.  :-)

--Ben "Not Bobby" Doom

Kenny Kinds wrote:
> Is that your suggestion?
> 
>> r/(.*)Bobby(.*)/$1Ben$2/ig
>>
>> --Ben "Shadow RegEx" Doom
>>
>> Will Tomlinson wrote:
 Being the RegEx Ninja, my first thought is to use a regex:

>>> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
>>>
>>>
>>>
> 
> 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289474
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Charlie Griefer
throw a {3} in there somewhere

On 9/25/07, Kenny Kinds <[EMAIL PROTECTED]> wrote:
> My solution is not workinig in all cases.
>
> Tried using ([a-z0-9]).\1, but doesn't check for three consecutive characters 
> in a row.
>
> any suggestions?
>
> Thanks
>
>
> >r/(.*)Bobby(.*)/$1Ben$2/ig
> >
> >--Ben "Shadow RegEx" Doom
> >
> >Will Tomlinson wrote:
> >>> Being the RegEx Ninja, my first thought is to use a regex:
> >>>
> >>
> >> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
> >>
> >>
> >>
>
> 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289472
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: converting sql scripts

2007-09-25 Thread Steve Good
I'm actually trying to convert the script that came with cf_shopkart.  I 
did do a dump from mysql after altering some of the table names.  I'll 
poke around and see if I can get it to format the way I want it.

Rick Root wrote:
> On 9/25/07, Steve Good <[EMAIL PROTECTED]> wrote:
>   
>> does anyone know a good tool for converting a mysql script to a mssql
>> script?  I started doing this by hand but with over 12,000 errors being
>> thrown by mssql I don't think I have the stamina to undertake the job.
>> 
>
> Are you trying to convert something generated by mysqldump?
>
> mysqldump *DOES* have some arguments for targeting specific databases
> with its output, including I think, SQL Server.
>
>   

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289473
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Recovering scheduled tasks after upgrade?

2007-09-25 Thread Scott Weikert
Scott Weikert wrote:
> Brad Wood wrote:
>   
>> Those are stored in \lib\neo-cron.xml
>>
>> 
> That's where they're stored in CF 8. I'm asking where they were stored 
> in CF 6.1.
>
>   
I should clarify - on my dev server, there's still the old "CFusionMX" 
folder on the C drive, along with the newer "ColdFusion8" folder. And in 
the old CFusionMX folder, there is no "lib" folder. Whether there WAS 
one and it's gone now, I dunno. I found it easily in the newer folder.

But, my old CF folder, it seems suspiciously... empty. There's 
directories and files in there, sure, but not as many as I'd expect, 
having not really poked around in the past.

So, like Alderaan, it may have been totally blown away. (obligatory nerd 
reference)

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289470
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread morgan l
Kenny,

I replied off-list, so as not to clutter things around here with a personal
conversation.

-morgan


On 9/25/07, Kenny Kinds  wrote:
>
> WOW!
>
> Small world. Where are you at now. How are things?
>
> As you've probably guessed, i'm not at CWC anymore. left there about 2 1/2
> years ago.
>
> > >nvmd.
> > >
> > >just got it.
> > >
> > >Thanks for your help.
> > >
> > Don't mean to hijack the thread or anything, but you wouldn't happen
> > to be the same Kenny Kinds I worked with several years ago at CWC in
> > St Louis, would you. Just curious, as I tried to look him(you?) up at
> > your other site a couple of years ago, but it was no longer active.
> >
> > -morgan
>
>
> 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289471
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread Rick Root
On 9/25/07, Ian Skinner <[EMAIL PROTECTED]> wrote:
> 'I don't THINK event gateways are subject to request timeouts because they're 
> not "requests"'
>
> But they are also rather advanced for a shared hosting system where one does 
> not have access to the administrator.

Of course, I'd be surprised if anyone on your average shared server is
allowed to use event gateways.

Just saying that's what I did - after mentioning another possible solution :)

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289468
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread Ian Skinner
'I don't THINK event gateways are subject to request timeouts because they're 
not "requests"'

But they are also rather advanced for a shared hosting system where one does 
not have access to the administrator.





~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289464
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


how to pass/bind to url in ColdFusion.navigate()?

2007-09-25 Thread Cyrill Vatomsky
I have a grid with two columns - documentTitle and DocumentID. I can't figure 
out how to use ColdFusion.navigate with it to load document for editing in a 
cfdiv (forms). Using the href parameter does nothing, so I tried binding a 
button to it with this:

onclick="javascript:ColdFusion.navigate('edit.cfm?docid='{docGrid.documentID},'forms')

The ajax debugger gives me "window:global: missing ) after argument list" error

If I use 
onclick="javascript:ColdFusion.navigate('edit.cfm?docid='+{docGrid.documentID},'forms')

I get "window:global: missing : after property id" 

Is it possible to even do it this way? UNfortunately I can't just bind form 
elements to the grid since I need to use the richtext editor and it does not 
seem to take bind attribute.

Cyrill 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289469
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
My solution is not workinig in all cases.

Tried using ([a-z0-9]).\1, but doesn't check for three consecutive characters 
in a row.

any suggestions?

Thanks


>r/(.*)Bobby(.*)/$1Ben$2/ig
>
>--Ben "Shadow RegEx" Doom
>
>Will Tomlinson wrote:
>>> Being the RegEx Ninja, my first thought is to use a regex:
>>>
>> 
>> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
>> 
>> 
>> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289467
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Recovering scheduled tasks after upgrade?

2007-09-25 Thread Scott Weikert
Brad Wood wrote:
> Those are stored in \lib\neo-cron.xml
>
>   
That's where they're stored in CF 8. I'm asking where they were stored 
in CF 6.1.

Fortunately, the CF6.1 files are still there - so if I can figure out 
where to look in THOSE, I should be good.
> You made a backup the coldfusion folder before upgrading, right?  :)
>   
If I had, I wouldn't have started this thread now, would I? :/

My server guy didn't give any warning. Now granted, I knew the copy of 
CF 8 came in yesterday, and had I not been bugf**k crazy with work, I 
may have thought "I should record all my scheduled task info" - but 
alas, I did not.

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289466
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: converting sql scripts

2007-09-25 Thread Rick Root
On 9/25/07, Steve Good <[EMAIL PROTECTED]> wrote:
> does anyone know a good tool for converting a mysql script to a mssql
> script?  I started doing this by hand but with over 12,000 errors being
> thrown by mssql I don't think I have the stamina to undertake the job.

Are you trying to convert something generated by mysqldump?

mysqldump *DOES* have some arguments for targeting specific databases
with its output, including I think, SQL Server.

-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289465
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFMENU with submenus dynamically created

2007-09-25 Thread Andy Chen
OK solved it by thinking of it from another angle.

I had to tweak the database structure to work with it. I can't juse use a flag 
for submenu but need to do a parent-child type of linkage. So basically need to 
run a separate query to get all the submenus and keep everything within the 
CFMENUITEM tags. 

> OK.. I don't know if it is some sort of brainblock or just me.
> 
> I am trying to create a loop which will dynamically create a menu with 
> submenu (if needed). To make it easier, there is only 1 level for 
> submenu which is just a flag in the DB. There MAY or MAY NOT be any 
> submenus in a menu. 
> 
> Now the problem I am getting is simple, CFMENU chokes when I put a 
> CFIF condition to close and open a CFMENUITEM tag. The error would be 
> a missing START or END tag no present for the CFMENUITEM tag.
> 
> The only way I think I can solve it is check to see if there IS any 
> submenu and if there is, use a special submenu loop. Otherwise, use 
> the non-submenu loop.
> 
> My brain must be tired from waiting for Halo 3 earlier (didn't really 
> even play it). 


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289462
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: converting sql scripts

2007-09-25 Thread Bruce Sorge
I don't know of any free ones, but there are ones with trial versions. 
Not sure if they are fully functional.

*http://tinyurl.com/yt73ac

**http://convert-mysql-to-mssql.qarchive.org/

**http://www.sobolsoft.com/mysqlmssql/
*

Bruce


Steve Good wrote:
> does anyone know a good tool for converting a mysql script to a mssql 
> script?  I started doing this by hand but with over 12,000 errors being 
> thrown by mssql I don't think I have the stamina to undertake the job.
>
> I'm looking for something free if possible since I won't be using it 
> very often (if ever again)
>
> Thanks in advance!
> ~Steve
>
>   

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289463
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: <cftextarea richtext="true"> question

2007-09-25 Thread Cyrill Vatomsky
CF8 implementation FCKeditor seems unfinished. I know that the default toolbar 
does not have an insert image button. However, you can load a canned template 
with an image and then clicking on image properties you can actually get to the 
image browser. But when you click on browse server you get an error: the CF8's 
fckeditor is actually looking for the ASP controller (sic!) This is default FCK 
configuration and nobody bothered to change it. I hope there will be some 
patches related to the richtext cftextarea from Adobe.

Cyrill

> Hello,
> I am using CrystalTech's Coldfusion 8 shared environment.
> 
> I've got code calling:  toolbar="MyCustomToolbar">
> 
> On my DEV/Local box.. I defined the "MyCustomToolbar" in the 
> \CFIDE\scripts\ajax\FCKeditor\fckconfig.js file.
> 
> I've also made changes to the "fckstyles.xml" and "fcktemplates.xml" 
> file.
> 
> My problem is: In the shared environment, EVERYONE shares /CFIDE/* .  
> My question is, is there anyway I can have my own copy of the /CFIDE/ 
> directory and thus have changes to the files listed above.
> 
> I've seen folks post lots of talk about a virtual directory and sorts.. 
> but not sure if that solves it.. or even whats involved.
> 
> Hard to believe the whole shared environment would have to SHARE the 
> STANDARD templates that are in "fcktemplates.xml". Same with sharing 
> the STANDARD toolbars as defined in "fckeditor.js" There must be a way 
> to edit and have my own!?!
> 
> Thanks for any help,
> Jeff 


~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289461
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread Rick Root
Regarding the timeout... have you tried using the  tag to
disable the request timeout?

One thing you could do, assuming the email list is coming from a
query, is have the query return only 1000 rows at a time and upon
completion, meta refresh to itself passing in the next start row
parameter... using the LIMIT clause in MySQL, for example...

I solved this problem by actually writing an event gateway to do my
mailings... the cfm page sends a message to the event gateway, and
that's that.  I don't THINK event gateways are subject to request
timeouts because they're not "requests"

Rick

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289460
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


converting sql scripts

2007-09-25 Thread Steve Good
does anyone know a good tool for converting a mysql script to a mssql 
script?  I started doing this by hand but with over 12,000 errors being 
thrown by mssql I don't think I have the stamina to undertake the job.

I'm looking for something free if possible since I won't be using it 
very often (if ever again)

Thanks in advance!
~Steve

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289459
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Recovering scheduled tasks after upgrade?

2007-09-25 Thread Dave Watts
> Is there anywhere one might recover that info 
> (file system, registry, etc)? 

That information is stored in \cfusion\lib\neo-cron.xml, if you backed that up.

Dave Watts, CTO, Fig Leaf Software 


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289458
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Recovering scheduled tasks after upgrade?

2007-09-25 Thread Brad Wood
Those are stored in \lib\neo-cron.xml

You made a backup the coldfusion folder before upgrading, right?  :)

~Brad

-Original Message-
From: Scott Weikert [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 3:54 PM
To: CF-Talk
Subject: Recovering scheduled tasks after upgrade?

My server guy upgraded my development server from CF 6.1 to CF 8 earlier

today. Yay.

In doing so, he blew away all my scheduled task info. Grr.

Is there anywhere one might recover that info (file system, registry, 
etc)? Enough info to reset them manually?

Talking about a Win2k server environment here.



~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289457
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread Scott Weikert
Andrew Peterson wrote:
> Hello, I have a mass email which times out due to our shared server's timeout 
> of 60,000 ms. (It takes longer than that to process the page.) I could loop 
> through and send out 2000 emails at a time, but I am still stuck with having 
> the client wait and click on “Send the next 1000 emails”  button until 
> they're all sent out.  Looking for a more elegant solution - something behind 
> the scenes. Any ideas? TIA. 
>
>   
I do just that with my main project, which does email broadcasts.

I break each send up into 5k chunks. I have my broadcast task set up as 
a scheduled task, running every 10 min. It sniffs out if there's a send 
in the queue, what block is next to send, and piles through it. It 
usually takes less than 10 min to run, but I pad it so that the spooler 
on the main mail server has time to clear out before the next wave hits.

Instead of having it trigger when your client sends, have it add it to a 
'queue', and let your scheduled task tap that queue. When it's done, 
have it send an 'email complete' to your client so they know it's done.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289456
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Recovering scheduled tasks after upgrade?

2007-09-25 Thread Scott Weikert
My server guy upgraded my development server from CF 6.1 to CF 8 earlier 
today. Yay.

In doing so, he blew away all my scheduled task info. Grr.

Is there anywhere one might recover that info (file system, registry, 
etc)? Enough info to reset them manually?

Talking about a Win2k server environment here.

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289455
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
WOW!

Small world. Where are you at now. How are things?

As you've probably guessed, i'm not at CWC anymore. left there about 2 1/2 
years ago.

> >nvmd.
> >
> >just got it.
> >
> >Thanks for your help.
> >
> Don't mean to hijack the thread or anything, but you wouldn't happen 
> to be the same Kenny Kinds I worked with several years ago at CWC in 
> St Louis, would you. Just curious, as I tried to look him(you?) up at 
> your other site a couple of years ago, but it was no longer active.
> 
> -morgan 


~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289454
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Session Hijacking Curiosity

2007-09-25 Thread Jochem van Dieten
Mike Chabot wrote:
> I am looking into a session hijacking problem, where the session that
> was hijacked had an empty cfid and cftoken, and was surprised by the
> following scenario I tested.
> 
> User 1: log into the Web site.
> User 1: using Firefox, examine the cookies and modify the cfid and
> cftoken values to be blank
> 
> When I refresh the page, I am still logged into the site.

I tried it with setting the jsessionid to be blank (I always use J2EE 
sessions) on CF 7 and I was logged out.


> To be clear, I am well aware how session hijacking works. The surprise
> to me is that an empty cfid and cftoken is considered to map to a
> valid session and I am trying to understand, from a technical
> standpoint, why an empty token is working. I have reproduced this
> behavior in CFMX7 and CF8.

I have my doubts about your use of Firefox to test this behaviour. I 
have attached a small batchfile that uses wget to send requests to the 
server with total control over the headers that are send. You need to 
fill out the URL of your web application, the file where wget must store 
its cookies, the username and the password. You probably need to adjust 
the URL of your login page as well. Then start the script, edit your 
cookie file when it tells you to and check the results.

Jochem



@echo off
setlocal

set URL=%1
set cookieFile=%2
set username=%3
set password=%4

wget --quiet -O first.html --save-cookies %cookieFile% 
--keep-session-cookies "http://%URL%/";
wget --quiet -O loginResult.html --load-cookies %cookieFile% 
--save-cookies %cookieFile% --keep-session-cookies 
"http://%URL%/?event=login&Username=%username%&password=%password%";
wget --quiet -O beforeCookieChange.html --load-cookies %cookieFile% 
--save-cookies %cookieFile% --keep-session-cookies "http://%URL%/";

echo Modify your cookie file %cookieFile%
pause

wget --quiet -O afterCookieChange.html --load-cookies %cookieFile% 
--save-cookies %cookieFile% --keep-session-cookies "http://%URL%/";

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289453
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread morgan lindley
>nvmd.
>
>just got it.
>
>Thanks for your help.
>
Don't mean to hijack the thread or anything, but you wouldn't happen to be the 
same Kenny Kinds I worked with several years ago at CWC in St Louis, would you. 
Just curious, as I tried to look him(you?) up at your other site a couple of 
years ago, but it was no longer active.

-morgan 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289452
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Session Hijacking Curiosity

2007-09-25 Thread Brad Wood
That's always been my understanding of cfid and cftoken.  (I had never
tried the empty strings though).

That is why it is dangerous when someone goes copying and pasting a url
into an E-mail.  Then all of a sudden, you are logged in as them.

~Brad

-Original Message-
From: Mike Chabot [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 3:21 PM
To: CF-Talk
Subject: Re: Session Hijacking Curiosity

I reproduced the behavior using made up numbers instead of empty
strings. I modified the cookie to be cfid=1234 and the cftoken = 1234.
I was able to continue using the site using these modified values
without seeing any session errors. So the behavior is not limited to
empty strings.

-Mike Chabot

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289451
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
nvmd.

just got it.

Thanks for your help.

>:-)
>
>.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
>Bobby Hartsfield
>http://acoderslife.com
>
>
>r/(.*)Bobby(.*)/$1Ben$2/ig
>
>--Ben "Shadow RegEx" Doom
>
>Will Tomlinson wrote:
>>> Being the RegEx Ninja, my first thought is to use a regex:
>>>
>> 
>> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
>> 
>> 
>> 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289450
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Session Hijacking Curiosity

2007-09-25 Thread Mike Chabot
I reproduced the behavior using made up numbers instead of empty
strings. I modified the cookie to be cfid=1234 and the cftoken = 1234.
I was able to continue using the site using these modified values
without seeing any session errors. So the behavior is not limited to
empty strings.

-Mike Chabot

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289449
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Permutation problem

2007-09-25 Thread Ben Doom
Technically, he's asking for a combination, which would be
(x choose y)
which is
x!/y!(x-y)! (number of combinations)
instead of
x!/(x-y)! (number of permutations, in which order counts)

So if there are 7 numbers in the original list, and you need 6 of them, 
it's
7!/6!(7-6)! = 7!/6! * 1! = 7!/6! = 7
for 7 numbers, choose 5
7 choose 5 = 7!/5!(7-5)! = 7!/5!*2! = 7 * 6 / 2 = 7 * 3 = 21

Hopefully, that made some sense.

I missed that part in my original post.

--Ben Doom

Christopher Jordan wrote:
> I'm curious why in your case 1,2,3,4,5,6 is considered to be the same as
> 1,2,3,4,6,5?  I was going to suggest that you use n! to figure out how many
> possible permutations of the string there were, but that wouldn't work given
> your requirements.
> 
> Chris
> 
> 
> On 9/25/07, Ken Fassman <[EMAIL PROTECTED]> wrote:
>> Hi,
>> I have a problem I'm struggling to solve in ColdFusion - I wonder if
>> someone
>> can help me with.
>>
>> I am being given a variable length, numeric string (min 6, max 20).  I
>> need
>> to show all combinations of those values that will result in a unique set
>> of
>> 6.  The resulting output is sorted - so 1,2,3,4,5,6 is the same as
>> 1,2,3,4,6,5.
>>
>> I'd also like to see if there is an easy way to calculate the expected
>> number of each in advance.
>>
>> Just to illustrate what I'm looking to do (in case its not clear from
>> above):
>>
>> The input string might be "1,2,3,4,5,6,7" and I'd need to return the
>> following results:
>> 123456
>> 123457
>> 123467
>> 123567
>> 124567
>> 134567
>> 234567
>>
>>
>> Any thoughts on this on how to approach this are greatly appreciated.
>>
>> Thanks!
>>
>> - KsF
>>
>>
>>
> 
> 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289447
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: String validation HELP!!!!

2007-09-25 Thread Bobby Hartsfield
:-)

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Ben Doom [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 3:52 PM
To: CF-Talk
Subject: Re: String validation HELP

r/(.*)Bobby(.*)/$1Ben$2/ig

--Ben "Shadow RegEx" Doom

Will Tomlinson wrote:
>> Being the RegEx Ninja, my first thought is to use a regex:
>>
> 
> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
> 
> 
> 



~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289448
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Ben Doom
Kung Fu is an idiom.  Literally, it means more or less "hard work".
I learned the ancient Perl forms.
I studied under Dinowitz, O'Reilly, Jochem.
I faced the dreaded CF5 POSIX forms and was victorious.
Yeah.  I worked hard for it.

--Ben Doom

Kenny Kinds wrote:
> This guy's Kung Fu is strong.
> 
> or is that the proper martial art for this problem. ;)
> 
>>> Being the RegEx Ninja, my first thought is to use a regex:
>>>
>> How can *you* be the regex ninja when Bobby thinks *he* is.  :) 
> 
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289446
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Session Hijacking Curiosity

2007-09-25 Thread Mike Chabot
I am looking into a session hijacking problem, where the session that
was hijacked had an empty cfid and cftoken, and was surprised by the
following scenario I tested.

User 1: log into the Web site.
User 1: using Firefox, examine the cookies and modify the cfid and
cftoken values to be blank

When I refresh the page, I am still logged into the site. Back in the
CF5 and possibly CFMX6 days, CF would have thrown an error since an
empty session would not be found when CF tried to obtain the values
for the blank identifier. An alternative behavior would be to
recognize that the session wasn't valid and kick the person back to an
error page or a login page. However, when I tried this in CF8 and
CFMX7, the session remains valid and seems to get remapped to a blank
cfid and blank token. The user can navigate through the entire site
with a blank cfid and token for the entire session.

User 2: If I use another browser and go to /page.cfm?cfid=&cftoken=,
then I am allowed to bypass the login page and I effectively hijack
that other user's session.

I seem to remember that ColdFusion MX 7 addressed a problem with using
StructClear(session). My hunch is that this unexpected behavior might
relate to that change.

To be clear, I am well aware how session hijacking works. The surprise
to me is that an empty cfid and cftoken is considered to map to a
valid session and I am trying to understand, from a technical
standpoint, why an empty token is working. I have reproduced this
behavior in CFMX7 and CF8.

Thanks,
Mike Chabot

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289445
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread Matt Robertson
Try this.  Its been around for a long time and works very well.  There are
server-side-only variations described somewhere in there but I have never
had one work anywhere near as well as this:

http://mysecretbase.com/Slowing_Down_CFMAIL.cfm

2nd generation:

http://mysecretbase.com/Slowing_Down_CFMail_2004.cfm

Gen3:

http://mysecretbase.com/slowing_down_cfmail_2006.cfm

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

On 9/25/07, Andrew Peterson <[EMAIL PROTECTED]> wrote:
>
> Hello, I have a mass email which times out due to our shared server's
> timeout of 60,000 ms. (It takes longer than that to process the page.) I
> could loop through and send out 2000 emails at a time, but I am still stuck
> with having the client wait and click on "Send the next 1000 emails"  button
> until they're all sent out.  Looking for a more elegant solution - something
> behind the scenes. Any ideas? TIA.
>
> Sincerely,
>
> Andy
>
>
> 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289444
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
Is that your suggestion?

>r/(.*)Bobby(.*)/$1Ben$2/ig
>
>--Ben "Shadow RegEx" Doom
>
>Will Tomlinson wrote:
>>> Being the RegEx Ninja, my first thought is to use a regex:
>>>
>> 
>> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
>> 
>> 
>> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289443
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Infinite Structure Looping

2007-09-25 Thread Gaulin, Mark
FYI, you can replace this syntax:


with this:
 

and that should help you manipulate things with data coming from a
query.

But if the "id" is really the "primary key" then why make datacontainer
an array at all? Make it a struct and put each record in the struct
using the key value... This will make it easy to find the same
record/struct later when you want to connect something to it (by adding
the new "something" to a struct contained in the parent node).  (Maybe
you're using arrays because you want to preserve the order of siblings..
like 2, 3 and 9 in your example.  An array makes sense for this, but a
maintaining another single struct that contains all nodes by id is handy
for that lookup capability.)

I bet someone on the list will be able to point you at code for loading
hierarchical data and you'll see the same kind of thing that you are
trying to do, pretty much all based on Structs.

Thanks
Mark

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 3:25 PM
To: CF-Talk
Subject: Infinite Structure Looping

Hello, 

I'm trying to set up a structure based on unique values in a flat SQL
database with unique id's.  And then output values in the structure in a
hierarchy kind of like:

1
|
 2  3  9
|
4  5  6
   |
   7  8


I believe can loop through and exhaust all the values based on a lookup
list of what structure has been outputted.  But I'm having a problem
thinking about the natural flow of the output and joining up the parent
with children in the hierarchy.  

Is this possible or very easy?  I'm basically wanting a cfdump type
output that I can manipulate the HTML/javascript.  The below code is how
I want to set up the structure.  Any thoughts would be great.













   




 







 








 







 







 





  
 


Thanks! 



~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289441
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Ben Doom
r/(.*)Bobby(.*)/$1Ben$2/ig

--Ben "Shadow RegEx" Doom

Will Tomlinson wrote:
>> Being the RegEx Ninja, my first thought is to use a regex:
>>
> 
> How can *you* be the regex ninja when Bobby thinks *he* is.  :)
> 
> 
> 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289442
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Ben Doom
You seem to be very interested in regular expressions and text 
processing.  CF-RegEx is a low-volume list with a bunch of guys with 
heads full of expertise and nothing to do.  Operators are standing by!

In the meantime, if you need to match the same char 3 times:
([a-z0-9])\1\1
Or the same 3 chars repeated:
([a-z0-9]{3})\1

Is that what you were asking?

--Ben Doom

Kenny Kinds wrote:
> One more question for you. Initially I stated that I was looking for double 
> characters when i actually i need to search for 3 characters in a row. 
> Everything i've tried doesn't give me the correct results.
> 
> Any ideas.
> 
>> Little do you know, that code lets me exploit holes in your server's 
>> ozone with my nuclear bit bucket.  Bwah, hahahahahah!
>>
>> --Ben Doom
>>
>> Kenny Kinds wrote:
>>> You guys are awesome!
>>>
>>> Thanks alot.
>>>
>>> Doom, you're not as bad as the comics make you out to be. 
>>>
>>>
> 
> 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289440
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8 configuration issues in a VM environment

2007-09-25 Thread Ben Mueller
>Hope I'm not just spreading FUD, but I suspect that's not possible.  On
>W2K3, the only way to get a mapped drive letter is to run CF  under a login
>session - i.e., login to the server, map the drive, then start CF as a
>console app.  I'd presume XP would be the same.
>
>Jaime Metcher


Thanks to both of you for the reply.  I didn't try associating the mapped drive 
with the account associated with the CF service.  However, given that the 
Samba-based solution seems to work fine, and people seem to speak highly of 
Samba's reliability, I see no reason to change it.  But I might try it just to 
see if it'll work, given that it would simplify the setup process if I could 
just use the share folders that VMWare configures out of the box.

Ben 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289439
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Breaking down mass email into chunks to beat page timeout.

2007-09-25 Thread Andrew Peterson
Hello, I have a mass email which times out due to our shared server's timeout 
of 60,000 ms. (It takes longer than that to process the page.) I could loop 
through and send out 2000 emails at a time, but I am still stuck with having 
the client wait and click on “Send the next 1000 emails”  button until 
they're all sent out.  Looking for a more elegant solution - something behind 
the scenes. Any ideas? TIA. 

Sincerely,

Andy


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289438
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
This guy's Kung Fu is strong.

or is that the proper martial art for this problem. ;)

>>Being the RegEx Ninja, my first thought is to use a regex:
>>
>
>How can *you* be the regex ninja when Bobby thinks *he* is.  :) 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289437
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: String validation HELP!!!!

2007-09-25 Thread Bobby Hartsfield
You're obviously more delusional than I am...

..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 4:17 PM
To: CF-Talk
Subject: Re: String validation HELP

>Being the RegEx Ninja, my first thought is to use a regex:
>

How can *you* be the regex ninja when Bobby thinks *he* is.  :)




~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289436
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Will Tomlinson
>Being the RegEx Ninja, my first thought is to use a regex:
>

How can *you* be the regex ninja when Bobby thinks *he* is.  :)


~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289435
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Permutation problem

2007-09-25 Thread Christopher Jordan
I'm curious why in your case 1,2,3,4,5,6 is considered to be the same as
1,2,3,4,6,5?  I was going to suggest that you use n! to figure out how many
possible permutations of the string there were, but that wouldn't work given
your requirements.

Chris


On 9/25/07, Ken Fassman <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have a problem I'm struggling to solve in ColdFusion - I wonder if
> someone
> can help me with.
>
> I am being given a variable length, numeric string (min 6, max 20).  I
> need
> to show all combinations of those values that will result in a unique set
> of
> 6.  The resulting output is sorted - so 1,2,3,4,5,6 is the same as
> 1,2,3,4,6,5.
>
> I'd also like to see if there is an easy way to calculate the expected
> number of each in advance.
>
> Just to illustrate what I'm looking to do (in case its not clear from
> above):
>
> The input string might be "1,2,3,4,5,6,7" and I'd need to return the
> following results:
> 123456
> 123457
> 123467
> 123567
> 124567
> 134567
> 234567
>
>
> Any thoughts on this on how to approach this are greatly appreciated.
>
> Thanks!
>
> - KsF
>
>
> 

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289434
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFMENU with submenus dynamically created

2007-09-25 Thread Andy Chen
OK.. I don't know if it is some sort of brainblock or just me.

I am trying to create a loop which will dynamically create a menu with submenu 
(if needed). To make it easier, there is only 1 level for submenu which is just 
a flag in the DB. There MAY or MAY NOT be any submenus in a menu. 

Now the problem I am getting is simple, CFMENU chokes when I put a CFIF 
condition to close and open a CFMENUITEM tag. The error would be a missing 
START or END tag no present for the CFMENUITEM tag.

The only way I think I can solve it is check to see if there IS any submenu and 
if there is, use a special submenu loop. Otherwise, use the non-submenu loop.

My brain must be tired from waiting for Halo 3 earlier (didn't really even play 
it). 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289433
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
One more question for you. Initially I stated that I was looking for double 
characters when i actually i need to search for 3 characters in a row. 
Everything i've tried doesn't give me the correct results.

Any ideas.

>Little do you know, that code lets me exploit holes in your server's 
>ozone with my nuclear bit bucket.  Bwah, hahahahahah!
>
>--Ben Doom
>
>Kenny Kinds wrote:
>> You guys are awesome!
>> 
>> Thanks alot.
>> 
>> Doom, you're not as bad as the comics make you out to be. 
>> 
>> 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289432
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Infinite Structure Looping

2007-09-25 Thread [EMAIL PROTECTED] [EMAIL PROTECTED]
Hello, 

I'm trying to set up a structure based on unique values in a flat SQL database 
with unique id's.  And then output values in the structure in a hierarchy kind 
of like:

1
|
 2  3  9
|
4  5  6
   |
   7  8


I believe can loop through and exhaust all the values based on a lookup list of 
what structure has been outputted.  But I'm having a problem thinking about the 
natural flow of the output and joining up the parent with children in the 
hierarchy.  

Is this possible or very easy?  I'm basically wanting a cfdump type output that 
I can manipulate the HTML/javascript.  The below code is how I want to set up 
the structure.  Any thoughts would be great.













   




 







 








 







 







 






  
 


Thanks! 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289431
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Ben Doom
Little do you know, that code lets me exploit holes in your server's 
ozone with my nuclear bit bucket.  Bwah, hahahahahah!

--Ben Doom

Kenny Kinds wrote:
> You guys are awesome!
> 
> Thanks alot.
> 
> Doom, you're not as bad as the comics make you out to be. 
> 
> 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289430
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
You guys are awesome!

Thanks alot.

Doom, you're not as bad as the comics make you out to be. 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289429
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Claude Schneegans
 >>You might look into one of the free regular expression tools to make jobs
like this easier. One is

Another one, made in CF for CF is here: 
http://www.contentbox.com/claude/REwizard/index.cfm

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289428
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Ben Doom
Sorry, should have been
([a-z0-9]{2}).*\1

? means 0 or 1, * means 0 or more.

--Ben Doom

Kenny Kinds wrote:
> Doom
> 
> It seems to be working fine except if there is more than one character 
> between the sets, it one return the proper count. ie. it won't find the sets.
> 
> ex sdrsd will reutrn true or 1
> but sdthrsd will return false or 0.
> 
> any thoughts
> 
> and thanks for all of your help.
> 
>> Sure.  It follows basically the same principle.
>>
>> ([a-z0-9]{2}).?\1


~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289427
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Cfexecute and restart of apache...

2007-09-25 Thread Douglas Hyde
I am new to CFEXECUTE. I am trying to use cfexecute to restart apache2.2 on
max OSX (unix file structure) when a new virtual host is added or when the
aliases are updated within a host (eg, new directories are added that must
be aliased). Apache doesn't recognize these changes until restart. So I have
written code to add the new virtual host/alias settings in the vhosts
directory of apache - this is working fine. My challenge is getting
cfexecute to restart apache in order to pick up the new configurations. Here
is what I have tried:









So, it looks like apache is restarting - the problem I am having is that it
tries to spit out the file that the cfexecute is contained in, rather than
writing to the file in outputfile. I have manually created the
"script_log.txt" in the target directory, and have set permissions to allow
the file to be overwritten. But nonetheless, a window pops up asking me to
download the file that the cfexecute command is contained in. I have also
tried switching from outputfile to variable, and then dumping the variable
to a file, but I still have the same problem. To be frank, I really don't
need the file, its just a behaviour of cfexecute I need to manage. Any
thoughts on why it dumps? I thought of wrapping the cfexecute in
cfsavecontent, but don't think I should have to.

Cheers,
Doug



~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289426
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: String validation HELP!!!!

2007-09-25 Thread Brian Kotek
You might look into one of the free regular expression tools to make jobs
like this easier. One is

http://www.ultrapico.com/Expresso.htm


On 9/25/07, Kenny Kinds <[EMAIL PROTECTED]> wrote:
>
> Doom
>
> It seems to be working fine except if there is more than one character
> between the sets, it one return the proper count. ie. it won't find the
> sets.
>
> ex sdrsd will reutrn true or 1
> but sdthrsd will return false or 0.
>
> any thoughts
>
> and thanks for all of your help.
>
> >Sure.  It follows basically the same principle.
> >
> >([a-z0-9]{2}).?\1
> >
> >This is, btw, a fairly inefficient regex, so I wouldn't run it against,
> >say, a K of data at a time, but for 8 chars, I expect the regex engine
> >overhead will be larger.  In other words, for your purposes, it's fine.
> >
> >(Not tested, YMMV)
> >
> >--Ben "HoF Regex Ninja" Doom
> >
> >Kenny Kinds wrote:
> >>
>
>
>
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289425
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: String validation HELP!!!!

2007-09-25 Thread Kenny Kinds
Doom

It seems to be working fine except if there is more than one character between 
the sets, it one return the proper count. ie. it won't find the sets.

ex sdrsd will reutrn true or 1
but sdthrsd will return false or 0.

any thoughts

and thanks for all of your help.

>Sure.  It follows basically the same principle.
>
>([a-z0-9]{2}).?\1
>
>This is, btw, a fairly inefficient regex, so I wouldn't run it against, 
>say, a K of data at a time, but for 8 chars, I expect the regex engine 
>overhead will be larger.  In other words, for your purposes, it's fine.
>
>(Not tested, YMMV)
>
>--Ben "HoF Regex Ninja" Doom
>
>Kenny Kinds wrote:
>>



~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289424
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Security Questions

2007-09-25 Thread Ian Skinner
What is XSS?

Cross Scripting ttacks.  Where the bad people in the world uses vulnerabilities 
in your site to insert undesirable scripts into your code to be run in future 
viewings of the site.



~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289423
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Security Questions

2007-09-25 Thread Bruce Sorge
Cross Site Scripting.

Bruce

Andy wrote:
> What is XSS?
>  
>
>   
>

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289422
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Security Questions

2007-09-25 Thread Andy
What is XSS?
 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 12:32 AM
To: CF-Talk
Subject: RE: Security Questions

> I've always thought this was more for load distribution though than 
> security.

No, it's for security. This model is used in high-security configurations to
remove all executable functionality, so that if (when?) the web server is
compromised, no scripts or programs can be created or modified. It can be
done with CF directly using "distributed mode", in which the CF web server
integration module is configured to connect to a remote server instead of
localhost, or it can be done using a web server configured as a reverse
proxy to an internal web server running CF.

While this is very effective as a protection against vulnerabilities in your
public web server and its OS, this doesn't do anything to protect against
application server vulnerabilities such as SQL injection and XSS, which in
my opinion are more common, and perhaps more serious.

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

Fig Leaf Software provides the highest caliber vendor-authorized instruction
at our training centers in Washington DC, Atlanta, Chicago, Baltimore,
Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289421
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: #$^%& Forms!

2007-09-25 Thread jonese
Miss a digit, we don't care about the phone number. Originally we were going
to restrict it but decided not to later on and have been to "busy" (or lazy)
to fix the form.

erj

On 9/25/07, Wayne Putterill <[EMAIL PROTECTED]> wrote:
>
> Love to join your alpha but ironically I can't get my (uk) phone number
> past
> your form validation :)
>
> Well I can if I miss off a digit...
>
> On 24/09/2007, jonese <[EMAIL PROTECTED]> wrote:
> >
> > 
> >  The CMS our company uses and is currently getting ready to release
> > open
> > source makes building forms a bit more fun. It doesn't read the DB yet
> > (future will) but it does create the tables, columns and has built in
> > validation etc. You can even export a form and import it into another
> > site.
> > This is how we get say an article form from site A to site B with very
> > little work :)
> >
> >  you can sign up to be an alpha tester at http://www.boomsocket.com
> >
> >  If you have more specific questions email me directly so we don't
> > clutter this thread or the list :)
> > 
> >
> > Yea i hate building forms, not so much any more.
> >
> > Eric Jones aka jonese
> >
> > On 9/24/07, Michael David <[EMAIL PROTECTED]> wrote:
> > >
> > > Ok, I admit it; I hate developing forms!
> > >
> > > There's not one part of the process that I find even remotely
> > > interesting, enlightening, or fulfilling.
> > >
> > > Forms suck.
> > >
> > > Now that I got that off of my chest, does anyone know of some
> > > nifty-cool program/guy in a dark room halfway around the world/magic
> > spell
> > > that would help with most of the more mundane aspects of the process.
> > >
> > > Did I mention that I hate developing forms?!?!
> > >
> > > --
> > > Cheers!
> > >
> > > Michael David
> > >
> > >
> > >
> > >
> >
> >
>
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289420
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Permutation problem

2007-09-25 Thread Ben Doom
I'm not sure how well this will run, but my first instinct is to do a 
recursive permutation.

Basically, you write it so that the function returns a list of 
permutations permute(list, length) such that
permute("1,2,3,4,5,6,7", 6)
returns a list of each of those numbers plus the permute of the 
remaining list, and length l-1.

That is,
permute("1,2,3", 2)= 1 + permute("2,3", 1) and 2 + permute("1,3", 1) and 
  3 + permute("1,2", 1)

Make sense?

--Ben Doom

Ken Fassman wrote:
> Hi,
> I have a problem I'm struggling to solve in ColdFusion - I wonder if someone
> can help me with.
> 
> I am being given a variable length, numeric string (min 6, max 20).  I need
> to show all combinations of those values that will result in a unique set of
> 6.  The resulting output is sorted - so 1,2,3,4,5,6 is the same as
> 1,2,3,4,6,5.
> 
> I'd also like to see if there is an easy way to calculate the expected
> number of each in advance.
> 
> Just to illustrate what I'm looking to do (in case its not clear from
> above):
> 
> The input string might be "1,2,3,4,5,6,7" and I'd need to return the
> following results:
> 123456
> 123457
> 123467
> 123567
> 124567
> 134567
> 234567
> 
> 
> Any thoughts on this on how to approach this are greatly appreciated.
> 
> Thanks!
> 
>  - KsF
> 
> 
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289419
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: CF list/SQL Quote Problem

2007-09-25 Thread Dave Watts
> Any idea how to stop these additional quotes?

PreserveSingleQuotes()

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289418
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF list/SQL Quote Problem

2007-09-25 Thread Howell, Craig H Civ WRALC/ITMS
Thanksthat was easy.

-Original Message-
From: Nicholas M Tunney [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 9:30 AM
To: CF-Talk
Subject: Re: CF list/SQL Quote Problem

preserveSingleQuotes(list)

Howell, Craig H Civ WRALC/ITMS wrote:
> Good Morning,
>
> I have a CF list of items with single quotes around them 
> (e.g., list = 'ABC', 'DEF', 'XYZ')
>
> I am trying to use this list in a T-SQL statement using "IN":
>
> SELECT *
> FROM test-table
> WHERE test-row IN (#list#)
>
> The problem is T-SQL adds quotes and I end up with the following
> statement:
>
> SELECT *
> FROM test-table
> WHERE test-row IN (''ABC'', ''DEF'', ''XYZ'')
>
> Any idea how to stop these additional quotes?
>
> Thanks.
>
> 



~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289417
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF list/SQL Quote Problem

2007-09-25 Thread Nicholas M Tunney
preserveSingleQuotes(list)

Howell, Craig H Civ WRALC/ITMS wrote:
> Good Morning,
>
> I have a CF list of items with single quotes around them 
> (e.g., list = 'ABC', 'DEF', 'XYZ')
>
> I am trying to use this list in a T-SQL statement using "IN":
>
> SELECT *
> FROM test-table
> WHERE test-row IN (#list#)
>
> The problem is T-SQL adds quotes and I end up with the following
> statement:
>
> SELECT *
> FROM test-table
> WHERE test-row IN (''ABC'', ''DEF'', ''XYZ'')
>
> Any idea how to stop these additional quotes?
>
> Thanks.
>
> 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289415
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: CF list/SQL Quote Problem

2007-09-25 Thread Dawson, Michael
Use cfqueryparam. 

-Original Message-
From: Howell, Craig H Civ WRALC/ITMS [mailto:[EMAIL PROTECTED]

Sent: Tuesday, September 25, 2007 8:26 AM
To: CF-Talk
Subject: CF list/SQL Quote Problem

Good Morning,

I have a CF list of items with single quotes around them (e.g., list =
'ABC', 'DEF', 'XYZ')

I am trying to use this list in a T-SQL statement using "IN":

SELECT *
FROM test-table
WHERE test-row IN (#list#)

The problem is T-SQL adds quotes and I end up with the following
statement:

SELECT *
FROM test-table
WHERE test-row IN (''ABC'', ''DEF'', ''XYZ'')

Any idea how to stop these additional quotes?

Thanks.

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289416
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF list/SQL Quote Problem

2007-09-25 Thread Howell, Craig H Civ WRALC/ITMS
Good Morning,

I have a CF list of items with single quotes around them 
(e.g., list = 'ABC', 'DEF', 'XYZ')

I am trying to use this list in a T-SQL statement using "IN":

SELECT *
FROM test-table
WHERE test-row IN (#list#)

The problem is T-SQL adds quotes and I end up with the following
statement:

SELECT *
FROM test-table
WHERE test-row IN (''ABC'', ''DEF'', ''XYZ'')

Any idea how to stop these additional quotes?

Thanks.

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289414
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Permutation problem

2007-09-25 Thread Ken Fassman
Hi,
I have a problem I'm struggling to solve in ColdFusion - I wonder if someone
can help me with.

I am being given a variable length, numeric string (min 6, max 20).  I need
to show all combinations of those values that will result in a unique set of
6.  The resulting output is sorted - so 1,2,3,4,5,6 is the same as
1,2,3,4,6,5.

I'd also like to see if there is an easy way to calculate the expected
number of each in advance.

Just to illustrate what I'm looking to do (in case its not clear from
above):

The input string might be "1,2,3,4,5,6,7" and I'd need to return the
following results:
123456
123457
123467
123567
124567
134567
234567


Any thoughts on this on how to approach this are greatly appreciated.

Thanks!

 - KsF


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289413
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Yes Again CFWindow :(

2007-09-25 Thread Raymond Camden
Use JS to submit the form-

ColdFusion.Ajax.submitForm

In there specify your callback function. That function will then open
a new CFWINDOW (using ColdFusion.Window.create) and can display the
results there.

On 9/25/07, Asim Manzur <[EMAIL PROTECTED]> wrote:
> Is there anyway to post the form from regular page to cfwindow?
>
> my main page have a form. when this form submits, I want to open a
> cfwindows, (so the action page for that form will be cfwindow)  do the
> other steps and on closing the page. I can navigate the main page to
> som where.
>
> --
> ...
> Regards,
> Asim Manzur
>
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289412
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: [coldspring-dev] The advantages of Coldspring

2007-09-25 Thread Tom Chiverton
On Monday 24 Sep 2007, [EMAIL PROTECTED] wrote:
> Tom I think your replies are going to CF-Talk, not the ColdSpring list.

Yeah, our new Exchange mail server, as well as not serving mail particularly 
well, also has an added bonus feature which strips out all the header 
information, so my mail client (which used to used this info to figure out 
where 'reply' should go to) defaults to cf-talk.
I've created a folder for each of the main mailing lists now, and given each 
it's own default.

Stupid Microsoft. Grr.

-- 
Tom Chiverton
Helping to ambassadorially develop high-end materials
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289411
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Archiving SQL table data

2007-09-25 Thread Tom Chiverton
On Monday 24 Sep 2007, [EMAIL PROTECTED] wrote:
> sounds like a job for a staging table just for inserts w/out any indexes
> which moves the data via triggers or whatever to "real" tables for
> maintenance & querying. 

Yup, had multiple staging databases (local to the things making the millions 
of rows) that would push to the main database :-)
Sooner or latter the data has to go into the main table though, so it can all 
be reported on as one lump.

-- 
Tom Chiverton
Helping to dynamically foster sexy solutions
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.


~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289410
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Yes Again CFWindow :(

2007-09-25 Thread Asim Manzur
Is there anyway to post the form from regular page to cfwindow?

my main page have a form. when this form submits, I want to open a
cfwindows, (so the action page for that form will be cfwindow)  do the
other steps and on closing the page. I can navigate the main page to
som where.

-- 
...
Regards,
Asim Manzur

~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289409
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: question

2007-09-25 Thread Dave Watts
> My problem is: In the shared environment, 
> EVERYONE shares /CFIDE/* .  My question 
> is, is there anyway I can have my own copy 
> of the /CFIDE/ directory and thus have changes > to the files listed above.

Perhaps you can use the SCRIPTSRC attribute of CFFORM?

Dave Watts, CTO, Fig Leaf Software


~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289408
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Check for get variable

2007-09-25 Thread Stivn ..
OK, thank you all. I solved it with cfparam :)



~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289407
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


question

2007-09-25 Thread Jeff Becker
Hello,
I am using CrystalTech's Coldfusion 8 shared environment.

I've got code calling: 

On my DEV/Local box.. I defined the "MyCustomToolbar" in the 
\CFIDE\scripts\ajax\FCKeditor\fckconfig.js file.

I've also made changes to the "fckstyles.xml" and "fcktemplates.xml" file.

My problem is: In the shared environment, EVERYONE shares /CFIDE/* .  My 
question is, is there anyway I can have my own copy of the /CFIDE/ directory 
and thus have changes to the files listed above.

I've seen folks post lots of talk about a virtual directory and sorts.. but not 
sure if that solves it.. or even whats involved.

Hard to believe the whole shared environment would have to SHARE the STANDARD 
templates that are in "fcktemplates.xml". Same with sharing the STANDARD 
toolbars as defined in "fckeditor.js" There must be a way to edit and have my 
own!?!

Thanks for any help,
Jeff 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289406
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8 & .NET HELP!!!

2007-09-25 Thread Rupesh Kumar
Hi Dale,
I tried your code and it works fine as expected. I wonder why it does not work 
for you.  
Could you please tell us the following..

- Whats the .NET version installed on your machine?
- Is ColdFusion .NET service running fine?
- Do you see "dotNetCoreProxy.jar" under wwwroot/WEB-INF/cfclasses/dotNetProxy? 
If yes, whats the size?
- What happens when you try to generate the proxy manually? The tool to do that 
is /jnbridge/jnbproxyGui.exe. You can refer to the documents 
for help in using it.

Thanks & Regards,
Rupesh 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289405
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Simple .NET Class

2007-09-25 Thread Dale Fraser
I sure will!

Regards
Dale Fraser

http://learncf.com


-Original Message-
From: vishnu prasad [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 September 2007 10:35 PM
To: CF-Talk
Subject: Re: Simple .NET Class

Great to see its working for Dale
Dale will u put my sample on your learncf! :) 


>Cheers dale - I'm glad you got it working. It's too cool a feature to have
>to give up on.
>
>
>> 



~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289404
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Fusion Authority Quarterly Update

2007-09-25 Thread Dale Fraser
Thanks Judith,

Perfect!

Regards
Dale Fraser

http://learncf.com

-Original Message-
From: Judith Dinowitz [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 September 2007 10:33 PM
To: CF-Talk
Subject: Re: Fusion Authority Quarterly Update

>Haha,
>
>I'm sure it's nice paper, but PDF would be quicker and easier.
>
>Regards
>Dale Fraser

Dale,

While we don't have a PDF subscription, we sell the individual issues in PDF
format for $6.95 US. Currently, the first issue (Vol. 1 Issue 1) is
available for free, so the first three issues of the PDF will only cost you
$13.90.

We are about to release Vol. 2 Issue 2, and there will be two more issues
released by the first week of January 2008.

You can order the PDFs here:

https://secure.houseoffusion.com/pdfs.cfm

Judith Dinowitz
Editor-in-Chief: Fusion Authority
http://www.fusionauthority.com/ 



~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289403
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Simple .NET Class

2007-09-25 Thread vishnu prasad
Great to see its working for Dale
Dale will u put my sample on your learncf! :) 


>Cheers dale - I'm glad you got it working. It's too cool a feature to have
>to give up on.
>
>
>> 

~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289402
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Fusion Authority Quarterly Update

2007-09-25 Thread Judith Dinowitz
>Haha,
>
>I'm sure it's nice paper, but PDF would be quicker and easier.
>
>Regards
>Dale Fraser

Dale,

While we don't have a PDF subscription, we sell the individual issues in PDF 
format for $6.95 US. Currently, the first issue (Vol. 1 Issue 1) is available 
for free, so the first three issues of the PDF will only cost you $13.90.

We are about to release Vol. 2 Issue 2, and there will be two more issues 
released by the first week of January 2008.

You can order the PDFs here:

https://secure.houseoffusion.com/pdfs.cfm

Judith Dinowitz
Editor-in-Chief: Fusion Authority
http://www.fusionauthority.com/ 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289401
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Check for get variable

2007-09-25 Thread Dominic Watson
In ColdFusion, get variables are put in the 'url' scope.

So:





etc.

Hope that helps,

Dom


On 25/09/2007, nicolai bass dh <[EMAIL PROTECTED]> wrote:
>
> Dear Dale,
>
> thank you for your reply.
>
> I want to check if the variable "iid" is set via a link. For example:
>
> dfdfd
>
> If the variable "iid" has a value i want to display an other content as
> before.
>
> Thank you and with best regards
>
> Stivn.
>
>
>
>
>
> 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289399
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Check for get variable

2007-09-25 Thread Dale Fraser

#url.iid#


Regards
Dale Fraser

http://learncf.com


-Original Message-
From: nicolai bass dh [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 September 2007 10:18 PM
To: CF-Talk
Subject: Re: Check for get variable

Dear Dale,

thank you for your reply.

I want to check if the variable "iid" is set via a link. For example:

dfdfd

If the variable "iid" has a value i want to display an other content as
before. 

Thank you and with best regards

Stivn.







~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289400
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Check for get variable

2007-09-25 Thread nicolai bass dh
Dear Dale,

thank you for your reply.

I want to check if the variable "iid" is set via a link. For example:

dfdfd

If the variable "iid" has a value i want to display an other content as before. 

Thank you and with best regards

Stivn.





~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289398
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Check for get variable

2007-09-25 Thread Mark Drew
 is your friend?



On 9/25/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
> What's a Get variable?
>
> Do you mean Set
>
> 
> #myVariable#
>
> Regards
> Dale Fraser
>
> http://learncf.com
>
>
> -Original Message-
> From: nicolai bass dh [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 25 September 2007 9:35 PM
> To: CF-Talk
> Subject: Check for get variable
>
> Hi all,
>
> i want to know how i can check for a get variable?
>
> I want to display another content for the case that a get variable is true
> on this site.
>
> For example:
> Get variable = false
> false
>
> Get variable = true
> false
>
> Thank your for your hel & with best regards
>
> Stivn
>
>
>
> 

~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289397
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Check for get variable

2007-09-25 Thread Dale Fraser
What's a Get variable?

Do you mean Set


#myVariable#

Regards
Dale Fraser

http://learncf.com


-Original Message-
From: nicolai bass dh [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 September 2007 9:35 PM
To: CF-Talk
Subject: Check for get variable

Hi all,

i want to know how i can check for a get variable?

I want to display another content for the case that a get variable is true
on this site.

For example:
Get variable = false
false

Get variable = true
false

Thank your for your hel & with best regards

Stivn 



~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289396
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Check for get variable

2007-09-25 Thread nicolai bass dh
Hi all,

i want to know how i can check for a get variable?

I want to display another content for the case that a get variable is true on 
this site.

For example:
Get variable = false
false

Get variable = true
false

Thank your for your hel & with best regards

Stivn 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289395
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Fusion Authority Quarterly Update

2007-09-25 Thread Dale Fraser
Haha,

I'm sure it's nice paper, but PDF would be quicker and easier.

Regards
Dale Fraser

http://learncf.com

-Original Message-
From: William Seiter [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 25 September 2007 5:32 PM
To: CF-Talk
Subject: RE: Fusion Authority Quarterly Update

I just received my first copy of the quarterly last week, and I was VERY
much impressed with the quality of binding and paper used.  Certainly blows
away most everything else I have seen...

William Seiter

-Original Message-
From: Dale Fraser [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 24, 2007 7:49 PM
To: CF-Talk
Subject: Fusion Authority Quarterly Update

Can you subscribe to this electronically.

 

Ie PDF copies only, I think the additional expense and time of shipping
being in Australia makes this a bit hard.

 

I would however be happy to pay full US price for E-Copies, thus HOF would
make more money from me as they would have no shipping costs.

 

Regards

Dale Fraser

 

http://learncf.com

 







~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289394
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Fusion Authority Quarterly Update

2007-09-25 Thread William Seiter
I just received my first copy of the quarterly last week, and I was VERY
much impressed with the quality of binding and paper used.  Certainly blows
away most everything else I have seen...

William Seiter

-Original Message-
From: Dale Fraser [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 24, 2007 7:49 PM
To: CF-Talk
Subject: Fusion Authority Quarterly Update

Can you subscribe to this electronically.

 

Ie PDF copies only, I think the additional expense and time of shipping
being in Australia makes this a bit hard.

 

I would however be happy to pay full US price for E-Copies, thus HOF would
make more money from me as they would have no shipping costs.

 

Regards

Dale Fraser

 

http://learncf.com

 





~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289393
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: #$^%& Forms!

2007-09-25 Thread William Seiter
I have a client that is having me fix his signup page for a similar reason.
He believes he is missing out on 'a lot' of business because of the form
validation problem.

Unfortunately, his code is written in asp, so I'll be slumming it for a few
hours this week  ;)

William

-Original Message-
From: Wayne Putterill [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 25, 2007 12:15 AM
To: CF-Talk
Subject: Re: #$^%& Forms!

Love to join your alpha but ironically I can't get my (uk) phone number past
your form validation :)

Well I can if I miss off a digit...

On 24/09/2007, jonese <[EMAIL PROTECTED]> wrote:
>
> 
>  The CMS our company uses and is currently getting ready to release
> open
> source makes building forms a bit more fun. It doesn't read the DB yet
> (future will) but it does create the tables, columns and has built in
> validation etc. You can even export a form and import it into another
> site.
> This is how we get say an article form from site A to site B with very
> little work :)
>
>  you can sign up to be an alpha tester at http://www.boomsocket.com
>
>  If you have more specific questions email me directly so we don't
> clutter this thread or the list :)
> 
>
> Yea i hate building forms, not so much any more.
>
> Eric Jones aka jonese
>
> On 9/24/07, Michael David <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I admit it; I hate developing forms!
> >
> > There's not one part of the process that I find even remotely
> > interesting, enlightening, or fulfilling.
> >
> > Forms suck.
> >
> > Now that I got that off of my chest, does anyone know of some
> > nifty-cool program/guy in a dark room halfway around the world/magic
> spell
> > that would help with most of the more mundane aspects of the process.
> >
> > Did I mention that I hate developing forms?!?!
> >
> > --
> > Cheers!
> >
> > Michael David
> >
> >
> >
> >
>
> 



~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289392
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: #$^%& Forms!

2007-09-25 Thread Wayne Putterill
Love to join your alpha but ironically I can't get my (uk) phone number past
your form validation :)

Well I can if I miss off a digit...

On 24/09/2007, jonese <[EMAIL PROTECTED]> wrote:
>
> 
>  The CMS our company uses and is currently getting ready to release
> open
> source makes building forms a bit more fun. It doesn't read the DB yet
> (future will) but it does create the tables, columns and has built in
> validation etc. You can even export a form and import it into another
> site.
> This is how we get say an article form from site A to site B with very
> little work :)
>
>  you can sign up to be an alpha tester at http://www.boomsocket.com
>
>  If you have more specific questions email me directly so we don't
> clutter this thread or the list :)
> 
>
> Yea i hate building forms, not so much any more.
>
> Eric Jones aka jonese
>
> On 9/24/07, Michael David <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I admit it; I hate developing forms!
> >
> > There's not one part of the process that I find even remotely
> > interesting, enlightening, or fulfilling.
> >
> > Forms suck.
> >
> > Now that I got that off of my chest, does anyone know of some
> > nifty-cool program/guy in a dark room halfway around the world/magic
> spell
> > that would help with most of the more mundane aspects of the process.
> >
> > Did I mention that I hate developing forms?!?!
> >
> > --
> > Cheers!
> >
> > Michael David
> >
> >
> >
> >
>
> 

~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289391
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4