JRun Servlet Error when submitting form input type = file

2009-01-13 Thread Jason Daniels
I have run into an issue with a file uploader that was working since October. I 
am using shared hosting on Go Daddy, and the problem has to do with my sole 
Linux account. I have stripped out all the code that doesn't work, and I am 
making this as simple as possible - I have no idea what is happening... please 
help!

Here's the code:
-









 



When you submit this, the following appears (exactly as typed with HTML coding 
visible):

JRun Servlet Error500 No such file or 
directory No such file or directory

This can be seen at this link: www.ubcbike.net/test.cfm

The really strange part is that the same code lives at: 
www.metraworks.com/test.cfm, and it works properly... the code is identical!

I talked to GoDaddy support, and they said that they could not help me because 
it is a scripting error. I think there is something wrong on their end... I was 
using the function a little over a week ago with no issue...

Sorry if I rambled. Thanks in advance for any help.

Humbly,

Jason Daniels
ja...@metraworks.com


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

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


Re: Recognizing the page target

2009-01-13 Thread Claude Schneegans
 >>You can definitely do it client side.

Clent side, I have no problem, I was trying to do it server side.
Thanks anyway.

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

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


Re: HIPAA compliance and server setup

2009-01-13 Thread Dave Watts
> Does anyone have any knowledge of HIPAA compliance related to web and
> database server setup? Specifically, if I have one database server and one
> web server, does the database server need to be completely removed from the
> internet or can the firewall filter out everything but what I need to
> communicate between the two servers anyhow, like the SQL Server Port?

To the best of my knowledge, a separate network for your database
server is not required for HIPAA compliance. HIPAA, like most
government-mandated security rules, is pretty general about
requirements, and doesn't go too much into implementation details. The
HIPAA requirement is basically "don't expose ePHI data to unauthorized
access", which means a lot of different things to a lot of different
people. I think this would probably end up being at the auditor's
discretion. A more significant issue would be, who within your
organization can access unencrypted ePHI data? Having encrypted data
within your database doesn't matter too much if your DBA or any
developer can decrypt it at will. So, once again, key management
becomes a problem.

That said, placing your database server on a separate network is a
very good idea if security is your biggest concern. Of course, this
may significantly increase the cost of doing business in many
respects, such as backup and standard management tasks.

As I'm not certified as a HIPAA compliance auditor, you should not
rely solely on my advice for direction, of course. You should probably
discuss this with your auditing firm. And you will need one; you
aren't compliant with anything until someone audits you.

> I would check out this link which should have the information that you are 
> looking for:
> https://www2.sans.org/reading_room/whitepapers/hipaa/hipaacompliant_configuration_guidelines_for_information_security_in_a_medical_center_environment_891

Actually, and somewhat surprisingly, it has absolutely no information
about database server security, and very little useful information at
all beyond the "manager briefing" level. I expect better from SANS.

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!

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

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


Re: HIPAA compliance and server setup

2009-01-13 Thread Judah McAuley
We set up our db server with two nics, one that only connects with the
app server and one that doesn't have any external routing but is only
reachable through a vpn for management. I consider that just good
practice regardless of the information you are storing. HIPAA
compliance is a nebulous beast but to my best knowledge the basic
setup I've described will satisfy it. Much bigger questions start to
come in though when you talk about user access to data, authentication
schemes, audit trails, etc.

Judah

On Tue, Jan 13, 2009 at 2:54 PM, Dan Crouch  wrote:
> Does anyone have any knowledge of HIPAA compliance related to web and 
> database server setup? Specifically, if I have one database server and one 
> web server, does the database server need to be completely removed from the 
> internet or can the firewall filter out everything but what I need to 
> communicate between the two servers anyhow, like the SQL Server Port?
>
> Just curious if anyone else has run into this situation with setting up a new 
> set of servers and how much separation on the network there needs to be 
> between the web and DB servers for HIPAA compliance. We do have private 
> health information but no financial (PCI) info.
>

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

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


Looking for the right CMS system

2009-01-13 Thread Ian Rutherford
We are considering launching a new site that will need the features below. We 
got a price quote on editing an existing CF CMS last year for 12k. This may 
still be the route we go but if there is a more economical option that will do 
what we want, I'm interested. I'm not set on CF as the platform.

This site will be a place for visitors to post historical memories with 
pictures. Multiple pictures per story will be allowed. 

People will be able to browse stories by location (church, city or state).

Stories should be shareable - print, email post to social networking site.

People should be able to make stories private and viewable only by specific

other visitors if desired.



Visitors should be able to leave comments about stories. Comments and

stories may be moderated.


Advertising banners and text ads should be a part of the site.


There should be a section of the site with informational article that should 
also be shareable and commented upon.


The home page of the site should feature the most recent and most commented

upon stories.

 
It would also be nice if the site had a Google map flagging the locations of

the stories.


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

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


Re: HIPAA compliance and server setup

2009-01-13 Thread Shannon Peevey
I would check out this link which should have the information that you are
looking for:
https://www2.sans.org/reading_room/whitepapers/hipaa/hipaacompliant_configuration_guidelines_for_information_security_in_a_medical_center_environment_891

speeves

On Tue, Jan 13, 2009 at 4:54 PM, Dan Crouch  wrote:

> Does anyone have any knowledge of HIPAA compliance related to web and
> database server setup? Specifically, if I have one database server and one
> web server, does the database server need to be completely removed from the
> internet or can the firewall filter out everything but what I need to
> communicate between the two servers anyhow, like the SQL Server Port?
>
> Just curious if anyone else has run into this situation with setting up a
> new set of servers and how much separation on the network there needs to be
> between the web and DB servers for HIPAA compliance. We do have private
> health information but no financial (PCI) info.
>
> Dan
>
> 

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

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


HIPAA compliance and server setup

2009-01-13 Thread Dan Crouch
Does anyone have any knowledge of HIPAA compliance related to web and database 
server setup? Specifically, if I have one database server and one web server, 
does the database server need to be completely removed from the internet or can 
the firewall filter out everything but what I need to communicate between the 
two servers anyhow, like the SQL Server Port? 

Just curious if anyone else has run into this situation with setting up a new 
set of servers and how much separation on the network there needs to be between 
the web and DB servers for HIPAA compliance. We do have private health 
information but no financial (PCI) info.

Dan 

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

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


Re: Recognizing the page target

2009-01-13 Thread Raymond Camden
You can definitely do it client side. I use it at
ColdFusionBloggers.org to look for #N (page N) in the URL. Just view
source on the page.

On Tue, Jan 13, 2009 at 2:46 PM, Claude Schneegans
 wrote:
>  >>I suppose I could probably get at it
> with the event object. I'm not sure where Claude wanted to go with it so I
> just did a broad overview.
>
> Actually, no. I just need to know if the page was called out of target,
> and put it back on the right track.
>
-- 
===
Raymond Camden, VP of Software Dev, Broadchoice

Email: r...@camdenfamily.com
Blog  : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

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

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


Re: Active Directory - Getting a users Accountname

2009-01-13 Thread Dave Watts
> If the site is set to allow anonymous access, the browser only ever sees 
> auth_user = "",
> isn't that true?  Is there some other parameter where the browser can 'see' 
> the users's
> Windows login info?

Well, if the site is set to allow anonymous access, I don't think the
server will see anything. I'm not sure what the browser "sees", but it
is running within that user's security context and, like any other
piece of software, has complete access to everything that user could
see within the OS.

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!

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

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


Re: Recognizing the page target

2009-01-13 Thread Claude Schneegans
 >>I suppose I could probably get at it
with the event object. I'm not sure where Claude wanted to go with it so I
just did a broad overview.

Actually, no. I just need to know if the page was called out of target, 
and put it back on the right track.

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

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


Evaluate a function on submitting a form

2009-01-13 Thread Damayanti Gupta
Hi,
I have a coldfusion form. On submitting it, I need to evaluate a function  
based on user input in the form. On the basis of this evaluation there should 
be a popup box. How would I do this?

The popup is handled by javascript.The javascript function is called from the 
onSubmit of the form like -

cfform
format="html" name="FormName" id="FormName" method="post" action="MyForm.cfm" 
enctype="multipart/form-data" onSubmit="return confirmValue()">
However, javascript cannot evaluate a value, because it is client code. How do 
I then do the evaluation when form is submitted?
Thanks
NG

STATEMENT OF CONFIDENTIALITY:
The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain confidential or privileged information. If you are not the intended 
recipient, or the person responsible for delivering the e-mail to the intended 
recipient, be advised you have received this message in error and that any use, 
dissemination, forwarding, printing, or copying is strictly prohibited. Please 
notify Archemix Corp. immediately at either (617) 621-7700 or by return fax at 
(617) 621-9300 and destroy all copies of this message and any attachments.


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

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


RE: Recognizing the page target

2009-01-13 Thread brad
Claude, do you have control over the code in the page containing the
link?
If so, all you need to do is just put something in the URL.

Click Here

~Brad

 Original Message 
Subject: Re: Recognizing the page target
From: Claude Schneegans 
Date: Tue, January 13, 2009 1:07 pm
To: cf-talk 

 >>Actually if it was called from a target then JavaScript can get the 
parent
page. Here's a quick example I threw together:

Thanks Andy.
I'd rather have the redirection made on the server, but I think JS is 
the only solution indeed.





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

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


Re: Active Directory - Getting a users Accountname

2009-01-13 Thread Jason Fisher
Dave,

If the site is set to allow anonymous access, the browser only ever sees 
auth_user = "", isn't that true?  Is there some other parameter where the 
browser can 'see' the users's Windows login info?



> > Aha, that you cannot do then.  The browser is sandboxed away from 
> the operating system,
> > so you would not have access to the workstation credentials without 
> something in between,
> > like an ActiveX component or something.
> 
> That's not correct. The browser can pass your Windows login
> credentials to the server. IE does this automatically, by default, 
> and
> Firefox can be configured to do this also. The browser doesn't
> actually pass your Windows password across the wire, though, just the
> hash that the OS gives it.
> 
> 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! 

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

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


RE: Recognizing the page target

2009-01-13 Thread Andy Matthews
I'm not specifically attempting to. I suppose I could probably get at it
with the event object. I'm not sure where Claude wanted to go with it so I
just did a broad overview.


andy 

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, January 13, 2009 1:12 PM
To: cf-talk
Subject: Re: Recognizing the page target

> > > Suppose I have a page like myPage.cfm Is it possible in this page 
> > > to detect if it was called from a link having a TARGET="..." 
> > > attribute?
> >
> > No, there's no information in the CGI scope to expose that sort of 
> > information. I don't think there's even anything available in 
> > JavaScript to tell you that, for what that's worth.
>
> Actually if it was called from a target then JavaScript can get the 
> parent page. Here's a quick example I threw together:
>
> http://commadelimited.com/code/js-parent/parent.html

That code sample does not appear to identify the value of the TARGET
attribute in the original link.

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!



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

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


Re: Recognizing the page target

2009-01-13 Thread Dave Watts
> > > Suppose I have a page like myPage.cfm
> > > Is it possible in this page to detect if it was called from a link
> > > having a TARGET="..." attribute?
> >
> > No, there's no information in the CGI scope to expose that sort of
> > information. I don't think there's even anything available in JavaScript to
> > tell you that, for what that's worth.
>
> Actually if it was called from a target then JavaScript can get the parent
> page. Here's a quick example I threw together:
>
> http://commadelimited.com/code/js-parent/parent.html

That code sample does not appear to identify the value of the TARGET
attribute in the original link.

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!

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

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


RE: Recognizing the page target

2009-01-13 Thread Andy Matthews
As an update, notice the display whne you reference child.html directly:

http://commadelimited.com/code/js-parent/child.html 

-Original Message-
From: Claude Schneegans [mailto:schneeg...@internetique.com] 
Sent: Tuesday, January 13, 2009 1:07 PM
To: cf-talk
Subject: Re: Recognizing the page target

 >>Actually if it was called from a target then JavaScript can get the
parent page. Here's a quick example I threw together:

Thanks Andy.
I'd rather have the redirection made on the server, but I think JS is the
only solution indeed.



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

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


Re: Recognizing the page target

2009-01-13 Thread Claude Schneegans
 >>Actually if it was called from a target then JavaScript can get the 
parent
page. Here's a quick example I threw together:

Thanks Andy.
I'd rather have the redirection made on the server, but I think JS is 
the only solution indeed.

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

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


RE: Recognizing the page target

2009-01-13 Thread Andy Matthews
Actually if it was called from a target then JavaScript can get the parent
page. Here's a quick example I threw together:

http://commadelimited.com/code/js-parent/parent.html


andy

-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com] 
Sent: Tuesday, January 13, 2009 12:47 PM
To: cf-talk
Subject: Re: Recognizing the page target

> Suppose I have a page like myPage.cfm
> Is it possible in this page to detect if it was called from a link 
> having a TARGET="..." attribute?

No, there's no information in the CGI scope to expose that sort of
information. I don't think there's even anything available in JavaScript to
tell you that, for what that's worth.

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!



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

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


Re: Updated Adobe Article

2009-01-13 Thread Cutter (CFRelated)
http://blog.cutterscrossing.com/index.cfm/2007/7/23/Local-Development-Setup-Pt-1-Apache-and-ColdFusion-7-or-8

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of "Learning Ext JS"
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


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

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


Re: Recognizing the page target

2009-01-13 Thread Dave Watts
> Suppose I have a page like myPage.cfm
> Is it possible in this page to detect if it was called from a link
> having a TARGET="..." attribute?

No, there's no information in the CGI scope to expose that sort of
information. I don't think there's even anything available in
JavaScript to tell you that, for what that's worth.

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!

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

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


Recognizing the page target

2009-01-13 Thread Claude Schneegans
HI,

Suppose I have a page like myPage.cfm
Is it possible in this page to detect if it was called from a link 
having a TARGET="..." attribute?

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317893
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 upgrade question

2009-01-13 Thread Mark Atkinson
Many thanks to both of you.
Mark

>> You could probably install CF8 from the full developer edition
>> installer available at Adobe, then enter your license keys? Not sure
>> if it will require/accept the multiple license keys you'd have though
>> -- your CF7 key, and the CF8 upgrade key. Probably someone here has
>> direct experience with this.
>> 
>
> I just did this yesterday.  Yes you can do a clean install with an 
> upgrade license number.  When you enter the CF8 license number during 
> install, it will recognize it as an upgrade license and immediately ask 
> you for your previous version's license number.  Just enter the older 
> license and you are off and installing a fully licensed, latest version 
> of ColdFusion server.
>   


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

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


RE: RegExp - how to escape a zero

2009-01-13 Thread Paolo Piponi
Thanks Wil and Adrian: Looks like there are many different hacks to suit 
different purposes. I have simply used a temporary escape character that I 
convert back with an extra line. It would indeed appear that CF regexp just 
falls short.

-Original Message-
From: Wil Genovese [mailto:jugg...@visi.com]
Sent: 13 January 2009 17:53
To: cf-talk
Subject: Re: RegExp - how to escape a zero

Here is a hack work around using REFind to return a struct of arrays
containing the match locations then doing string manipulation to replace the
parts you want to replace.  The downside is it will only work on the first
occurrence of the match in the string.  I can not find any other way to make
the regex substituion work without inserting a comma.  Which in the end may
be acceptable in your case.  Welcome to the world of CF flavored RegEx.







#newstring#"


Wil Genovese




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

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


Re: Active Directory - Getting a users Accountname

2009-01-13 Thread Dave Watts
> Aha, that you cannot do then.  The browser is sandboxed away from the 
> operating system,
> so you would not have access to the workstation credentials without something 
> in between,
> like an ActiveX component or something.

That's not correct. The browser can pass your Windows login
credentials to the server. IE does this automatically, by default, and
Firefox can be configured to do this also. The browser doesn't
actually pass your Windows password across the wire, though, just the
hash that the OS gives it.

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!

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

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


Re: Updated Adobe Article

2009-01-13 Thread Ian Skinner
Gerald Guido wrote:
> I never messed with it on Solaris but I have done something similar on
> Centos using Apache and TomCat using modJK. I used the J2EE type set up
> though. I have the conf files somewhere if you are interested.
>
> G!

Thanks we have cobbled our way through the set up.  I'm just looking for 
supporting documentation to include in my wrap up for future generations 
of servers as they come on-line and are configured.



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

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


Re: Updated Adobe Article

2009-01-13 Thread Gerald Guido
I never messed with it on Solaris but I have done something similar on
Centos using Apache and TomCat using modJK. I used the J2EE type set up
though. I have the conf files somewhere if you are interested.

G!

On Tue, Jan 13, 2009 at 12:39 PM, Ian Skinner  wrote:

> Gerald Guido wrote:
> > Just a quick link. Not sure if this is what you are looking for but it
> might
> > be.
> >
> > http://www.acidlabs.org/library/The_ACME_Guide_3rd_Edition.pdf
> >
> >
> > HTH
> >
> > G!
>
> Thanks, I saved that file for just in case.  But it seems to be focused
> on Windows XP and OS X.  I'm looking for more traditional Unix focused
> information, Solaris specifically.
>
> 

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

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


Slow CF8 Startup Times

2009-01-13 Thread Mark Richards
Hey all,

I recently stood up CF8 on Linux entirely from scratch and am seeing some 
extremely slow start-up times.  It can take anywhere from 75 seconds to 115 
seconds for all the services to fully boot up.  It seems to take an 
extraordinary amount of time (40+ seconds) to complete 2 of the processes: 
"Starting sql..." and "user MessageBrokerServlet: init".  From my brief tests, 
it appears that CF is working fine though.  Here are the system specs:

ColdFusion 8.01 (64-bit, multi-server)
Red Hat Linux AS 5.0 (running in a VM)
Apache 2.2.9
JDK 1.5.0_16 (we tried JDK 1.6.0_11 too)

I've tried changing the JVM the one that ships with CF8 up to 1.6 and down to 
1.5 seeing as there are some known issues with 1.6 in a 64-bit environment 
(although not with the version we tried).  Additionally, I've removed all the 
references to MessageBrokerServlet from web.xml thus preventing that service 
from even attempting to start.  That works fine and reduces the start time 
dramatically, but I don't think I should have to do that to get this thing to 
work.  I've confirmed that all the software we're using is 64-bit as well.  
I've also looked in all the logs and have yet to find any errors.

My questions:
1. What is the line "Starting sql..." actually trying to do/what's it used for? 
I figure if I know that it'll allow me to debug better.
2. Anybody have any ideas how to fix this or figure out the hang up?
3. Could this be port related and how would I determine if it is?

Any help would be greatly appreciated.  Thanks.

Mark Richards


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

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


Re: Javascript compatibility question

2009-01-13 Thread Charlie Griefer
hmm... true.  good point.  is there any chance you can post the full
rendered html to nomorepasting.com so i can take it for a spin locally?

On Tue, Jan 13, 2009 at 9:51 AM, Scott Stewart wrote:

> I don't think so, this works in FF, you'd think it would balk at that..
> but I'll check again.
>
> Charlie Griefer wrote:
> > do you have multiple elements on the page with the same ID?
> >
> > On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart  >wrote:
> >
> >
> >> tried that, and no love...
> >>
> >> Charlie Griefer wrote:
> >>
> >>> I think what Adrian's getting at is your reference to the elements
> should
> >>>
> >> be
> >>
> >>> document.getElementById('foo'), not
> document.form1.getElementById('foo').
> >>> can you give that a shot?
> >>>
> >
> >
>
> --
> Scott Stewart
> ColdFusion Developer
>
> Office of Research Information Systems
> Research & Economic Development
> University of North Carolina at Chapel Hill
>
> Phone:(919)843-2408
> Fax: (919)962-3600
> Email: saste...@email.unc.edu
>
>
>
> 

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

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


Re: Javascript compatibility question

2009-01-13 Thread Gerald Guido
Paste the whole page/code in question on pastebin so we can see the whole
thing
http://pastebin.com/

On Tue, Jan 13, 2009 at 12:51 PM, Scott Stewart wrote:

> I don't think so, this works in FF, you'd think it would balk at that..
> but I'll check again.
>
> Charlie Griefer wrote:
> > do you have multiple elements on the page with the same ID?
> >
> > On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart  >wrote:
> >
> >
> >> tried that, and no love...
> >>
> >> Charlie Griefer wrote:
> >>
> >>> I think what Adrian's getting at is your reference to the elements
> should
> >>>
> >> be
> >>
> >>> document.getElementById('foo'), not
> document.form1.getElementById('foo').
> >>> can you give that a shot?
> >>>
> >
> >
>
> --
> Scott Stewart
> ColdFusion Developer
>
> Office of Research Information Systems
> Research & Economic Development
> University of North Carolina at Chapel Hill
>
> Phone:(919)843-2408
> Fax: (919)962-3600
> Email: saste...@email.unc.edu
>
>
>
> 

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

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


Re: RegExp - how to escape a zero

2009-01-13 Thread Wil Genovese
Here is a hack work around using REFind to return a struct of arrays
containing the match locations then doing string manipulation to replace the
parts you want to replace.  The downside is it will only work on the first
occurrence of the match in the string.  I can not find any other way to make
the regex substituion work without inserting a comma.  Which in the end may
be acceptable in your case.  Welcome to the world of CF flavored RegEx.







#newstring#"


Wil Genovese


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

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


RE: Javascript compatibility question

2009-01-13 Thread Milburn, Steve
Right.  The only time that getElementById() failed for me was when I 
accidentally had 2 elements with the same id.  Make sure you do not have that 
problem.

Also, have you tried document.form1.pre_absent.disabled=true ?  

Steve


From: Charlie Griefer [charlie.grie...@gmail.com]
Sent: Tuesday, January 13, 2009 12:48 PM
To: cf-talk
Subject: Re: Javascript compatibility question

do you have multiple elements on the page with the same ID?

On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote:

> tried that, and no love...
>
> Charlie Griefer wrote:
> > I think what Adrian's getting at is your reference to the elements should
> be
> > document.getElementById('foo'), not document.form1.getElementById('foo').
> > can you give that a shot?
>

--
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.




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

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


Re: Javascript compatibility question

2009-01-13 Thread Scott Stewart
I don't think so, this works in FF, you'd think it would balk at that.. 
but I'll check again.

Charlie Griefer wrote:
> do you have multiple elements on the page with the same ID?
>
> On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote:
>
>   
>> tried that, and no love...
>>
>> Charlie Griefer wrote:
>> 
>>> I think what Adrian's getting at is your reference to the elements should
>>>   
>> be
>> 
>>> document.getElementById('foo'), not document.form1.getElementById('foo').
>>> can you give that a shot?
>>>   
>
>   

-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research & Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: saste...@email.unc.edu



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

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


Re: Javascript compatibility question

2009-01-13 Thread Charlie Griefer
do you have multiple elements on the page with the same ID?

On Tue, Jan 13, 2009 at 9:17 AM, Scott Stewart wrote:

> tried that, and no love...
>
> Charlie Griefer wrote:
> > I think what Adrian's getting at is your reference to the elements should
> be
> > document.getElementById('foo'), not document.form1.getElementById('foo').
> > can you give that a shot?
>

-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.


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

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


Re: Active Directory - Getting a users Accountname

2009-01-13 Thread Jason Fisher
Aha, that you cannot do then.  The browser is sandboxed away from the operating 
system, so you would not have access to the workstation credentials without 
something in between, like an ActiveX component or something. 

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

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


Re: Updated Adobe Article

2009-01-13 Thread Ian Skinner
Gerald Guido wrote:
> Just a quick link. Not sure if this is what you are looking for but it might
> be.
>
> http://www.acidlabs.org/library/The_ACME_Guide_3rd_Edition.pdf
>
>
> HTH
>
> G!

Thanks, I saved that file for just in case.  But it seems to be focused 
on Windows XP and OS X.  I'm looking for more traditional Unix focused 
information, Solaris specifically.

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317879
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 upgrade question

2009-01-13 Thread Ian Skinner
Kris Jones wrote:
> You could probably install CF8 from the full developer edition
> installer available at Adobe, then enter your license keys? Not sure
> if it will require/accept the multiple license keys you'd have though
> -- your CF7 key, and the CF8 upgrade key. Probably someone here has
> direct experience with this.

I just did this yesterday.  Yes you can do a clean install with an 
upgrade license number.  When you enter the CF8 license number during 
install, it will recognize it as an upgrade license and immediately ask 
you for your previous version's license number.  Just enter the older 
license and you are off and installing a fully licensed, latest version 
of ColdFusion server.



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

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


RE: Javascript compatibility question

2009-01-13 Thread Adrian Lynch
Yeah, what Charlie said :OD

> -Original Message-
> From: Charlie Griefer [mailto:charlie.grie...@gmail.com]
> Sent: 13 January 2009 17:11
> To: cf-talk
> Subject: Re: Javascript compatibility question
> 
> I think what Adrian's getting at is your reference to the elements
> should be
> document.getElementById('foo'), not
> document.form1.getElementById('foo').
> can you give that a shot?
> 
> On Tue, Jan 13, 2009 at 8:50 AM, Scott Stewart
> wrote:
> 
> > getElementById() is a javascript function that finds a specified
> element
> > on a page it can be a form or page element.
> > in this case I'm trying to disable/enable radio buttons.
> >
> > Adrian Lynch wrote:
> > > Is getElementById a method of a form?
> > >
> > > Shouldn't it just be document.getElementById()?
> > >
> > > Adrian


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

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


Re: Javascript compatibility question

2009-01-13 Thread Scott Stewart
tried that, and no love...

Charlie Griefer wrote:
> I think what Adrian's getting at is your reference to the elements should be
> document.getElementById('foo'), not document.form1.getElementById('foo').
> can you give that a shot?
>
> On Tue, Jan 13, 2009 at 8:50 AM, Scott Stewart wrote:
>
>   
>> getElementById() is a javascript function that finds a specified element
>> on a page it can be a form or page element.
>> in this case I'm trying to disable/enable radio buttons.
>>
>> Adrian Lynch wrote:
>> 
>>> Is getElementById a method of a form?
>>>
>>> Shouldn't it just be document.getElementById()?
>>>
>>> Adrian
>>>
>>>
>>>   
 -Original Message-
 From: Scott Stewart [mailto:saste...@email.unc.edu]
 Sent: 13 January 2009 16:30
 To: cf-talk
 Subject: Javascript compatibility question

 Hey all,

 I'm trying to disable radio button based on a selection. These
 functions
 are called from an onClick.
 Any reason why they'd work in Firefox and not in IE 7?



 
 function disableOnPaidLeave(){
 document.form1.getElementById("pre_absent").disabled=true;

 document.form1.getElementById("alternative_week_id").disabled=true;

 document.form1.getElementById("pre_pretransplant").disabled=true;

 document.form1.getElementById("pre_pediatric_clinic").disabled=true;

 document.form1.getElementById("pre_absent_n").disabled=true;

 document.form1.getElementById("pre_pretransplant_n").disabled=true;

 document.form1.getElementById("pre_pediatric_clinic_n").disabled=true;
 }

 function enableOnPaidLeave(){
 document.form1.getElementById("pre_absent").disabled=false;

 document.form1.getElementById("alternative_week_id").disabled=false;

 document.form1.getElementById("pre_pretransplant").disabled=false;

 document.form1.getElementById("pre_pediatric_clinic").disabled=false;

 document.form1.getElementById("pre_absent_n").disabled=false;

 document.form1.getElementById("pre_pretransplant_n").disabled=false;

 document.form1.getElementById("pre_pediatric_clinic_n").disabled=false;
 }
 

 --
 Scott Stewart
 ColdFusion Developer

 
>>>
>>>   
>> 
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317876
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 upgrade question

2009-01-13 Thread Kris Jones
As for your datasource connections, take an archive in CFAdministrator
prior to uninstalling CF7. You can then reimport this after CF8 is
installed.

You could probably install CF8 from the full developer edition
installer available at Adobe, then enter your license keys? Not sure
if it will require/accept the multiple license keys you'd have though
-- your CF7 key, and the CF8 upgrade key. Probably someone here has
direct experience with this.

> Having trouble getting to houseoffusion.com to look at specific
> archives, so have quick and specific question if I could trouble y'all:
>
> Purchased upgrade from ColdFusion 7 to 8, Standard Edition - XP Pro &
> IIS web server. Is it possible/advisable to uninstall 7 and then do
> clean, full install of 8 from upgrade disk? Understand that datasource
> connections, etc., will need to be re-done.

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

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


Re: Updated Adobe Article

2009-01-13 Thread Gerald Guido
Just a quick link. Not sure if this is what you are looking for but it might
be.

http://www.acidlabs.org/library/The_ACME_Guide_3rd_Edition.pdf


HTH

G!

On Tue, Jan 13, 2009 at 11:53 AM, Ian Skinner  wrote:

>Installing and Configuring ColdFusion MX 6.1 Multiple Instances with
>IIS and Apache Virtual Hosts
>
> http://www.adobe.com/devnet/coldfusion/articles/multi_instances_print.html
>
> Does anybody know if there is an update to this article for post
> ColdFusion 7 versions where we no longer need to mess with the JRun4
> Console for multi-home flavors of ColdFusion?
>
>
> 

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

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


Re: Javascript compatibility question

2009-01-13 Thread Charlie Griefer
I think what Adrian's getting at is your reference to the elements should be
document.getElementById('foo'), not document.form1.getElementById('foo').
can you give that a shot?

On Tue, Jan 13, 2009 at 8:50 AM, Scott Stewart wrote:

> getElementById() is a javascript function that finds a specified element
> on a page it can be a form or page element.
> in this case I'm trying to disable/enable radio buttons.
>
> Adrian Lynch wrote:
> > Is getElementById a method of a form?
> >
> > Shouldn't it just be document.getElementById()?
> >
> > Adrian
> >
> >
> >> -Original Message-
> >> From: Scott Stewart [mailto:saste...@email.unc.edu]
> >> Sent: 13 January 2009 16:30
> >> To: cf-talk
> >> Subject: Javascript compatibility question
> >>
> >> Hey all,
> >>
> >> I'm trying to disable radio button based on a selection. These
> >> functions
> >> are called from an onClick.
> >> Any reason why they'd work in Firefox and not in IE 7?
> >>
> >>
> >>
> >> 
> >> function disableOnPaidLeave(){
> >> document.form1.getElementById("pre_absent").disabled=true;
> >>
> >> document.form1.getElementById("alternative_week_id").disabled=true;
> >>
> >> document.form1.getElementById("pre_pretransplant").disabled=true;
> >>
> >> document.form1.getElementById("pre_pediatric_clinic").disabled=true;
> >>
> >> document.form1.getElementById("pre_absent_n").disabled=true;
> >>
> >> document.form1.getElementById("pre_pretransplant_n").disabled=true;
> >>
> >> document.form1.getElementById("pre_pediatric_clinic_n").disabled=true;
> >> }
> >>
> >> function enableOnPaidLeave(){
> >> document.form1.getElementById("pre_absent").disabled=false;
> >>
> >> document.form1.getElementById("alternative_week_id").disabled=false;
> >>
> >> document.form1.getElementById("pre_pretransplant").disabled=false;
> >>
> >> document.form1.getElementById("pre_pediatric_clinic").disabled=false;
> >>
> >> document.form1.getElementById("pre_absent_n").disabled=false;
> >>
> >> document.form1.getElementById("pre_pretransplant_n").disabled=false;
> >>
> >> document.form1.getElementById("pre_pediatric_clinic_n").disabled=false;
> >> }
> >> 
> >>
> >> --
> >> Scott Stewart
> >> ColdFusion Developer
> >>
> >
> >
> >
>
> 

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

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


CF upgrade question

2009-01-13 Thread Mark Atkinson
Hi folks,

Having trouble getting to houseoffusion.com to look at specific 
archives, so have quick and specific question if I could trouble y'all:

Purchased upgrade from ColdFusion 7 to 8, Standard Edition - XP Pro & 
IIS web server. Is it possible/advisable to uninstall 7 and then do 
clean, full install of 8 from upgrade disk? Understand that datasource 
connections, etc., will need to be re-done.

Thanks,
Mark

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

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


Re: Javascript compatibility question

2009-01-13 Thread Claude Schneegans
 >>getElementById() is a javascript function that finds a specified element
on a page it can be a form or page element.

At least in IE, this methods applies only to the document object.
see:
http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-40002357

I'm surprised it works for FF, they're supposed to be more standard than 
the standard.

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

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


Re: Javascript compatibility question

2009-01-13 Thread Scott Stewart
I've had problems using jquery with multiple nested tables in IE, and 
don't have time to delve into a JQuery solution
unfortunately..

Adrian Lynch wrote:
> Yup, I know, but is there a method form.getElementByID()? I've only ever
> used it in document.
>
> Fancy trying jQuery instead?
>
> Adrian
>
>   
>> -Original Message-
>> From: Scott Stewart [mailto:saste...@email.unc.edu]
>> Sent: 13 January 2009 16:51
>> To: cf-talk
>> Subject: Re: Javascript compatibility question
>>
>> getElementById() is a javascript function that finds a specified
>> element
>> on a page it can be a form or page element.
>> in this case I'm trying to disable/enable radio buttons.
>>
>> Adrian Lynch wrote:
>> 
>>> Is getElementById a method of a form?
>>>
>>> Shouldn't it just be document.getElementById()?
>>>
>>> Adrian
>>>   
>
>
> 

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

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


RE: Javascript compatibility question

2009-01-13 Thread Adrian Lynch
Yup, I know, but is there a method form.getElementByID()? I've only ever
used it in document.

Fancy trying jQuery instead?

Adrian

> -Original Message-
> From: Scott Stewart [mailto:saste...@email.unc.edu]
> Sent: 13 January 2009 16:51
> To: cf-talk
> Subject: Re: Javascript compatibility question
> 
> getElementById() is a javascript function that finds a specified
> element
> on a page it can be a form or page element.
> in this case I'm trying to disable/enable radio buttons.
> 
> Adrian Lynch wrote:
> > Is getElementById a method of a form?
> >
> > Shouldn't it just be document.getElementById()?
> >
> > Adrian


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

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


Updated Adobe Article

2009-01-13 Thread Ian Skinner
Installing and Configuring ColdFusion MX 6.1 Multiple Instances with
IIS and Apache Virtual Hosts

http://www.adobe.com/devnet/coldfusion/articles/multi_instances_print.html

Does anybody know if there is an update to this article for post 
ColdFusion 7 versions where we no longer need to mess with the JRun4 
Console for multi-home flavors of ColdFusion?


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

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


Re: Javascript compatibility question

2009-01-13 Thread Scott Stewart
getElementById() is a javascript function that finds a specified element 
on a page it can be a form or page element.
in this case I'm trying to disable/enable radio buttons.

Adrian Lynch wrote:
> Is getElementById a method of a form?
>
> Shouldn't it just be document.getElementById()?
>
> Adrian
>
>   
>> -Original Message-
>> From: Scott Stewart [mailto:saste...@email.unc.edu]
>> Sent: 13 January 2009 16:30
>> To: cf-talk
>> Subject: Javascript compatibility question
>>
>> Hey all,
>>
>> I'm trying to disable radio button based on a selection. These
>> functions
>> are called from an onClick.
>> Any reason why they'd work in Firefox and not in IE 7?
>>
>>
>>
>> 
>> function disableOnPaidLeave(){
>> document.form1.getElementById("pre_absent").disabled=true;
>>
>> document.form1.getElementById("alternative_week_id").disabled=true;
>>
>> document.form1.getElementById("pre_pretransplant").disabled=true;
>>
>> document.form1.getElementById("pre_pediatric_clinic").disabled=true;
>>
>> document.form1.getElementById("pre_absent_n").disabled=true;
>>
>> document.form1.getElementById("pre_pretransplant_n").disabled=true;
>>
>> document.form1.getElementById("pre_pediatric_clinic_n").disabled=true;
>> }
>>
>> function enableOnPaidLeave(){
>> document.form1.getElementById("pre_absent").disabled=false;
>>
>> document.form1.getElementById("alternative_week_id").disabled=false;
>>
>> document.form1.getElementById("pre_pretransplant").disabled=false;
>>
>> document.form1.getElementById("pre_pediatric_clinic").disabled=false;
>>
>> document.form1.getElementById("pre_absent_n").disabled=false;
>>
>> document.form1.getElementById("pre_pretransplant_n").disabled=false;
>>
>> document.form1.getElementById("pre_pediatric_clinic_n").disabled=false;
>> }
>> 
>>
>> --
>> Scott Stewart
>> ColdFusion Developer
>> 
>
>
> 

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

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


RE: Javascript compatibility question

2009-01-13 Thread Milburn, Steve
Try the syntax of one of the following examples:

document.form1.pre_absent.disabled = true;
document.getElementById("pre_absent").disabled = true;

HTH
Steve


From: Scott Stewart [saste...@email.unc.edu]
Sent: Tuesday, January 13, 2009 11:29 AM
To: cf-talk
Subject: Javascript compatibility question

Hey all,

I'm trying to disable radio button based on a selection. These functions
are called from an onClick.
Any reason why they'd work in Firefox and not in IE 7?




function disableOnPaidLeave(){
document.form1.getElementById("pre_absent").disabled=true;
document.form1.getElementById("alternative_week_id").disabled=true;
document.form1.getElementById("pre_pretransplant").disabled=true;
document.form1.getElementById("pre_pediatric_clinic").disabled=true;

document.form1.getElementById("pre_absent_n").disabled=true;
document.form1.getElementById("pre_pretransplant_n").disabled=true;

document.form1.getElementById("pre_pediatric_clinic_n").disabled=true;
}

function enableOnPaidLeave(){
document.form1.getElementById("pre_absent").disabled=false;
document.form1.getElementById("alternative_week_id").disabled=false;
document.form1.getElementById("pre_pretransplant").disabled=false;

document.form1.getElementById("pre_pediatric_clinic").disabled=false;

document.form1.getElementById("pre_absent_n").disabled=false;
document.form1.getElementById("pre_pretransplant_n").disabled=false;

document.form1.getElementById("pre_pediatric_clinic_n").disabled=false;
}


--
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research & Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: saste...@email.unc.edu





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

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


RE: Javascript compatibility question

2009-01-13 Thread Adrian Lynch
Is getElementById a method of a form?

Shouldn't it just be document.getElementById()?

Adrian

> -Original Message-
> From: Scott Stewart [mailto:saste...@email.unc.edu]
> Sent: 13 January 2009 16:30
> To: cf-talk
> Subject: Javascript compatibility question
> 
> Hey all,
> 
> I'm trying to disable radio button based on a selection. These
> functions
> are called from an onClick.
> Any reason why they'd work in Firefox and not in IE 7?
> 
> 
> 
> 
> function disableOnPaidLeave(){
> document.form1.getElementById("pre_absent").disabled=true;
> 
> document.form1.getElementById("alternative_week_id").disabled=true;
> 
> document.form1.getElementById("pre_pretransplant").disabled=true;
> 
> document.form1.getElementById("pre_pediatric_clinic").disabled=true;
> 
> document.form1.getElementById("pre_absent_n").disabled=true;
> 
> document.form1.getElementById("pre_pretransplant_n").disabled=true;
> 
> document.form1.getElementById("pre_pediatric_clinic_n").disabled=true;
> }
> 
> function enableOnPaidLeave(){
> document.form1.getElementById("pre_absent").disabled=false;
> 
> document.form1.getElementById("alternative_week_id").disabled=false;
> 
> document.form1.getElementById("pre_pretransplant").disabled=false;
> 
> document.form1.getElementById("pre_pediatric_clinic").disabled=false;
> 
> document.form1.getElementById("pre_absent_n").disabled=false;
> 
> document.form1.getElementById("pre_pretransplant_n").disabled=false;
> 
> document.form1.getElementById("pre_pediatric_clinic_n").disabled=false;
> }
> 
> 
> --
> Scott Stewart
> ColdFusion Developer


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

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


cfexchangeCalendar modify bug?

2009-01-13 Thread Jeff Martin
cfexchangeCalendar action="modify" is not performing as expected for individual 
occurrences of recurring calendar items.

I have a test recurring event that I created with Outlook.  When I query the 
Exchange server with cfexchangeCalendar, it seems that the 3 occurrences of the 
recurring event that are listed all have the same UID.

When I use cfexchangeCalendar action="modify" to change the start Time from 
1/27/09 10:00am to 1/27/09 11:00am instead of modifying the existing 
occurrence, a new event is created with ISRECURRING="Yes".  The event that is 
shown in Outlook remains unchanged. 

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

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


Javascript compatibility question

2009-01-13 Thread Scott Stewart
Hey all,

I'm trying to disable radio button based on a selection. These functions 
are called from an onClick.
Any reason why they'd work in Firefox and not in IE 7?




function disableOnPaidLeave(){
document.form1.getElementById("pre_absent").disabled=true;
document.form1.getElementById("alternative_week_id").disabled=true;
document.form1.getElementById("pre_pretransplant").disabled=true;
document.form1.getElementById("pre_pediatric_clinic").disabled=true;
   
document.form1.getElementById("pre_absent_n").disabled=true;
document.form1.getElementById("pre_pretransplant_n").disabled=true;

document.form1.getElementById("pre_pediatric_clinic_n").disabled=true;
}
   
function enableOnPaidLeave(){
document.form1.getElementById("pre_absent").disabled=false;
document.form1.getElementById("alternative_week_id").disabled=false;
document.form1.getElementById("pre_pretransplant").disabled=false;

document.form1.getElementById("pre_pediatric_clinic").disabled=false;
   
document.form1.getElementById("pre_absent_n").disabled=false;
document.form1.getElementById("pre_pretransplant_n").disabled=false;

document.form1.getElementById("pre_pediatric_clinic_n").disabled=false;
}


-- 
Scott Stewart
ColdFusion Developer

Office of Research Information Systems
Research & Economic Development
University of North Carolina at Chapel Hill

Phone:(919)843-2408
Fax: (919)962-3600
Email: saste...@email.unc.edu



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

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


RE: Active Directory - Getting a users Accountname

2009-01-13 Thread Dawson, Michael
In IIS, Web Site Properties > Directory Security > Authentication and
access controls.

Uncheck "Enable anonymous access"

Check "Integrated Windows authentication"

mike 

-Original Message-
From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] 
Sent: Tuesday, January 13, 2009 10:05 AM
To: cf-talk
Subject: RE: Active Directory - Getting a users Accountname

No user prompt appears, and I don't want it to.  I want it to pick up
the users windows login id automatically from when they logged into the
windows domain.

Can this be done, so for example it would dump a auth_user variable of
"user544"



-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: 13 January 2009 12:11
To: cf-talk
Subject: Re: Active Directory - Getting a users Accountname

Sounds like the authentication on the website may still allow Anonymous
Authentication then.  In IE at least, the auth_user only gets set when
the user is prompted to login to access the site, and that only happens
when the site disallows open access.  Are you getting a popup prompt for
username and password when you first try to access the site pages? 





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

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


RE: Active Directory - Getting a users Accountname

2009-01-13 Thread Ian Vaughan
No user prompt appears, and I don't want it to.  I want it to pick up
the users windows login id automatically from when they logged into the
windows domain.

Can this be done, so for example it would dump a auth_user variable of
"user544"



-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com] 
Sent: 13 January 2009 12:11
To: cf-talk
Subject: Re: Active Directory - Getting a users Accountname

Sounds like the authentication on the website may still allow Anonymous
Authentication then.  In IE at least, the auth_user only gets set when
the user is prompted to login to access the site, and that only happens
when the site disallows open access.  Are you getting a popup prompt for
username and password when you first try to access the site pages? 



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

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


RE: RegExp - how to escape a zero

2009-01-13 Thread Adrian Lynch
Here it is...

http://www.houseoffusion.com/groups/regex/thread.cfm/threadid:211#1128

> -Original Message-
> From: Paolo Piponi [mailto:pa...@epoq.co.uk]
> Sent: 13 January 2009 15:40
> To: cf-talk
> Subject: RegExp - how to escape a zero
> 
> Never had this before and while there is a simple hack that gets round
> it I wonder if someone knows the correct solution.
> 
> I have this regexp "([A-D])([A-D])" because I want to find two of these
> chars and insert a 0 between.
> 
> My replacement string is "\10\2", which is \1 + 0 + \2. However,
> because a zero sits between it becomes "\10" which doesn't exist.
> 
> How can I insert a "0" without it being read as part of the previous
> "1".
> 
> (Note that using #chr(48)# doesn't work)
> 
> Any CF regexp experts have an idea?
> 
> --
> Paolo


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

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


RE: RegExp - how to escape a zero

2009-01-13 Thread Adrian Lynch
I had the same problem a while ago. Can't remember what I did to fix it. I
think I posted to RegEx or CF-Talk. Will have a look-see...

Adrian

> -Original Message-
> From: Paolo Piponi [mailto:pa...@epoq.co.uk]
> Sent: 13 January 2009 15:40
> To: cf-talk
> Subject: RegExp - how to escape a zero
> 
> Never had this before and while there is a simple hack that gets round
> it I wonder if someone knows the correct solution.
> 
> I have this regexp "([A-D])([A-D])" because I want to find two of these
> chars and insert a 0 between.
> 
> My replacement string is "\10\2", which is \1 + 0 + \2. However,
> because a zero sits between it becomes "\10" which doesn't exist.
> 
> How can I insert a "0" without it being read as part of the previous
> "1".
> 
> (Note that using #chr(48)# doesn't work)
> 
> Any CF regexp experts have an idea?
> 
> --
> Paolo


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

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


RegExp - how to escape a zero

2009-01-13 Thread Paolo Piponi
Never had this before and while there is a simple hack that gets round it I 
wonder if someone knows the correct solution.

I have this regexp "([A-D])([A-D])" because I want to find two of these chars 
and insert a 0 between.

My replacement string is "\10\2", which is \1 + 0 + \2. However, because a zero 
sits between it becomes "\10" which doesn't exist.

How can I insert a "0" without it being read as part of the previous "1".

(Note that using #chr(48)# doesn't work)

Any CF regexp experts have an idea?

--
Paolo

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

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


RE: cftoken lost between servers

2009-01-13 Thread Paolo Piponi
Ryan, thanks for the suggestion. As it turns out we had some code deliberately 
clearing out and timing out the cookie immediately (to force a session to die 
on browser close). I've disabled this code for now and that's fixed the problem.

However, took two days to set up a safe test app and run through tests on our 
production servers that allowed me to step through the code. :-(

-Original Message-
From: Ryan Stille [mailto:r...@cfwebtools.com]
Sent: 08 January 2009 15:07
To: cf-talk
Subject: Re: cftoken lost between servers

You might need to turn off setClientCookies and set them manually with
cfcookie tags.  I've had a similar issue before where when you jump to
another server while passing in your own cfid and cftoken, it works for
the first request but then the new server hands back NEW cfid/cftoken
values and your old session is lost.

-Ryan

Paolo Piponi wrote:
> It's been about 4 years since I've been on one of these lists, so here goes:
>
> We've been using client variables quite successfully for some years now in a 
> load-balanced environment with a database client variable storage. This has 
> continued to CF8.
>
> Although tests made a few months back proved that client variables were 
> holding up across servers, recently I made another check and found them 
> changing. For the test we forced our load-balancer to point from one single 
> server to another (thus forcing the browser to - unknowingly - swap servers) 
> but their session is lost. In short, the CFTOKEN changed. When we swapped the 
> servers again the CFTOKEN changed again. Although JSessionID persists (with a 
> different value) on each server, CFTOKEN is created from scratch on each 
> server change and never recurs.
>
> We did recently turn on session management and I'm suspicious this be the 
> cause but would like to hear some opinions before I have to spend much more 
> time replicating the problem in different environments or risking tests in 
> production.
>
> Many thanks,
>
> Paolo
>
>





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

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


Re: ColdFusion 8.0.1 Kills our Apache

2009-01-13 Thread Ian Skinner
Tom Chiverton wrote:
> It's a bit more work to set up, but it might actually work after your 
> done :-)

I might agree with your smiley face if in the 8 plus years that I have 
worked with ColdFusion on Windows with IIS, and before that - the PWS 
(Personal Web Server), it had ever *not* worked for me.

Now this Apache configuration also worked just fine once I read the 
instructions in the ColdFusion Administration documentation.  But it is 
definitely more work.





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

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


Portcullis

2009-01-13 Thread Duane Boudreau
Is anyone here using Portcullis to defend against SQL Injection and/or XSS
attacks? My clients has been using for it for a bit to secure its web server
and suddenly its choking on FCKEdit, not every instance but just the newest
app I've added to one of their sites.

I even tried copying the code exactly from another page that works and it
still breaks. I converted the FCKEdit field to a textarea field and it works
fine so it's not the field name or the  content that's causing the issue.
Anyway the error is:


The string "url.404HTTPERCMSHORG80LEADERNETEDITORFCKEDITORHTMLINSTANCENAME"
is not a valid ColdFusion variable name.  
Valid variable names must start with a letter, and can only contain letter,
numbers, and underscores.  
  
The error occurred in D:\Inetpub\wwwroot\ERC\com\fusionlink\Portcullis.cfc:
line 94
 
92 :
93 :
94 :
95 :
96 :


Duane Boudreau
Sandy Bay Networks
P: 902.232.2345 x222
P: 603.879.0249 x222
F: 866.631.6272 
http://www.sandybay.com




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

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


Re: FreeTTS API implementation doesn't work in ColdFusion7

2009-01-13 Thread Tom Chiverton
On Tuesday 13 Jan 2009, cf coder wrote:
>  "coldfusion.bootstrap.BootstrapClassLoader").SystemClassLoader.newInstance(
>"com.sun.speech.freetts.VoiceManager")>

Beware. Adobe CF can leak memory when doing ClassLoader stuff, because the 
object isn't released at the end of the request.

-- 
Tom Chiverton
Helping to synergistically enable six-generation next-generation advanced 
magnetic IPOs



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

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 2500.

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

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

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


Re: ColdFusion 8.0.1 Kills our Apache

2009-01-13 Thread Tom Chiverton
On Tuesday 13 Jan 2009, Ian Skinner wrote:
> I'm afraid I have to say that is considerable more work then just
> picking a ColdFusion instance and a IIS web site in the wsconfig GUI
> that I am used to with Windows and IIS servers.

It's a bit more work to set up, but it might actually work after your done :-)

-- 
Tom Chiverton
Helping to efficiently enhance CEOs



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
“partner” to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

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 2500.

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

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

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


Re: need some database advice

2009-01-13 Thread Greg Morphis
I've heard that NOT EXISTS works better with a larger set of records..
If it's only a few I heard that NOT IN would be better to use.

Of course this is just what I heard from our Oracle DBA a few years ago.
So YMMV... best choice is to run a test.. load 50K rows and check.



On Tue, Jan 13, 2009 at 8:14 AM, Adrian Lynch  wrote:
> Cheers Dom. I read that NOT EXISTS did little or nothing for performance in
> this case. Of course I can't point you to where I read that!
>
> Anyone know for sure?
>
> Adrian
>
>> -Original Message-
>> From: Dominic Watson [mailto:watson.domi...@googlemail.com]
>> Sent: 13 January 2009 13:48
>> To: cf-talk
>> Subject: Re: need some database advice
>>
>> >SELECT TOP 1 itemID
>> >FROM item
>> >WHERE itemID NOT IN (
>> >   SELECT itemID
>> >   FROM vote
>> >   WHERE userID = theUserVoting
>> >)
>>
>> That doesn't work? Should work fine, as should NOT EXISTS:
>>
>> SELECT TOP 1 i.itemID
>> FROM item i
>> WHERE NOT EXISTS (
>>SELECT v.itemID
>>FROM vote v
>>WHERE v.itemId = i.itemId
>>AND v.userID = theUserVoting
>> )
>>
>> Dom
>>
>>
>>
>> 2009/1/13 Adrian Lynch :
>> > I'm doing the same but with voting. People get to vote once per item
>> and I
>> > store this so they can't vote again.
>> >
>> > I'm doing something like:
>> >
>> > SELECT vote
>> > FROM vote
>> > WHERE userID = theUserVoting
>> > AND itemID = theItemTheyreAttemptingToVoteFor
>> >
>> > This runs a lot and so far so good.
>> >
>> > What I AM having problems with is getting a random item that they've
>> yet to
>> > vote for.
>> >
>> > I have this:
>> >
>> > SELECT TOP 1 itemID
>> > FROM item
>> > WHERE itemID NOT IN (
>> >SELECT itemID
>> >FROM vote
>> >WHERE userID = theUserVoting
>> > )
>> >
>> > I've read around a bit and EXISTS might be the way forward but the
>> examples
>> > I've read use IN and not NOT IN.
>> >
>> > Any ideas?
>> >
>> > Sorry for the half-a-thread hijack!
>> >
>> > Adrian
>> >
>> >> -Original Message-
>> >> From: Mike Soultanian [mailto:msoul...@csulb.edu]
>> >> Sent: 13 January 2009 07:37
>> >> To: cf-talk
>> >> Subject: need some database advice
>> >>
>> >> Hey Everyone,
>> >> I have a project and I'm trying to figure out the best way to go
>> about
>> >> it.  What I want to do is keep track of what songs a user has
>> listened
>> >> to and what songs they haven't.  The first thing that comes to mind
>> is
>> >> a
>> >> table with song IDs and a table with user IDs and a join table
>> between
>> >> the two that keeps track of what song a user has listened to.  With
>> >> 50,000 songs, that could be a lot of records in the join table.  Is
>> >> there a more efficient way to tackle this kind of problem?  I don't
>> >> think I'll have that many users, but even if I had ten users, that
>> >> table
>> >> could be pretty big.
>> >>
>> >> I'm trying to think if there are any tricks such as whether to store
>> if
>> >> a user has listened to a track or store if they haven't.  I plan to
>> >> have
>> >> a button called "mark all as listened", which could empty the join
>> >> table
>> >> of any records pertaining to that user if I was storing the tracks
>> they
>> >> didn't listen to.  So the join table would initially start out very
>> >> large for a user and then drop down... that's just one thought I
>> had.
>> >>
>> >> If anyone has any tricks, I'd appreciate your advise!
>> >>
>> >> Thanks,
>> >> Mike
>
>
> 

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

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


Re: need some database advice

2009-01-13 Thread Claude Schneegans
Unless all the users listen All songs, the cross table will not be that 
large.
The only trouble with a cross table is when you have to replace joins by 
others.
In your case you don't even have that problem since all what can happen 
is adding
new records.

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

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


Re: ColdFusion 8.0.1 Kills our Apache

2009-01-13 Thread Ian Skinner
Tom Chiverton wrote:
> I think it's as easy as giving each virtual host it's own JRunConfig 
> Bootstrap 
> parameter.
> I certainly did something like that to run CF7 and CF8 side-by-side with a 
> common Apache front end.

Well I'm not sure 'as easy as' really applies here.  But yes, it just 
involved creating the separate wsconfig/{website} directories, modifying 
the jrun.xml files for each ColdFusion instance and then putting the 
appropriate Bootstrap and Serverstore parameters into each virtual host 
definition in the httpd.conf file.

I'm afraid I have to say that is considerable more work then just 
picking a ColdFusion instance and a IIS web site in the wsconfig GUI 
that I am used to with Windows and IIS servers.





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

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


Re: ColdFusion 8.0.1 Kills our Apache

2009-01-13 Thread Maureen Barger
Aw darn - you wasted a lot of time! If you unpack the wsconfig.jar you
will find the so files already there! You just match up the so with
the version of apache you are running.
As far as connecting each instance to a virtual host, you need to
include the port number of the jRun instance in your vhost conf
respective to the vhost itself. And you might want to include a
ServerStore location per host as well.
We use a common include for all hosts that includes the more generic
jRun conf info like
 
  LoadModule jrun_module /path/to/mod_jrun2x.so
 

 
JRunConfig Verbose false
JRunConfig Apialloc false
#JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
AddHandler jrun-handler .cfm .cfc .cfml .jsp .jws
stuff


HTH! Not too many folks run Solaris, Apache and ColdFusion so we have
to stick together :D

On Tue, Jan 13, 2009 at 09:33, Tom Chiverton
 wrote:
> On Monday 12 Jan 2009, Ian Skinner wrote:
>> Our only remaining issue is how to configure Apache so that different
>> VirturalHosts use different ColdFusion instances in our multi-home
>> configuration.  It does not work the same as I am familiar with from the
>> Windows flavors.
>
> I think it's as easy as giving each virtual host it's own JRunConfig Bootstrap
> parameter.
> I certainly did something like that to run CF7 and CF8 side-by-side with a
> common Apache front end.
>
> --
> Tom Chiverton
> Helping to biannually participate fourth-generation bleeding-edge user-centric
> markets
>

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

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


Re: FreeTTS API implementation doesn't work in ColdFusion7

2009-01-13 Thread s. isaac dealey
>  strapClassLoader").SystemClassLoader.newInstance("com.sun.speech.freetts.Voic
> eManager")>
> 
>  ").init(BootstrapClassLoader)>
> 

I'm not the most knowledgeable expert with regard to Java, but this just
looks to me like it was written by someone with Java experience, who
didn't bother to even test anything in ColdFusion and instead simply
assumed (wrongly) that everything in CF would work exactly the way he's
used to things working in Java... blech... 

Random guess (I haven't tried this), replace the entire 3 lines with
this: 

VMInstance = CreateObject("java","com.sun.speech.freetts.VoiceManager");

Then set Application.VoiceManager6 to that. 

The extra classes he created look to me like classes that are probably
instantiated automatically by CreateObject(), so using CreateObject to
instantiate them would be (I believe) just doubling up on those classes
and actually slowing them down, since you would be reflecting the
reflection. That's just a guess, but that's what it looks like to me.


> 

-- 
s. isaac dealey  ^  new epoch
 isn't it time for a change? 
 ph: 781.769.0723

http://onTap.riaforge.org/blog



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

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


Re: ColdFusion 8.0.1 Kills our Apache

2009-01-13 Thread Tom Chiverton
On Monday 12 Jan 2009, Ian Skinner wrote:
> Our only remaining issue is how to configure Apache so that different
> VirturalHosts use different ColdFusion instances in our multi-home
> configuration.  It does not work the same as I am familiar with from the
> Windows flavors.

I think it's as easy as giving each virtual host it's own JRunConfig Bootstrap 
parameter.
I certainly did something like that to run CF7 and CF8 side-by-side with a 
common Apache front end.

-- 
Tom Chiverton
Helping to biannually participate fourth-generation bleeding-edge user-centric 
markets



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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners.  We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

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 2500.

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

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

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


RE: need some database advice

2009-01-13 Thread Adrian Lynch
Cheers Dom. I read that NOT EXISTS did little or nothing for performance in
this case. Of course I can't point you to where I read that!

Anyone know for sure?

Adrian

> -Original Message-
> From: Dominic Watson [mailto:watson.domi...@googlemail.com]
> Sent: 13 January 2009 13:48
> To: cf-talk
> Subject: Re: need some database advice
> 
> >SELECT TOP 1 itemID
> >FROM item
> >WHERE itemID NOT IN (
> >   SELECT itemID
> >   FROM vote
> >   WHERE userID = theUserVoting
> >)
> 
> That doesn't work? Should work fine, as should NOT EXISTS:
> 
> SELECT TOP 1 i.itemID
> FROM item i
> WHERE NOT EXISTS (
>SELECT v.itemID
>FROM vote v
>WHERE v.itemId = i.itemId
>AND v.userID = theUserVoting
> )
> 
> Dom
> 
> 
> 
> 2009/1/13 Adrian Lynch :
> > I'm doing the same but with voting. People get to vote once per item
> and I
> > store this so they can't vote again.
> >
> > I'm doing something like:
> >
> > SELECT vote
> > FROM vote
> > WHERE userID = theUserVoting
> > AND itemID = theItemTheyreAttemptingToVoteFor
> >
> > This runs a lot and so far so good.
> >
> > What I AM having problems with is getting a random item that they've
> yet to
> > vote for.
> >
> > I have this:
> >
> > SELECT TOP 1 itemID
> > FROM item
> > WHERE itemID NOT IN (
> >SELECT itemID
> >FROM vote
> >WHERE userID = theUserVoting
> > )
> >
> > I've read around a bit and EXISTS might be the way forward but the
> examples
> > I've read use IN and not NOT IN.
> >
> > Any ideas?
> >
> > Sorry for the half-a-thread hijack!
> >
> > Adrian
> >
> >> -Original Message-
> >> From: Mike Soultanian [mailto:msoul...@csulb.edu]
> >> Sent: 13 January 2009 07:37
> >> To: cf-talk
> >> Subject: need some database advice
> >>
> >> Hey Everyone,
> >> I have a project and I'm trying to figure out the best way to go
> about
> >> it.  What I want to do is keep track of what songs a user has
> listened
> >> to and what songs they haven't.  The first thing that comes to mind
> is
> >> a
> >> table with song IDs and a table with user IDs and a join table
> between
> >> the two that keeps track of what song a user has listened to.  With
> >> 50,000 songs, that could be a lot of records in the join table.  Is
> >> there a more efficient way to tackle this kind of problem?  I don't
> >> think I'll have that many users, but even if I had ten users, that
> >> table
> >> could be pretty big.
> >>
> >> I'm trying to think if there are any tricks such as whether to store
> if
> >> a user has listened to a track or store if they haven't.  I plan to
> >> have
> >> a button called "mark all as listened", which could empty the join
> >> table
> >> of any records pertaining to that user if I was storing the tracks
> they
> >> didn't listen to.  So the join table would initially start out very
> >> large for a user and then drop down... that's just one thought I
> had.
> >>
> >> If anyone has any tricks, I'd appreciate your advise!
> >>
> >> Thanks,
> >> Mike


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

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


Re: need some database advice

2009-01-13 Thread Dominic Watson
>SELECT TOP 1 itemID
>FROM item
>WHERE itemID NOT IN (
>   SELECT itemID
>   FROM vote
>   WHERE userID = theUserVoting
>)

That doesn't work? Should work fine, as should NOT EXISTS:

SELECT TOP 1 i.itemID
FROM item i
WHERE NOT EXISTS (
   SELECT v.itemID
   FROM vote v
   WHERE v.itemId = i.itemId
   AND v.userID = theUserVoting
)

Dom



2009/1/13 Adrian Lynch :
> I'm doing the same but with voting. People get to vote once per item and I
> store this so they can't vote again.
>
> I'm doing something like:
>
> SELECT vote
> FROM vote
> WHERE userID = theUserVoting
> AND itemID = theItemTheyreAttemptingToVoteFor
>
> This runs a lot and so far so good.
>
> What I AM having problems with is getting a random item that they've yet to
> vote for.
>
> I have this:
>
> SELECT TOP 1 itemID
> FROM item
> WHERE itemID NOT IN (
>SELECT itemID
>FROM vote
>WHERE userID = theUserVoting
> )
>
> I've read around a bit and EXISTS might be the way forward but the examples
> I've read use IN and not NOT IN.
>
> Any ideas?
>
> Sorry for the half-a-thread hijack!
>
> Adrian
>
>> -Original Message-
>> From: Mike Soultanian [mailto:msoul...@csulb.edu]
>> Sent: 13 January 2009 07:37
>> To: cf-talk
>> Subject: need some database advice
>>
>> Hey Everyone,
>> I have a project and I'm trying to figure out the best way to go about
>> it.  What I want to do is keep track of what songs a user has listened
>> to and what songs they haven't.  The first thing that comes to mind is
>> a
>> table with song IDs and a table with user IDs and a join table between
>> the two that keeps track of what song a user has listened to.  With
>> 50,000 songs, that could be a lot of records in the join table.  Is
>> there a more efficient way to tackle this kind of problem?  I don't
>> think I'll have that many users, but even if I had ten users, that
>> table
>> could be pretty big.
>>
>> I'm trying to think if there are any tricks such as whether to store if
>> a user has listened to a track or store if they haven't.  I plan to
>> have
>> a button called "mark all as listened", which could empty the join
>> table
>> of any records pertaining to that user if I was storing the tracks they
>> didn't listen to.  So the join table would initially start out very
>> large for a user and then drop down... that's just one thought I had.
>>
>> If anyone has any tricks, I'd appreciate your advise!
>>
>> Thanks,
>> Mike
>
>
> 

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

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


Re: Merging 2 XML Files

2009-01-13 Thread Matthew Allen
>> It's in CFLIB http://cflib.org/udf/xmlMerge, again not sure if it's 
>> what you're after but I think it should help... 

That was the one Jide, thanks for the pointer. 

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

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


RE: need some database advice

2009-01-13 Thread Adrian Lynch
I'm doing the same but with voting. People get to vote once per item and I
store this so they can't vote again.

I'm doing something like:

SELECT vote
FROM vote
WHERE userID = theUserVoting
AND itemID = theItemTheyreAttemptingToVoteFor

This runs a lot and so far so good.

What I AM having problems with is getting a random item that they've yet to
vote for.

I have this:

SELECT TOP 1 itemID
FROM item
WHERE itemID NOT IN (
SELECT itemID
FROM vote
WHERE userID = theUserVoting
)

I've read around a bit and EXISTS might be the way forward but the examples
I've read use IN and not NOT IN.

Any ideas?

Sorry for the half-a-thread hijack!

Adrian

> -Original Message-
> From: Mike Soultanian [mailto:msoul...@csulb.edu]
> Sent: 13 January 2009 07:37
> To: cf-talk
> Subject: need some database advice
> 
> Hey Everyone,
> I have a project and I'm trying to figure out the best way to go about
> it.  What I want to do is keep track of what songs a user has listened
> to and what songs they haven't.  The first thing that comes to mind is
> a
> table with song IDs and a table with user IDs and a join table between
> the two that keeps track of what song a user has listened to.  With
> 50,000 songs, that could be a lot of records in the join table.  Is
> there a more efficient way to tackle this kind of problem?  I don't
> think I'll have that many users, but even if I had ten users, that
> table
> could be pretty big.
> 
> I'm trying to think if there are any tricks such as whether to store if
> a user has listened to a track or store if they haven't.  I plan to
> have
> a button called "mark all as listened", which could empty the join
> table
> of any records pertaining to that user if I was storing the tracks they
> didn't listen to.  So the join table would initially start out very
> large for a user and then drop down... that's just one thought I had.
> 
> If anyone has any tricks, I'd appreciate your advise!
> 
> Thanks,
> Mike


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

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


FreeTTS API implementation doesn't work in ColdFusion7

2009-01-13 Thread cf coder
Hello everybody, 

I want to use the FreeTTS API to allow people with disabilies to have a better 
experience. I have been looking at this example which shows how to call it in 
ColdFusion (Please look at the second example titled: FreeTTS CFC):
http://www.cfide.org/Text_to_Speech_Example_page.cfm

Unfortuanately you can't copy it as it is an image. I've typed in the first 3 
lines of code:






I've copied the freetts.jar file which you can donwload from here 
(http://downloads.sourceforge.net/freetts/freetts-1.2.1-bin.zip?modtime=1110396608&big_mirror=0),
 to my lib folder (C:\ColdFusionMX\lib) and it is in the coldfusion class-path.

When I run the above code, I get an error:

"The selected method newInstance was not found.
Either there are no methods with the specified method name and argument types, 
or the method newInstance is overloaded with arguments types that ColdFusion 
can't decipher reliably. If this is a Java object and you verified that the 
method exists, you may need to use the javacast function to reduce ambiguity. "

Does anyone know why this is?

Regards,
John 

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

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


Re: Using JCaptcha and FreeTTS to embed captcha and audio for the visually impaired

2009-01-13 Thread cf coder
We have decided to use a differnt API for the captcha. Regarding the speech, 
FreeTTS is the API that we want to use. 

I have been looking at this example which shows how to call it in ColdFusion 
(Please look at the second example titled: FreeTTS CFC):
http://www.cfide.org/Text_to_Speech_Example_page.cfm

Unfortuanately you can't copy it as it is an image. I've typed in the first 3 
lines of code:






I've copied the freetts.jar file which you can donwload from here 
(http://downloads.sourceforge.net/freetts/freetts-1.2.1-bin.zip?modtime=1110396608&big_mirror=0),
 to my lib folder (C:\ColdFusionMX\lib) and it is in the coldfusion class-path.

When I run the above code, I get an error:

"The selected method newInstance was not found.
Either there are no methods with the specified method name and argument types, 
or the method newInstance is overloaded with arguments types that ColdFusion 
can't decipher reliably. If this is a Java object and you verified that the 
method exists, you may need to use the javacast function to reduce ambiguity. "

Does anyone know why this is?

Regards,
John


> > I am hoping someone could provide me with some help in implementing 
> this on my
> > application. I am running ColdFusion 7 on a Windows Server. I have 
> been asked to display
> > a image and audio captcha in my form. I've visited both the JCpatcha 
> and FreeTTS
> > websites.
> 
> I would recommend that you avoid implementing CAPTCHAs at all. That's
> probably not the answer you're looking for, but they're terrible
> solutions from an accessibility perspective. Instead, you might look
> at something like CFFormProtect (http://cfformprotect.riaforge.org/),
> which lets you block spammers just as effectively without the
> accessibility problems of CAPTCHAs.
> 
> Your client may have specifically requested a CAPTCHA, but ideally 
> the
> developer should recommend alternative solutions when those solutions
> are clearly superior.
> 
> 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! 

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

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


Re: Merging 2 XML Files

2009-01-13 Thread Matthew Allen
> It's in CFLIB http://cflib.org/udf/xmlMerge, again not sure if it's 
> what you're after but I think it should help... 

Thanks matey, will let you know if it's any help


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

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


Re: Merging 2 XML Files

2009-01-13 Thread Jide Aliu
>> Hey Matt - XMLMerge might be what you're after, I think I might have 
>> used it for something similar to what you described in the past..
>
>Hi there J, XMLMerge, is it part of a CF function? Can't seem to find it...

It's in CFLIB http://cflib.org/udf/xmlMerge, again not sure if it's what you're 
after but I think it should help... 

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

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


Re: Merging 2 XML Files

2009-01-13 Thread Matthew Allen
 
> Hey Matt - XMLMerge might be what you're after, I think I might have 
> used it for something similar to what you described in the past..

Hi there J, XMLMerge, is it part of a CF function? Can't seem to find it...
 

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

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


Re: Merging 2 XML Files

2009-01-13 Thread Jide Aliu
> I've tried using file append...won't work
>  

Hey Matt - XMLMerge might be what you're after, I think I might have used it 
for something similar to what you described in the past..

Cheers,

Jide 

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

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


Re: Active Directory - Getting a users Accountname

2009-01-13 Thread Jason Fisher
Sounds like the authentication on the website may still allow Anonymous 
Authentication then.  In IE at least, the auth_user only gets set when the user 
is prompted to login to access the site, and that only happens when the site 
disallows open access.  Are you getting a popup prompt for username and 
password when you first try to access the site pages? 

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

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


Merging 2 XML Files

2009-01-13 Thread Matthew Allen
I'm trying to combine the content of the two xml files below together

FILE 1



HIV Treatment
Body of Article



FILE 2
 


Another article
Body of Article



Please see how the final file should like below, so I just need to get rid of 
the  and the  node in 2 and then merge right under 
the  of file 1.

Final file



HIV Treatment
Body of Article



Another article
Body of Article



I've tried using file append...won't work
 

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

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


RE: Active Directory - Getting a users Accountname

2009-01-13 Thread Ian Vaughan
Hi Mike

I have dumped the cgi scope but in the results returned it displays

AUTH_USER [empty string]  

Any ideas why this is happening, I thought this should display my
network/login ID? as it is windows domain authentication via a thin
client device

Ian

-Original Message-
From: Dawson, Michael [mailto:m...@evansville.edu] 
Sent: 12 January 2009 17:39
To: cf-talk
Subject: RE: Active Directory - Getting a users Accountname

Regardless of the device (PC, thin client, phone), if you are using
Windows Basic Authentication, it probably brings back a
username/password in the CGI scope.

Dump the entire CGI scope and see if you can find the username/password
values.

Are you using a different type of authentication such as NT
Challenge/Response or Digest?

Mike

-Original Message-
From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] 
Sent: Monday, January 12, 2009 11:09 AM
To: cf-talk
Subject: RE: Active Directory - Getting a users Accountname

Hi Mike

It is using Windows authentication security but on a thin client device
not an actual PC

Then following just brings back a blank page?

#cgi.auth_user#

Ian


-Original Message-
From: Dawson, Michael [mailto:m...@evansville.edu]
Sent: 12 January 2009 16:20
To: cf-talk
Subject: RE: Active Directory - Getting a users Accountname

If you are using Windows authentication security, it will be available
as cgi.auth_user.

It may be different, depending on your web server.  CFDUMP the cgi scope
to be sure.

Mike 

-Original Message-
From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk]
Sent: Monday, January 12, 2009 9:34 AM
To: cf-talk
Subject: Active Directory - Getting a users Accountname

Hi

How do you query a logged in domain users networkID/accountname via
Coldfusion.

I would like CF to pick up automatically a users domain networkID and
then set this as a variable to query against another database, although
at the moment I am using a CFDUMP just to see the result. 

This is what I have at the moment, and I am getting the error below

"Variable SAMACCOUNTNAME is undefined."







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

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


RE: Load testing tools.

2009-01-13 Thread Robert Rawlins
Mark, Jamie, Will,

Thanks for the suggestions guys :-) I'll take a look into the different ones
and see which works best for me JMeter certainly sounds very cool!

Cheers all,

Rob


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

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


Re: need some database advice

2009-01-13 Thread Barney Boisvert
Insert into linkTable
Select song.id, #userId#
from song
Where not exists (
Select *
>From linkTable
Where songId = song.id
And userId = #userId#
)

Obviously with CFQUERYPARAM and no auto-capitalize.

cheers,
barneyb
On 1/13/09, Mike Soultanian  wrote:
> What do you do when they hit "mark all listened"?
>
> Barney Boisvert wrote:
>> Databases are good at storing data.  With proper indexing, a few
>> million rows is nothing.  I'd store tracks listened to.  Make the
>> model simpler, speed user creation, and odds are most people are going
>> to listen to less than 25K distinct songs so it'll require less rows
>> too.
>>
>> ---
>> Barney Boisvert
>> bboisv...@gmail.com
>> http://www.barneyb.com
>>
>> On Jan 12, 2009, at 11:37 PM, Mike Soultanian 
>> wrote:
>>
>>
>>> Hey Everyone,
>>> I have a project and I'm trying to figure out the best way to go about
>>> it.  What I want to do is keep track of what songs a user has listened
>>> to and what songs they haven't.  The first thing that comes to mind
>>> is a
>>> table with song IDs and a table with user IDs and a join table between
>>> the two that keeps track of what song a user has listened to.  With
>>> 50,000 songs, that could be a lot of records in the join table.  Is
>>> there a more efficient way to tackle this kind of problem?  I don't
>>> think I'll have that many users, but even if I had ten users, that
>>> table
>>> could be pretty big.
>>>
>>> I'm trying to think if there are any tricks such as whether to store
>>> if
>>> a user has listened to a track or store if they haven't.  I plan to
>>> have
>>> a button called "mark all as listened", which could empty the join
>>> table
>>> of any records pertaining to that user if I was storing the tracks
>>> they
>>> didn't listen to.  So the join table would initially start out very
>>> large for a user and then drop down... that's just one thought I had.
>>>
>>> If anyone has any tricks, I'd appreciate your advise!
>>>
>>> Thanks,
>>> Mike
>>>
>>>
>>>
>>
>>
>
> 

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

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


Re: need some database advice

2009-01-13 Thread Mike Soultanian
What do you do when they hit "mark all listened"?

Barney Boisvert wrote:
> Databases are good at storing data.  With proper indexing, a few  
> million rows is nothing.  I'd store tracks listened to.  Make the  
> model simpler, speed user creation, and odds are most people are going  
> to listen to less than 25K distinct songs so it'll require less rows  
> too.
>
> ---
> Barney Boisvert
> bboisv...@gmail.com
> http://www.barneyb.com
>
> On Jan 12, 2009, at 11:37 PM, Mike Soultanian   
> wrote:
>
>   
>> Hey Everyone,
>> I have a project and I'm trying to figure out the best way to go about
>> it.  What I want to do is keep track of what songs a user has listened
>> to and what songs they haven't.  The first thing that comes to mind  
>> is a
>> table with song IDs and a table with user IDs and a join table between
>> the two that keeps track of what song a user has listened to.  With
>> 50,000 songs, that could be a lot of records in the join table.  Is
>> there a more efficient way to tackle this kind of problem?  I don't
>> think I'll have that many users, but even if I had ten users, that  
>> table
>> could be pretty big.
>>
>> I'm trying to think if there are any tricks such as whether to store  
>> if
>> a user has listened to a track or store if they haven't.  I plan to  
>> have
>> a button called "mark all as listened", which could empty the join  
>> table
>> of any records pertaining to that user if I was storing the tracks  
>> they
>> didn't listen to.  So the join table would initially start out very
>> large for a user and then drop down... that's just one thought I had.
>>
>> If anyone has any tricks, I'd appreciate your advise!
>>
>> Thanks,
>> Mike
>>
>>
>> 
>
> 

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

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