RE: Set Session Variable help needed

2004-12-07 Thread Pascal Peters
Can not be done without submitting the form (remember session vars are server side and can't be accessed from the browser). However, you can submit the form without a button. Just add onClick=this.form.submit() in your radio buttons. Change the name of the radio to siteType. Submit to an action

Re: Hiding an action statement

2004-12-07 Thread Jim McAtee
What's their server setup like? If they can use a centrally available CF tag then they could accomplish the same thing by having an action page on each site that just runs the shared cfml tag. If they can do a server-level cf mapping of a common directory then they could post to a cf page in

Re: cfx hosting VPS Package

2004-12-07 Thread Paul Stewart
I am using Jordans (Vivo technologies) service just now and its great, revolutionary. $18! Try it its a real no brainer. Paul - Original Message - From: Jordan Michaels [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, December 06, 2004 5:08 PM Subject: Re: cfx hosting VPS

workingDaysInMonth()?

2004-12-07 Thread James Smith
Is there an easy way to tell how many working days there are in a month (Monday - Friday)? -- Jay ~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message:

Re: cfx hosting VPS Package

2004-12-07 Thread John Beynon
great if you want bluedragon, but i want CFMX :( jb. On Tue, 7 Dec 2004 09:59:00 -, Paul Stewart [EMAIL PROTECTED] wrote: I am using Jordans (Vivo technologies) service just now and its great, revolutionary. $18! Try it its a real no brainer. Paul - Original Message -

Re: cfx hosting VPS Package

2004-12-07 Thread John Beynon
which i'm sure is great if you want BlueDragon but i want CFMX :( jb On Tue, 7 Dec 2004 09:59:00 -, Paul Stewart [EMAIL PROTECTED] wrote: I am using Jordans (Vivo technologies) service just now and its great, revolutionary. $18! Try it its a real no brainer. Paul

Re: workingDaysInMonth()?

2004-12-07 Thread John Beynon
I use a tag, cf_busdatediff which you pass in a start date and end date, you can even send in public holidays and it will return the number of actual business days. If you can't find it anywhere shoot me a message offlist and i'll send it to you, john. On Tue, 7 Dec 2004 10:02:39 -, James

RE: workingDaysInMonth()?

2004-12-07 Thread James Smith
Don't worry, just created my own UDF to do the job, and isn't calculating easter a pain in the a***! For those who want it I have included it here. NOTE: This calculates working days in the UK, anywhere else you will have to adjust the bank holidays. cfscript /* This UDF is based on an excell

RE: workingDaysInMonth()?

2004-12-07 Thread David Manriquez
Cflib.org? -Mensaje original- De: James Smith [mailto:[EMAIL PROTECTED] Enviado el: Martes, 07 de Diciembre de 2004 7:03 Para: CF-Talk Asunto: workingDaysInMonth()? Is there an easy way to tell how many working days there are in a month (Monday - Friday)? -- Jay

Re: workingDaysInMonth()?

2004-12-07 Thread Rick Root
James Smith wrote: Is there an easy way to tell how many working days there are in a month (Monday - Friday)? cffunction name=workingDaysInMonth returnType=numeric output=no cfargument name=dt type=date required=yes cfset var retVal = 0 cfset var theDay = cfset var I = 0 cfloop

Re: OT: sql server: SQLTransaction

2004-12-07 Thread Bert Dawson
Are you sure the username is the one that is used from CF then? Yes, it definately the CF user - when i started looking at this i created a new new SQL login, and the only place this is used is in the DSN set up in CFadmin. How would you suggest i use a manual checkpoint? Just open up

RE: sql LIKE question

2004-12-07 Thread Jerry Barnes
Are all of the account numbers the same length? J -Original Message- From: Scott Mulholland [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 6:11 PM To: CF-Talk Subject: sql LIKE question Is there any way to force LIKE to match on leading zeros? If I have a query along

Re: Datasource service not available

2004-12-07 Thread Chris Norloff
We have the same problem. neo-query.xml just gets corrupt. This is particularly frustrating for us because we use J2EE datasources, not CFMX datasources (CFMX 6.1 on Websphere 5.1, Solaris 8). We even tried write-protecting neo-query.xml, but when CFMX restarts it strips off the write

Re: Datasource service not available

2004-12-07 Thread Douglas Knudsen
yeah, its on my maintenance list to back that file up from server to desktop because of this issue. I thought it was a bug listed though that would have been fixed in the updater, but nope. DK On Tue, 7 Dec 2004 08:45:14 -0500, Chris Norloff [EMAIL PROTECTED] wrote: We have the same problem.

Re: Datasource service not available

2004-12-07 Thread Chris Norloff
If I recall correctly, fixing a corrupt file that disables CFMX is considered an enhancement by Macromedia. [sigh] Chris Norloff -- Original Message -- From: Douglas Knudsen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Tue, 7 Dec 2004 08:57:05

RE: sql LIKE question

2004-12-07 Thread Pascal Peters
Are you sure searchString contains 0059 and not 59 ?? How is it defined? Pascal -Original Message- From: Scott Mulholland [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 00:11 To: CF-Talk Subject: sql LIKE question Is there any way to force LIKE to match on leading zeros?

RE: sql LIKE question

2004-12-07 Thread Scott Mulholland
No, they vary between 8-10 characters, the field is a varchar(10), sql server. -Original Message- From: Jerry Barnes [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 8:27 AM To: CF-Talk Subject: RE: sql LIKE question Are all of the account numbers the same length? J

RE: Hiding an action statement

2004-12-07 Thread Dave Watts
What is the best way to hide/encrypt/disguise a url in an action statement in CF5, especially if they view source? cfscript application.key = whateveryouwant; // encrypt a url function url_encrypt(astring, key) { encstring = tobase64(encrypt(astring,key)); return

Re: CFLOGIN

2004-12-07 Thread Raymond Camden
Well, let me back up a bit. 1) The fact that CFLOGIN uses a cookie and NOT the session scope isn't a bug. It's just wierd. To tie it, you have to write custom code. Go to my blog and do a search for cflogin. 2) The security issue with CFLOGIN/Session HAS been posted to Macromedia I'm mostly

RE: Datasource service not available

2004-12-07 Thread James Holmes
This enhancement (lol) has been officially on the books as a bug since 2002. That's a long time to wait for a fix. -Original Message- From: Chris Norloff [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 December 2004 10:03 To: CF-Talk Subject: Re: Datasource service not available If I recall

RE: CFLOGIN

2004-12-07 Thread James Holmes
Is this the bug where security credentials/roles are cached if session storage is used? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 December 2004 10:26 To: CF-Talk Subject: Re: CFLOGIN Well, let me back up a bit. 1) The fact that CFLOGIN uses a

Re: CFLOGIN

2004-12-07 Thread Raymond Camden
That should be it, yes. On Tue, 7 Dec 2004 22:34:23 +0800, James Holmes [EMAIL PROTECTED] wrote: Is this the bug where security credentials/roles are cached if session storage is used? -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Tuesday, 7 December

Re: CFLOGIN

2004-12-07 Thread Raymond Camden
Here is a link: http://www.sargeway.com/sarge/index.cfm?mode=entryentry=21 On Tue, 7 Dec 2004 08:34:47 -0600, Raymond Camden [EMAIL PROTECTED] wrote: That should be it, yes. On Tue, 7 Dec 2004 22:34:23 +0800, James Holmes [EMAIL PROTECTED] wrote: Is this the bug where security

Re: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread Adrocknaphobia
I hate to break it to you but with 90%+ market share... IE is the standard... regardless of what the W3C has to say about it. I don't agree with it, i wish IE was complaint, but the reality is that they define the standard. -Adam On Mon, 06 Dec 2004 21:21:28 -0500, Umer Farooq [EMAIL PROTECTED]

MySQL query question

2004-12-07 Thread Todd
In one table I have an ID as the primary key. In a second table, I have a string that is made out of that ID. I'm trying to match the two. The string looks like this: /folder1/folder2/some_other_stuff_that_changes/123.txt where 123 is the ID from the first table. How can I match the two

Re: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread Adrocknaphobia
Andrew, I agree with you. If you are developing an _application_ not a public website, I then I think you should have the liberty to design it to any browser you want. If developing an application for IE only makes your app easier to use then more power to you. All these people act like

RE: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread Paul
Haha! Touche! -Original Message- From: Adrocknaphobia [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 7:52 AM To: CF-Talk Subject: Re: SOT: Browser Stats (stirring the pot) Andrew, I agree with you. If you are developing an _application_ not a public website, I then I think

Uploading CSV files with CR's

2004-12-07 Thread Aaron Rouse
I have a CSV file that I need to build a web interface for uploading into our Oracle database. One of the things I noticed is this data has a CR within it, such as blah,1,12042004,this has a CR right here[]and then more text,blahblah,45 ... and each line ends with a CR. I was wanting to use some

Re: Uploading CSV files with CR's

2004-12-07 Thread Dave Carabetta
On Tue, 7 Dec 2004 09:00:22 -0600, Aaron Rouse [EMAIL PROTECTED] wrote: I have a CSV file that I need to build a web interface for uploading into our Oracle database. One of the things I noticed is this data has a CR within it, such as blah,1,12042004,this has a CR right here[]and then more

Re: Uploading CSV files with CR's

2004-12-07 Thread Ben Doom
I would do a replace on each text zone, replacing the CR with something untypable and ignored by the DB (I usually use the bell, chr(7), but choose what you like). You could then either replace on export or use a DB replace function (I'm not familiar with Oracle, but I'm sure it has one) to

RE: MySQL query question

2004-12-07 Thread Eric Creese
why would you not store the id in the second table as a FK to the PK in table one. I think that is just good table design and will easily accomplish what you are trying to do and will more than likely return your results much faster. -Original Message- From: Todd [mailto:[EMAIL

Re: Uploading CSV files with CR's

2004-12-07 Thread Aaron Rouse
Thanks, I will have a look at it this evening when I have access to my test files. Now that is the one that requires the jar file to be installed on the server? This is for CFMX, was hoping to avoid needing to have anything installed on the server since our data center really fights doing

RE: Hiding an action statement

2004-12-07 Thread Phillip Holmes
What is the best way to hide/encrypt/disguise a url in an action statement in CF5, especially if they view source? Apologies.. typo (late night). Terry, With these functions you can hide the page and or url variables. You encrypt it on the form and then unencrypted it on the other end. You

Re: Uploading CSV files with CR's

2004-12-07 Thread Aaron Rouse
Ben, Normally I would just replace it with a space and leave it at that. What I do not know how to do is to apply said replace before the readLine() function is applied. It would have to be a replace that is conditional, meaning only happens if the CR is found within double quotes. Guess the

Re: MySQL query question

2004-12-07 Thread Todd
A couple of reasons. 1. This wasn't thought about ahead of time and there is several months worth of data in the table already. 2. I have no control over the database. This makes for a bad combination :) So. I have to work with what I have. - Original Message - From: Eric

Re: Uploading CSV files with CR's

2004-12-07 Thread Ben Doom
Ah, I see. I had it backwards -- I thought you were creating the file, not reading it. You could do some rudimentary parsing on each line as it's read. Look to see if there are the right number of delimiters (like paired double quotes or whatever) using a regular expression. If not, append

Re: Uploading CSV files with CR's

2004-12-07 Thread Aaron Rouse
I could see how that would be done when using CFFile and parsing through the file. However I am missing how to do it when using this other approach. I must admit I am going on only my first cup of coffee right now so my lack of thinking juice might be the cause for lack of vision right now ;)

RE: MySQL query question

2004-12-07 Thread Paul
I agree with Eric in the suggestion to normalize your structure (a single script/update statement could take care of updating your several months of records and make your life simpler in the future...) But, since I've worked in similar situations with databases that make no sense, I understand

Re: Uploading CSV files with CR's

2004-12-07 Thread Ben Doom
Something like this: cfloop condition=#IsDefined(line)# cfif (enough_data(line)) cfset ArrayAppend(linesArray, line) cfset line = /cfif cfset line=linejBuffer.readLine() /cfloop Where enough_data() counts the number of datapoints in the line. How you do this would depend on

Invalid Precision Value

2004-12-07 Thread Claremont, Timothy
I am getting an occasional error message upon form submission that says: Invalid Precision Value Predictably enough, the line referenced is my database insert line, which reads as follows: cfinsert datasource=Falls tablename=tblFalls Noteworthy is the fact that there are close to 50 form

RE: MySQL query question

2004-12-07 Thread Eric Creese
I would suggest trying to get the change, the most they can say is no. Else you are going to have to do some removing of characters something like this may work file = http:/www.yoursite.com/images/123.gif Select * from some_table where

Re: MySQL query question

2004-12-07 Thread Jochem van Dieten
Todd wrote: In one table I have an ID as the primary key. In a second table, I have a string that is made out of that ID. I'm trying to match the two. The string looks like this: /folder1/folder2/some_other_stuff_that_changes/123.txt where 123 is the ID from the first table. How can I

Re: MySQL query question

2004-12-07 Thread Todd
I was actually hoping I could use the field name in there instead of plain text. Logicly, something along the lines of '%' + ID + '.%' This make any sense? - Original Message - From: Paul [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 10:36 AM

Re: MySQL query question

2004-12-07 Thread Todd
That's what I was after. Thanks! Oh, and I am definately going to suggest they make a FK with that ID in there. - Original Message - From: Jochem van Dieten [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 10:37 AM Subject: Re: MySQL query question

Passing form scope to UDF to upload a file

2004-12-07 Thread Rick Root
I'm trying to make a UDF that allows me to do this: uploadFile(destination, form) The attached code is what I've written... and the dump looks good.. contains the path to the uploaded .tmp file.. In fact, if I change the code to dump the Form scope, it looks exactly the same. Why isn't this

Re: Uploading CSV files with CR's

2004-12-07 Thread Aaron Rouse
Ben, Thanks, I will give it a try this evening. As far as coffee, stuck in a training course right now so can not get any coffee until a break actually happens :( But the bright side is I am sitting here teaching myself Flash while the group is going over simple CSS. Aaron On Tue, 07 Dec

RE: valid e-mail addresses

2004-12-07 Thread Ken Ketsdever
We are sending a verification e-mail and requiring an action to verify the user and e-mail address. However, that is only for the people who register with us online. Which currently represents less than 10% of the 25,000 email addresses in our system. The other 90+% are collected during

Re: Invalid Precision Value

2004-12-07 Thread Ron Gowen
Precision...I believe..refers to the number of decimal places in a number...I would dump the form upon submission and check and see if you are getting any .23489759384759834 going into a DB field that is set to only accept say 2 decimal places..? On Tue, 7 Dec 2004 10:35:43 -0500, Claremont,

RE: sql LIKE question

2004-12-07 Thread Scott Mulholland
Yeah, looking at the query in the debugging information it is shown as 0059. -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 9:12 AM To: CF-Talk Subject: RE: sql LIKE question Are you sure searchString contains 0059 and not 59

OT-javascript

2004-12-07 Thread Eric Creese
Trying to run a simple print window java script but it fails here is the code. Object expected? !-- Begin function printWindow() { bV = parseInt(navigator.appVersion); if (bV = 4) window.print(); } // End -- /script a href=javascript:printWindow()Print This Page/a

MS Access DB Question

2004-12-07 Thread Ryan Mannion
Stupid question, but if an error page in my CF application were to give the name and location of the mdb file i'm using, what can I do to prevent users from going directly to that file and downloading the entire access database? Thanks Ryan

RE: MS Access DB Question

2004-12-07 Thread Steve Brownlee
Secure that directory and require authentication to access any of the file in it. If you're hosting this app, ask your hosting provider about doing that. Most have an easy process for securing directories. -Original Message- From: Ryan Mannion [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: MS Access DB Question

2004-12-07 Thread Adkins, Randy
Move the DB outside of the webroot -Original Message- From: Steve Brownlee [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:54 AM To: CF-Talk Subject: RE: MS Access DB Question Secure that directory and require authentication to access any of the file in it. If you're

Re: OT-javascript

2004-12-07 Thread Thomas Chiverton
On Tuesday 07 Dec 2004 16:45 pm, Eric Creese wrote: Trying to run a simple print window java script but it fails here On which line ? -- Tom Chiverton Advanced ColdFusion Programmer Tel: +44 (0)1749 834900 email: [EMAIL PROTECTED] BlueFinger Limited Underwood Business Park Wookey Hole Road,

One More List Question:

2004-12-07 Thread Les Mizzell
Given the below: cfset firstname = ListGetAt(emailLIST,1,|) cfset lastname = ListGetAt(emailLIST,2,|) cfset email = ListGetAt(emailLIST,3,|) ...and the list it's reading from looks like, with a blank second element: Steve || [EMAIL PROTECTED] How do I *force* a value for lastname - even if

RE: MS Access DB Question

2004-12-07 Thread Ben Forta
1) Don't show the full path. 2) Make sure the MDB is not under the Web root. 3) Don't use Access (ducking!). --- Ben -Original Message- From: Ryan Mannion [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:50 AM To: CF-Talk Subject: MS Access DB Question Stupid question,

RE: OT-javascript

2004-12-07 Thread Eric Creese
says line 1 -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 10:59 AM To: CF-Talk Subject: Re: OT-javascript On Tuesday 07 Dec 2004 16:45 pm, Eric Creese wrote: Trying to run a simple print window java script but it fails here On

RE: OT-javascript

2004-12-07 Thread Eric Creese
All I want it to do is bring up the print option from the browser menu -Original Message- From: Eric Creese Sent: Tuesday, December 07, 2004 11:07 AM To: CF-Talk Subject: RE: OT-javascript says line 1 -Original Message- From: Thomas Chiverton [mailto:[EMAIL PROTECTED] Sent:

RE: One More List Question:

2004-12-07 Thread Pascal Peters
http://www.cflib.org/udf.cfm?ID=507 Pascal -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 18:01 To: CF-Talk Subject: One More List Question: Given the below: cfset firstname = ListGetAt(emailLIST,1,|) cfset lastname =

RE: MS Access DB Question

2004-12-07 Thread Dave Watts
Stupid question, but if an error page in my CF application were to give the name and location of the mdb file i'm using, what can I do to prevent users from going directly to that file and downloading the entire access database? You should use a custom error page that doesn't show this

RE: OT-javascript

2004-12-07 Thread Pascal Peters
Debug JS with firefox. You will (probably) get more accurate info on the error Pascal -Original Message- From: Eric Creese [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 18:07 To: CF-Talk Subject: RE: OT-javascript says line 1 -Original Message- From: Thomas

Re: OT-javascript

2004-12-07 Thread G
Eric, I pasted your code into a file, added the opening script tag, and it ran just fine in IE 6. All I want it to do is bring up the print option from the browser menu -Original Message- From: Eric Creese Sent: Tuesday, December 07, 2004 11:07 AM To: CF-Talk Subject: RE:

Re: OT-javascript

2004-12-07 Thread Ray Champagne
I copied your code (added in the opening script tag, which I assume you forgot to leave out), saved and ran, and it worked fine for me (using IE 6 here). Ray At 11:45 AM 12/7/2004, you wrote: Trying to run a simple print window java script but it fails here is the code. Object expected? !--

RE: OT-javascript

2004-12-07 Thread Eric Creese
? -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:19 AM To: CF-Talk Subject: Re: OT-javascript I copied your code (added in the opening script tag, which I assume you forgot to leave out), saved and ran, and it worked fine for me

RE: OT-javascript

2004-12-07 Thread Ray Champagne
You can see it here: http://www.cvwp.com/test/test.html Does that help? Ray At 12:27 PM 12/7/2004, you wrote: ? -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:19 AM To: CF-Talk Subject: Re: OT-javascript I copied your code

RE: OT-javascript

2004-12-07 Thread Eric Creese
do not have firefox -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:15 AM To: CF-Talk Subject: RE: OT-javascript Debug JS with firefox. You will (probably) get more accurate info on the error Pascal

Re: OT-javascript

2004-12-07 Thread S . Isaac Dealey
Trying to run a simple print window java script but it fails here is the code. Object expected? !-- Begin function printWindow() { bV = parseInt(navigator.appVersion); if (bV = 4) window.print(); } // End -- /script a href=javascript:printWindow()Print This Page/a You really should

RE: Timezone and Daylight Savings

2004-12-07 Thread Stacy Young
Thanks Paul, I was hoping you were still hanging around here ;) Pls forgive my ignorance in this area, I am truly clueless...but learning. The datasource I'm running against has date/time stored in local time, EST. On the search parameter page of a report I'm offering a drop down similar to what

Re: One More List Question:

2004-12-07 Thread Les Mizzell
http://www.cflib.org/udf.cfm?ID=507 This looks like a start in the right direction. How would I apply it during the append process? cfset emailLIST = ListAPPEND(emailLIST, fromARRAY, |) Thanks, -- Les Mizzell ~| Special

RE: OT-javascript

2004-12-07 Thread Eric Creese
yes I am an idiot. -Original Message- From: Ray Champagne [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:37 AM To: CF-Talk Subject: RE: OT-javascript You can see it here: http://www.cvwp.com/test/test.html Does that help? Ray At 12:27 PM 12/7/2004, you wrote: ?

Re: OT-javascript

2004-12-07 Thread G
Eric, just add script on the line before the code you posted, and it works great. do not have firefox -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:15 AM To: CF-Talk Subject: RE: OT-javascript Debug JS with firefox. You

calling a CGI script from within CF

2004-12-07 Thread Todd
A question from one of the other guys here in the office: I need to call a CGI script from within a CF page. What makes this problematic is I need to preserve the environment variables set at the initial request, not when the process is spawned. What is the best way to do this?

RE: OT-javascript

2004-12-07 Thread Pascal Peters
Install it. The developer toolbar alone is worth it. Pascal -Original Message- From: Eric Creese [mailto:[EMAIL PROTECTED] Sent: 07 December 2004 18:34 To: CF-Talk Subject: RE: OT-javascript do not have firefox -Original Message- From: Pascal Peters [mailto:[EMAIL

RE: OT-javascript-Solved

2004-12-07 Thread Eric Creese
Like I said i am an idiot -Original Message- From: G [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:43 AM To: CF-Talk Subject: Re: OT-javascript Eric, just add script on the line before the code you posted, and it works great. do not have firefox -Original

OT: Spam Filters

2004-12-07 Thread Donna French
Sorry for the OT post, but I'm hoping someone has setup a great filtering system or list of keywords to filter by that won't mind sharing them. We use CrystalTech hosting and the spam filters are working fine, but the people within the company are driving me nuts asking when they will see a

RE: calling a CGI script from within CF

2004-12-07 Thread Dawson, Michael
How about CFHTTP or CFEXECUTE? -Original Message- From: Todd [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:48 AM To: CF-Talk Subject: calling a CGI script from within CF A question from one of the other guys here in the office: I need to call a CGI script from within

Elementary session question

2004-12-07 Thread Web Exp
Hi. I am new to session management in CF. My application inserts certain records into the database. After inserting each record, the user gets to see all the records that he added in this particular session. If the user closes browser, and adds more records, he should not see the ones that he

Re: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread Jim Davis
i do i run a dual boot system with xp suse 9.2 pro as soon as MM gets off their butts and makes studio mx 2004 run on linux, xp is gone! cant wait to get fully rid of it but i need at least flash dw and they wont run on linux yet COME ON MM Seems to me like a Mac would be the

Re: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread Nathan Strutz
I agree with pretty much everything Umer has said in this thread. Honestly, at the risk of hurting feelings and being called names and whatnot, the reason a web app that does the things we've talked about in this thread should not be cross-browser compatable is either a lack of skills on the

RE: Datasource service not available

2004-12-07 Thread Earl, George
Chris said: We have the same problem. neo-query.xml just gets corrupt. Does replacing the corrupt neo-query.xml file with a recently backed up version fix the problem (till MM provides a more permanent solution)? We are about to migrate to CFMX. Maybe I should I get familiar with this process .

RE: One More List Question:

2004-12-07 Thread Pascal Peters
It's meant to be applied on the finished list. If you create the list yourself, just replace empty values by something cfset emailList = ListAppend(emailList,REReplace(fromArray,^$,-),|) Pascal -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: 07 December 2004

Re: OT: Spam Filters

2004-12-07 Thread Jordan Michaels
Donna French wrote: Sorry for the OT post, but I'm hoping someone has setup a great filtering system or list of keywords to filter by that won't mind sharing them. We use CrystalTech hosting and the spam filters are working fine, but the people within the company are driving me nuts asking when

Re: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread dave
as time marches on and im getting ready to get a new puter soon anyways, yes, i am thinking bout a mac. i love linux and i just know as soon as i buy a mac MM will throw out a linux version ;) however, last night i did come upon a thread that supposedly will let studio 2004 run on linux with

RE: Elementary session question

2004-12-07 Thread Figy, Kam
CF session variables are based on a timeout and (as far as I know) cannot be made to expire when a browser is closed. An option might be to set a browser session cookie (the default behavior of cfcookie) which will expire when the browser closes, and check that - if it no longer exists then clear

Re: calling a CGI script from within CF

2004-12-07 Thread Todd
He ended up using cfexecute and passing all of the environment variables as command line params. - Original Message - From: Dawson, Michael [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 1:01 PM Subject: RE: calling a CGI script from within CF How

Re: Timezone and Daylight Savings

2004-12-07 Thread Paul Hastings
Stacy Young wrote: similar to what windows uses in the clock of the OS. Essentially the user picks the GMT/UTC offset they wish to use when running the report. sounds like you're casting to a TZ. in which case, i would imagine handling DST becomes important for users (at least on boundary

Re: SOT: Browser Stats (stirring the pot)

2004-12-07 Thread Nathan Strutz
Jim Davis wrote: That depends on where your logic lies. In our HTA applications, for example, the presentation is completely decoupled from the middle-ware, but is still IE specific (as only IE supports HTA). Yes, a HTA application would have more than a couple problems running in Firefox.

RE: OT-javascript

2004-12-07 Thread Phillip Holmes
Runs fine here. I noticed there was no opening script tag in your code on your first post. script !-- Begin function printWindow() { bV = parseInt(navigator.appVersion); if (bV = 4) window.print(); } // End -- /script a href=javascript:printWindow()Print This Page/a -Original

Re: Elementary session question

2004-12-07 Thread Web Exp
Thanks Kam, But I need to identify the records entered for that session. So, what information (other than cfid and cftoken) would be unique to that browser session? On Tue, 7 Dec 2004 11:23:15 -0700, Figy, Kam [EMAIL PROTECTED] wrote: CF session variables are based on a timeout and (as far as I

RE: sql LIKE question

2004-12-07 Thread Jerry Barnes
I am not a SQL guru so this may be way off. select accountkey fromcompanies where left(accountno,6) = '00' And accountno LIKE '%#searchString#%' You would have to count the leading zeros everytime though and adjust accordingly Which wouldn't be much fun.

RE: Elementary session question

2004-12-07 Thread Paul
Unless something has changed, this works: use the following cookies to force sessions to expire a session @ browser close, instead of letting the cookies persist for the length of the session timeout. cfcookie name=CFID value=#Session.CFID# cfcookie name=CFTOKEN value=#Session.CFTOKEN#

Enforce Strict Attribute Validation

2004-12-07 Thread Kazmierczak, Kevin
Did this server option disappear in when CFMX came out? Just curious. Kevin. ~| Special thanks to the CF Community Suite Silver Sponsor - CFDynamics http://www.cfdynamics.com Message:

Re: OT-javascript

2004-12-07 Thread Nathan Strutz
Oh gee, well you should get it http://www.getfirefox.com/ -nathan strutz Eric Creese wrote: do not have firefox -Original Message- From: Pascal Peters [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 11:15 AM To: CF-Talk Subject: RE: OT-javascript Debug JS with

RE: Elementary session question

2004-12-07 Thread Figy, Kam
Cookies are unique to a browser session (as a matter of fact, CF determines which session variables to belong to a browser by setting the CFID and CFTOKEN as cookies). Something like this (suppose SESSION.records contains whatever records are in a session): cfif NOT IsDefined( 'COOKIE.session' )

CFFM almost finished

2004-12-07 Thread Rick Root
Okay, i think I'm almost done with CFFM - the Coldfusion File Manager I've added just about all the features I've seen suggested cleaned and organized the code, etc... I've added image manipulation (flip, flop, resize, scale), unzip / view zip, the ability to upload multiple files, file

RE: Enforce Strict Attribute Validation

2004-12-07 Thread Tangorre, Michael
One of the biggest differences between previous versions of ColdFusion and ColdFusion MX is that ColdFusion MX has strict validation for CFML syntax. Invalid tag attributes will result in errors. ColdFusion 5 and earlier versions have a switch in the ColdFusion Administrator Settings page called

really getting into CFCs

2004-12-07 Thread Paul
I'm about to embark on a large new project and would like to first be sure I'm making it as easy as I can to manage later. I use CFCs now, but I have a feeling I'm not really getting the most of out of them. Where can I go to really learn the in-depth stuff? Online I seem to find all the

RE: Enforce Strict Attribute Validation(NEVERMIND)

2004-12-07 Thread Kazmierczak, Kevin
Nevermind, I found it. One of the biggest differences between previous versions of ColdFusion and ColdFusion MX is that ColdFusion MX has strict validation for CFML syntax. Invalid tag attributes will result in errors. ColdFusion 5 and earlier versions have a switch in the ColdFusion

Basic ColdFusion sending E-mail question.

2004-12-07 Thread Ian Skinner
What is the actual behind the scenes processing when one uses a cfmail tag to generate an e-mail. How does the ColdFusion Application server interact with the e-mail server defined in the Administrator with both good and bad e-mails? -- Ian Skinner Web Programmer BloodSource

RE: CFFM almost finished

2004-12-07 Thread Ben Forta
Nice job. Hey, for rename, populate the form field with the existing name (the name being edited). -Original Message- From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 2:10 PM To: CF-Talk Subject: CFFM almost finished Okay, i think I'm almost done with CFFM -

  1   2   >