Re: Need help totaling something up

2007-04-16 Thread Dave l
How'd i know this was gunna be u? Ok, here's what's throwing me. My output expands dynamically horizontally AND vertically. I'm having a hard time tracking the totals for each column, since they're dynamic. Here's my entire cfoutput. I worked on it a few hours, then got pissed

Re: Vista versions - what's really needed for CF development?

2007-04-16 Thread Dave l
well if it helps I saw in the ads today in the paper that office depot or some is already starting to lower their prices on vista. I dunno why though since its the newest, best thing since... ;)~ ~| ColdFusion MX7 by Adobe®

Re: reading params from a file v/s getting them from a file

2007-04-16 Thread Tom Chiverton
On Friday 13 Apr 2007, George Abraham wrote: Hmm, maybe I can learn some stuff here about session variables. Well, the parameters (and their values) themselves are sizeable in nature. Sort of like defaultTextForMessage='some text 150 characters long' and so on. Is storing them in the session

MS is gonna Vistafy Flash

2007-04-16 Thread Will Tomlinson
I wonder if you'll be downloading security patches every day. :) http://www.themoneytimes.com/articles/20070416/microsoft_intends_to_outshine_adobe-id-103319.html ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7

Re: Need help totaling something up

2007-04-16 Thread Will Tomlinson
How'd i know this was gunna be u? I got it figured out tho... ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR

Re: MS is gonna Vistafy Flash

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Will Tomlinson wrote: I wonder if you'll be downloading security patches every day. :) This is just WPF (again). It's not really cross platform (still). It'll die a death, if we're lucky. -- Tom Chiverton Helping to enormously extend total paradigms on:

FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
Hello Folks I have to check if a file exists in folder or not. Following is the simple code: ## cfset yourFile = C:\COMLOG.txt cfif FileExists(yourFile) Yes cfelse No /cfif ## I get following error: ## access denied (java.io.FilePermission

RE: XML Vs. CSV/Text

2007-04-16 Thread Robert Rawlins - Think Blue
Thanks guys for your suggestion. I'm using SQL Server 2k5 and the likelihood is that this file will only ever be parsed by my application, So I think I may take your advice and opt for the CSV, at the end of the day its only a log file, nothing very complex and is basically a flat version of the

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
Does the account ColdFusion starts up with have the rights to access to C:\ ? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which

Re: FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
Hello Rob, Thanks for reply. To be more precise, i am alredy able to open a file present at \\MC1CCS01\ISIT.GRP\DOCUMENTS\FastTrack_Schedule_9\FastTrack_Schedule_9.doc.pdf from my application itself. Please note that it is relative path here. Now have look at following axact code in my

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
Access Denied - again, check the ColdFusion service rights to these folders. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Jochem van Dieten
sandeep saini wrote: i am alredy able to open a file present at \\MC1CCS01\ISIT.GRP\DOCUMENTS\FastTrack_Schedule_9\FastTrack_Schedule_9.doc.pdf from my application itself. Please note that it is relative path here. That is not a relative path, that is a UNC path. Now have look at

RE: Vista versions - what's really needed for CF development?

2007-04-16 Thread Eric Roberts
IIS is only supported on business and higher... Eric -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Sunday, April 15, 2007 10:19 PM To: CF-Talk Subject: RE: Vista versions - what's really needed for CF development? I'm looking to get a new laptop and I'm just

Re: FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
Thank you Rob. But i fear that granting permissions on file/directory might cause security breach as there are also many other applications running on the same server.(Still i will try if READ access can be granted :o) Thank you again. sandeep saini wrote: i am alredy able to open a file

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
Well, you are going to struggle reading/writing to these directories then.. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is

Re: FileExists() function is not wrking in my application

2007-04-16 Thread sandeep saini
Rob Ya i understand that. Can you please suggest some other way of getting the same functionality.. i.e. to check if a file exists on run time.some other function may be which does not need absolute path. Rgds sandeep Well, you are going to struggle reading/writing to these directories then..

Re: FileExists() function is not wrking in my application

2007-04-16 Thread Robertson-Ravo, Neil (RX)
Create a domain account you control which can access these folders then add that account to be what ColdFusion uses to startup. This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England,

Re: Vista versions - what's really needed for CF development?

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Eric Roberts wrote: IIS is only supported on business and higher... Fortunately Apache runs on any version. With multiple site support too :-) -- Tom Chiverton Helping to challengingly brand enterprise systems on: http://thefalken.livejournal.com

RE: Basic CFM shopping cart tutorial/Dreaweaver extension

2007-04-16 Thread Ben Nadel
I have also just wrote a very small demo for some quite simple Wish List / Cart style CFC for someone else. Not sure if this is enough to inspire: http://www.bennadel.com/blog/637-Ask-Ben-Creating-A-Simple-Wish-List-Sho pping-Cart.htm Or : http://bennadel.com/index.cfm?dax=blog:637.view I think

Parsing CSV

2007-04-16 Thread Robert Rawlins - Think Blue
Hello Guys, I'm looking to get some advice on the best method to parse a CSV into my SQL Server 2k5 database. The idea is that the data will be passed in as a string to a web service. In the past I've spoken to people who seem to think that the DTS is the best method for getting the text into

CF CAPTCHA - need help!

2007-04-16 Thread Steven Sprouse
I have a feedback form on our website, and we're getting a lot of SPAM. I don't know if it's because we're using mailto in the cf code or because we're not using some sort of image verification on the form (I'm sure it's a combination of the two). Does anyone know of a good CF based form

RE: Basic CFM shopping cart tutorial/Dreaweaver extension

2007-04-16 Thread Robert Rawlins - Think Blue
Nice work Ben, I spent some time working on a shopping cart system a while back but never got round to completing the project. It's interesting to see you using the query method, any particular reason for using that instead of a standard arrays and structures? Cheers, Rob -Original

RE: Parsing CSV

2007-04-16 Thread Peterson, Chris
I belive you can write an import script in SQL 2K5 to import it directly without having to parse in CF. I know you can do it manually with a right-click - import on the database, and you might be able to save that and invoke it with CF to import a file. That would probably be the fastest.

RE: Parsing CSV

2007-04-16 Thread Ben Nadel
Rob, While I cannot offer any advice on DTS or which is best (as my experience with CSV is very limited when it comes to real-world applications). However, if you are interested, a while back I wrote a UDF for parsing a CSV data chunk into a ColdFusion query. It can handle qualified fields as

RE: Compare two lists and if one element common ...

2007-04-16 Thread Andy Matthews
Use ListToArray, then use the built in .contains() method from Java. [SNIP] 3. Search : I have heard people complaining that there is no find method in Array. Actually you had it all the time. Just that it was hidden :) You can use List.Contains() or List.indexOf() methods to achieve that. Here

RE: Basic CFM shopping cart tutorial/Dreaweaver extension

2007-04-16 Thread Ben Nadel
Rob, By using a query I can do several things quite easily: 1. Check to see if an item already exists in the cart by comparing ALL properties. 2. Sum sub-total columns. 3. Sum quantity columns. 4. Add custom properties to the items query (ex. size, color, sex, wood, finish, media, etc.). 5.

Re: CF CAPTCHA - need help!

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Steven Sprouse wrote: I have a feedback form on our website, and we're getting a lot of SPAM. Where to, and where from ? The first step to fixing something is finding out what is broken. -- Tom Chiverton Helping to continually transition killer partnerships on:

RE: Parsing CSV

2007-04-16 Thread Robert Rawlins - Think Blue
Thanks Ben, I'll give the UDF a thorough run through and see what happens. I'm still pretty keen to work on a solution using a stored proc to take the weight off of CF as it'll be busy on other things, but this will at least help me get my head into CSV's. Rob -Original Message- From:

RE: Parsing CSV

2007-04-16 Thread Robert Rawlins - Think Blue
Thanks Chris, I can agree that letting SQL do the job is a better way of doing this, I'll just need to find someone with a little stored proc or more SQL experience than me to help write the code. Thanks, Rob -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: 16

RE: CF CAPTCHA - need help!

2007-04-16 Thread Robert Rawlins - Think Blue
Hi Steve, I use Lyla captcha and it seems easy enough to implement, I know allot of people are also fond of cfformprotect which is a non captcha solution I'm yet to try out. See this link: http://lyla.maestropublishing.com/ As for the mailto links, I'm sure they are the root cause of the issue,

Re: AWStats Help

2007-04-16 Thread Phill B
Did you get this working yet? Phil On 4/14/07, Dwayne Cole [EMAIL PROTECTED] wrote: I'm trying to install AWStates on Windows 2000 using IIS 6. I install Active Perl OK I think and I downloaded the awstates.exe I have several sites on the drive D. I do not run the sites from the

Caching gone wild

2007-04-16 Thread Chris Ditty
For some reason, over the last week, the cache on our CF server has gone wild. When I make even the smallest change, I have to physically go into the CF Admin and clear the template cache before my changes are shown. Out of frustration, I changed the number of templates and number of queries

Re: CF CAPTCHA - need help!

2007-04-16 Thread Steven Sprouse
The feedback form can be found here: http://www2.ccboe.com/feedback/feedbackform.cfm I think I've tried the lyla capcha in the past and couldn't figure it out. Maybe I'll give it another go. ~| Upgrade to Adobe ColdFusion MX7

RE: Caching gone wild

2007-04-16 Thread Mark A Kruger
I know this seems silly - but make sure that trusted cache is off. If it is on, then the behavior you describe below is correct. -Mark -Original Message- From: Chris Ditty [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 8:23 AM To: CF-Talk Subject: Caching gone wild For some

RE: CF CAPTCHA - need help!

2007-04-16 Thread Steve LaBadie
I use Alagad Captcha. Simple to set up http://www.alagad.com/ Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -Original Message- From: Steven Sprouse [mailto:[EMAIL PROTECTED] Sent:

Re: Caching gone wild

2007-04-16 Thread Chris Ditty
Trusted cache is off. On 4/16/07, Mark A Kruger [EMAIL PROTECTED] wrote: I know this seems silly - but make sure that trusted cache is off. If it is on, then the behavior you describe below is correct. -Mark -Original Message- From: Chris Ditty [mailto:[EMAIL PROTECTED] Sent:

Re: CF and Java

2007-04-16 Thread Andrew Whone
Dave's right on the different log4j version. What version of the security library are you using? I had to go back to 1.2 and xmlsec-1.2.96.jar to get my signature validation to work with CF's JRE, Phil -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Friday, April 13,

Re: CF and Java

2007-04-16 Thread Andrew Whone
Thanks for all the help but still no joy. I have been compiling the class file in the classes library and not moving it. All the jars are in the class path. I have been calling the method using: cfobject action=create type=Java class=IRMark name=myObj cfset ret=myObj.main(input.xml) And

RE: CF CAPTCHA - need help!

2007-04-16 Thread Robert Rawlins - Think Blue
Hi Steve, Firstly, here is a great tutorial on lyla from Ray http://ray.camdenfamily.com/index.cfm/2006/11/14/Quick-and-dirty-CAPTCHA-Gui de I found it a great help when I started out with it. Next thing I notice about that contact form, is that you're only using JS client side stuff to validate

Re: CF CAPTCHA - need help!

2007-04-16 Thread Steven Sprouse
Rob, With the JS you sent, can I create a name for that whole thing and then make reference to the name in the form? I ask because my mailto: tag is currently just a hidden input type in the form with a value of the email address it's supposed to go to. How do I reference the new JS? Hi

Urgent Help Please!

2007-04-16 Thread Peterson, Chris
I have a fairly high volume site running on IIS 6 / 2003 R2 server, CF 7 Enterprise My site is running as a CF cluster with 2 members in round robin, and sticky sessions The only error in my event log I have is an IIS one, showing: A worker process with process id of '2012' serving application

JDBC Connection Problem

2007-04-16 Thread Jamie Jackson
I'm trying to connect to a database via JDBC. I can connect through Java apps running on the Web server (using CFMX7's built-in JVM), but the same data source configuration in the CFMX7 admin throws an error: Connection verification failed for data source: BASIS10 java.sql.SQLException: Timed

RE: CF and Java

2007-04-16 Thread Phillip Duba
Andrew, My 1.2 referred to version 1.2 of the Apache XML Security Library: http://xml.apache.org/security/dist/java-library/old/xml-security-bin-1_ 2_0.zip. I did have to upgrade to the 1.2.96 version of the xmlsec.jar file: http://xml.apache.org/security/dist/java-library/old/xmlsec-1.2.96.jar.

Reset first Frame Size on submit new form cancel previous frameset size

2007-04-16 Thread ismail cassiem
Hi, Help Please! Reset first Frame Size on submit new form cancel previous frameset size frameset rows=50%,50% I’m struggling to change the frame size to 100% when I am in the first frame. I have two frames: 1 = 50% and the other: 2 = 50% When I’m on frame 1, I would like to submit the

RE: CF CAPTCHA - need help!

2007-04-16 Thread Robert Rawlins - Think Blue
Hi Steve, Ok, I hadn't noticed the email address as a hidden field, this is a pretty bad idea as the bots will trawl if from the source and have a field day. How are you processing that form once its submitted? Using a cfmail tag? If so then I would take the hidden field out all together and just

CFinkoke

2007-04-16 Thread Matthew Friedman
I am having an issue trying to access a webserver. I am getting a timeout error. The partner that is suppling the webservice tells me I have correct information and they are not timeing out. Any insite would be helpful since I am new to webservices. Below is the code I am using to accesss the

Re: CF CAPTCHA - need help!

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Steven Sprouse wrote: my mailto: tag is currently just a hidden input type in the form with a value of the email address it's supposed to go to. Eeek ! So if I change it to anything else, I can send my spam through your mail server ? Hard code things like this in the

Re: Calling a Coldfusion Variable From a .js File

2007-04-16 Thread John Morgan
First, I want to reiterate an AJAX solution is probably best. However, if AJAX is out of the question a secure has WILL work. Let me clarify that... 1. CFC generates a CAPTCHA (EX: ABC123) 2. CFC hashes the CAPTCHA (EX: A6B7D8991A) 3. CF sends the HTTP response with the hash and a JShash()

RE: CF and Java

2007-04-16 Thread Russ
Andrew, If you have control of the java code (and I assume you do), I would recode it to have a separate constructor, and a method (or methods) that actually do stuff. The constructor should be named the same as the class, and in your case take in a string (assuming you want to pass in a

Re: CF CAPTCHA - need help!

2007-04-16 Thread Rick Root
ImageCFC has captcha capability that is fairly flexible. The demo I've published is an example of making it rather difficult with a complex font and complex background. Half the time I can't even get it right! http://www.opensourcecf.com/imagecfc/captcha/ Of course, for my usual

Re: CF and Java

2007-04-16 Thread Andrew Whone
Andrew, My 1.2 referred to version 1.2 of the Apache XML Security Library: http://xml.apache.org/security/dist/java-library/old/xml-security-bin-1_ 2_0.zip. I did have to upgrade to the 1.2.96 version of the xmlsec.jar file: http://xml.apache.org/security/dist/java-library/old/xmlsec-1.2.96.jar.

RE: Urgent Help Please!

2007-04-16 Thread Peterson, Chris
Is there a guide out there for configuring IIS to handle upwards of 200 connection requests / second with Coldfusion 7 Ent? Chris -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 9:43 AM To: CF-Talk Subject: Urgent Help Please! I have a

RE: Urgent Help Please!

2007-04-16 Thread Peterson, Chris
Here is a snip that I don't understand from my instance1-out.log: 04/16 09:26:29 info Clusterable service JNDIContextManager discovered ClusterManager on 172.16.100.51:4160, cluster domain: CFCluster (Lookup Service's JINI-ID: 283dcde8-3d52-4ab6-b3e5-e13136da381a) 04/16 09:27:19 info Clusterable

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
So, if a user's input fails server-side validation, do you not give an error message to the user? Not exactly. What I mean is that I will let standard error messages through, like invalid datatype for an invalid date from the database driver, or null values not allowed, etc... With client side

RE: CF and Java

2007-04-16 Thread Phillip Duba
Ok, than what Mark and Dave wrote (and Russ just added) will have to be done. Your code should like like: In the Java class, create a blank constructor: public IRMark() { } Within your ColdFusion logic: cfset aFileName = ArrayNew(1) cfset aFileName[1] = input.xml cfscript jArray =

Secure Web Service

2007-04-16 Thread Robert Rawlins - Think Blue
Hi Guys, I'm looking for the best method to secure a web service so that it can only be accessed by particular clients. The service simply returns and XML structure but some of the data contained can be quite sensitive and I'd rather keep it as safe as possible. I am a little worried about

Re: CF CAPTCHA - need help!

2007-04-16 Thread Les Mizzell
Though I'm using captcha solutions for most of my main clients (and server side too, thank you), I've been toying around with ideas on a smaller site or two owned by myself just to see what would happen. A very simple Does a cow moo, bark, howl, mew or whistle? question with a blank to write

Re: Urgent Help Please!

2007-04-16 Thread C. Hatton Humphrey
Any idea's would help, I am getting screamed at!!! A mallet? Hatton ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Rick Faircloth
So... client-side innocent errors (e.g. typos) get user-friendly messages. Anything making it through client-side, but failing server-side gets the raw error messages. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 10:15 AM To: CF-Talk

Re: Secure Web Service

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Robert Rawlins - Think Blue wrote: I am a little worried about putting too much overhead on this as they could potentially get quite busy, am I ok to simple request a username and password argument into the service and use that to authenticate the user? Could do - make

Re: Urgent Help Please!

2007-04-16 Thread Jochem van Dieten
Peterson, Chris wrote: I have a fairly high volume site running on IIS 6 / 2003 R2 server, CF 7 Enterprise Which hotfixes have you applied? Do you log long running requests? Do you have a requesttimeout? How long are your requests running? My site is running as a CF cluster with 2 members

RE: Urgent Help Please!

2007-04-16 Thread Peterson, Chris
I have not changed the default page configuration, and nothing un-expected is showing in the long page log ( I am parsing the server.log using Ray Camden's findslow.cfm template) Digging deeper on my instance err.log, I am seeing a lot of these errors during the time my site is un-responsive:

Re: Secure Web Service

2007-04-16 Thread James Holmes
This is what we've done. Just use SSL and pass arguments into each method call but don't call them username and password as CF (if that's the client machine's platform) will instead pass these along as http basic authentication (which, btw, you don't want to use as a CF client will cache the

Re: collecting IP Address through database shopping cart

2007-04-16 Thread tracy sanchez
No offense taken Jon. I probably should explain to you that this cart was built by a guy who's friends with the owner of our company and since he provided it to us free and he's very busy with his own job, I've kind of been made the guy to take on customizing the cart, so I'm a newbie to

RE: Secure Web Service

2007-04-16 Thread Robert Rawlins - Think Blue
Thanks for that James and Tom. The client system won't be CF, it'll be a JAVA or Python based app, but that's a handy tip about the username and password argument names, and I'll be sure to push the production version over SSL as well to keep them nice and safe. Thanks again guys, if you have

Re: collecting IP Address through database shopping cart

2007-04-16 Thread tracy sanchez
On Apr 13, 2007, at 4:57 PM, tracy sanchez wrote: I currently do have some single page forms that I use this code to capture the IP Address: cfset ipaddress=#cgi.remote_addr# cfset IPArray = listToArray(IPAddress,.) cfset IPNumber= (IPArray[1] * (256)^3) + (IPArray[2] * (256)^2) +

Re: Urgent Help Please!

2007-04-16 Thread Tom Chiverton
On Monday 16 Apr 2007, Peterson, Chris wrote: java.net.SocketException: Connection reset by peer: socket write error The user closed their web browser, iirc. You can ignore them if so. -- Tom Chiverton Helping to assertively compete back-end portals on: http://thefalken.livejournal.com

Re: Urgent Help Please!

2007-04-16 Thread Jochem van Dieten
Peterson, Chris wrote: I have not changed the default page configuration, and nothing un-expected is showing in the long page log ( I am parsing the server.log using Ray Camden's findslow.cfm template) Digging deeper on my instance err.log, I am seeing a lot of these errors during the time

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
client-side innocent errors (e.g. typos) get user-friendly messages. Right. Anything making it through client-side, but failing server-side gets the raw error messages. Also right, only hackers will get to the server with invalid data, so why should I care about them? --

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Robert Rawlins - Think Blue
Also right, only hackers will get to the server with invalid data, so why should I care about them? Are you serious? -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: 16 April 2007 16:26 To: CF-Talk Subject: Re: Client-side validation or Server-side Validation?

RE: Urgent Help Please!

2007-04-16 Thread Peterson, Chris
Nope, debugging is not enabled on either cluster-member instance. Check this one out, now I am finding this in my err.log file: java.lang.OutOfMemoryError: unable to create new native thread It looks like its hitting some type of native OS memory limit for creating threads? I found this

Re: Vista versions - what's really needed for CF development?

2007-04-16 Thread Jake Pilgrim
Ok, sounds like I want Business edition if i want a full version of IIS. Now is the Windows Media Center piece worth upgrading from business to ultimate for? I'm going to have the Adobe Creative Suite installed and I'm not really the type of person who is looking to document their whole life

Re: Urgent Help Please!

2007-04-16 Thread Jochem van Dieten
Peterson, Chris wrote: Nope, debugging is not enabled on either cluster-member instance. Check this one out, now I am finding this in my err.log file: java.lang.OutOfMemoryError: unable to create new native thread It looks like its hitting some type of native OS memory limit for creating

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Rick Faircloth
True... as long as your client-side validation is bullet-proof... -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 11:26 AM To: CF-Talk Subject: Re: Client-side validation or Server-side Validation? client-side innocent errors (e.g.

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Les Mizzell
Not exactly. What I mean is that I will let standard error messages through, like invalid datatype for an invalid date from the database driver, or null values not allowed, etc... With client side validation, I will make some more user friendly phrase. But what about, as already mentioned,

Re: CF CAPTCHA - need help!

2007-04-16 Thread Steven Sprouse
Well not exactly. It's not as bad as it sounds. My original feedback form was generated from a cf include file on my server. You'd have to change that code to change the email address On Monday 16 Apr 2007, Steven Sprouse wrote: my mailto: tag is currently just a hidden input type in

Re: CF and Java

2007-04-16 Thread Andrew Whone
I tried that and it's still the same error message so presumably the array is problematic but should work see: http://weblogs.macromedia.com/cantrell/archives/2003/06/passing_coldfus.cfm I put the blank constructor in the code thus: public class IRMark { /** * Generate and print the

RE: CF CAPTCHA - need help!

2007-04-16 Thread Robert Rawlins - Think Blue
No you wouldn't bud, You can just save the HTML template and edit it in notepad :-D Rob -Original Message- From: Steven Sprouse [mailto:[EMAIL PROTECTED] Sent: 16 April 2007 16:44 To: CF-Talk Subject: Re: CF CAPTCHA - need help! Well not exactly. It's not as bad as it sounds. My

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
But what about, as already mentioned, somebody browsing with Javascript turn off In that case they get the message Your browser should have Javascript turned on to proceed and no form at all. -- ___ REUSE CODE! Use custom tags; See

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Robert Rawlins - Think Blue
Not having proper server side validation is one of the 7 deadly sins isn't it? Looking at the latest published W3C statistics you would educate a guess of about 10% of browsers not having JS enabled on them, that's a fairly hefty chunk. Rob -Original Message- From: Les Mizzell

Cfchart and webcharts3d problem

2007-04-16 Thread Pete Ruckelshaus
I'm customizing chart output display using the Webcharts3D 5.0 app that is included with CFMX7. So far, I've been able to do most of what I wanted to do, but there are still a couple of things that I can't get right. First, the basics. This is a simple poll application and I am using pie charts

RE: CF and Java

2007-04-16 Thread Russ
AFAIK, the main method is not meant to be called by any other classes... it's only meant to be called when the program is directly executed. Take all the code from the main method, and put it into its own method. Call that method. Use the main method only when testing the app directly from

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Andrew Grosset
Thanks CoolJJ, An excellent resource (foundstone.com), there is a pdf file that explains hacme shipping here: http://www.foundstone.com/resources/whitepapers/hacmeshipping_userguide.pdf Andrew. Rick, Never, never, ever trust data coming from the client side. It is very easy to bypass

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Les Mizzell
Looking at the latest published W3C statistics you would educate a guess of about 10% of browsers not having JS enabled on them, that's a fairly hefty chunk. How bad would it be to make having javascript turned on *REQUIRED* before visotors can view certain content (forms)? It's something

Re: CFinkoke

2007-04-16 Thread Jon Clausen
Matthew, Is the IP address you provided in your code, the actual address? If so, since that IP address (192.168.13.54) is an address for a machine on your subnet, are you on the same network with the web service provider? If you are not on the same network, you will need an IP address

Auto Index Dbase datasource?

2007-04-16 Thread Paul Henderson
I'm attempting to use CFMX7 to update a networked dbase dbf datasource that is being used by 3rd party software. In CF5 I was able to set the datasource to automatically index files after writing new records. I can't recall if I did this in the Windows ODBC Data source Administrator or the CF

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Rick Faircloth
I'm all for forcing users of sites I develop to use Javascript. If it's not turned on just send them a message: You must enable Javascript to use this form. If they choose not to, so be it. It's like people who refuse to use HTML email... I think it's time for these folks to come into the

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Josh Nathanson
How bad would it be to make having javascript turned on *REQUIRED* before visotors can view certain content (forms)? This all depends your intended audience, and the purpose of your website. I run a mission-critical eCommerce site, so we have to make sure our javascript-challenged customers

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
but how 'user friendly is this if done? IMO the user friendliness you gain being able to use many JS tools that can make a site look more efficient largely compensates for the apparent roughness toward paranoid who deactivate their Javascript. -- ___ REUSE

Communication Link Failure

2007-04-16 Thread Rick Root
Hi, I've got some folks using CFMBB that are getting intermittent problems with a query. The error is Communication link failure: Unknown command It always occurs in rank.cfc (something I haven't really made too many changes to from Galleon)... always the same query. It only seems to be

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
If it's not turned on just send them a message: You must enable Javascript to use this form. If they choose not to, so be it. Bravo! We should start a union of developers about this ;-) It's like people who refuse to use HTML email... I think it's time for these folks to come into the light

Re: Auto Index Dbase datasource?

2007-04-16 Thread Claude Schneegans
In CF5 I was able to set the datasource to automatically index files after writing new records. What a weird decision. Isn't the datasource supposed to automatically update all indexes anyway? Hope your database is just a very small one. -- ___ REUSE CODE!

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Robert Rawlins - Think Blue
I don't think it's very user friendly at all, but I'm quite a big web standards and accessibility fan. You should always have an alternative version of your site that can be viewed on a small screen or text only browser and things like that. You can achieve a perfectly rich feel from server side

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Brad Wood
That's all well and good, but it still doesn't prevent a black hat from posting directly to your web server (They wouldn't even need to use a browser) in an attempt to pass data that would have not been permissible from the form. I see JavaScript as flimsy when it comes to security issues because

Re: Urgent Help Please!

2007-04-16 Thread Jon Clausen
Chris, First of all, I defer to any of the suggestions that Jochem gives you, since he's way better in the server configuration arena than I am (or many of us, for that matter). Windows defaults out of the box to about 7200 concurrent threads (src - http://gregluck.com/blog/

Re: Communication Link Failure

2007-04-16 Thread Rick Root
Apparently, FuseTalk has had similar problems for people using Coldfusion MX 7.0.2 and MySQL 4/5. http://www.fusetalk.com/support/connectorjissues.cfm They point to the following Adobe technote: http://www.adobe.com/go/tn_19170 Which suggests upgrading to the latest MySQL Connector/J So I

RE: Auto Index Dbase datasource?

2007-04-16 Thread Paul Henderson
You'd think so but its an old dbase 3 database, and I'm stuck with it since the 3rd party software relies on it. -Original Message- From: Claude Schneegans [mailto:[EMAIL PROTECTED] Sent: Monday, April 16, 2007 1:20 PM To: CF-Talk Subject: Re: Auto Index Dbase datasource? In CF5 I was

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
then why would you EVER take the risk of 10% of the potential market not being able to access your application? does this figures suppose that 10% of visitors having Javascript disabled IS a potential market? I mean many of those 10% hits are simply eMail sniffers, spamers or whatever,

Re: Client-side validation or Server-side Validation?

2007-04-16 Thread Claude Schneegans
validation like That order number is not found in our database. How would you do that in JavaScript without going to the server anyway? Ajax man, Ajax! ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm

RE: Client-side validation or Server-side Validation?

2007-04-16 Thread Rick Faircloth
Josh, You refer to customers who don't have javascript enabled as javascript-challenged. Since not using javascript would take some knowledge and tinkering, wouldn't it be more likely that those who don't use javascript are advanced users and just simply choosing not to use javascript? Rick

  1   2   >