Re:Fusebox - whats the big deal anyway?

2003-12-10 Thread S . Isaac Dealey
Welcome. Glad to know it's appreciated. :) Good writing, thanks. Yep, Hal Helms has been a big proponent of OO for a while. He was working with a language called SmallTalk iirc prior to ColdFusion which was an OO language. And that probably also has a lot to do with his relationship to the new

RE: Application variables between two applications

2003-12-10 Thread Tim Blair
Now, how could I call this same object from the differenct application? You would think since it is in memory, there has to be way that I can retreive it. You can use the underlying java of CF to get a hold of the application scope for any currently active application: cfscript //

RE: Ever growing single quotes (')

2003-12-10 Thread A.Little
Yes, we've had that too, the solution we found was to use: cfqueryparam cfsqltype=... value=#preservesinglequotes(form.variable)# Doesn;t help for all those records where theres already a load of single quotes - but it should be easy enough to write an update query to get rid of those. Alex

Single-threaded server probs

2003-12-10 Thread d.a.collie
Hi all, The server in question is implemented with Single Threaded Sessions (that's just the way it is :-) The problem with single threaded sessions (as I am sure you are aware) is that if a request is taking a little bit longer than usual, the user often tries clicking away from the

Re: Ever growing single quotes (')

2003-12-10 Thread Jochem van Dieten
Ian Skinner wrote: Has anybody ever experienced a problem, where if you update a string in a SQL 2000 database with a cfqueryparam tag, each time the string is updated, an additional single quote is appended to each single quote in the string?

Re:Fusebox - whats the big deal anyway?

2003-12-10 Thread Scott . CTR . Stewart
Because of the code reuse in Fusebox I have saved substantial development time. sas Scott Stewart Web Application Developer, AMTI AIR-520 (202)-385-4545 Brainbench Certified Cold Fusion 4.5 Brainbench Certified HTML 3.2 S. Isaac Dealey [EMAIL PROTECTED]To: CF-Talk [EMAIL PROTECTED] cc:

Re: Question about memory usage under a CFMX 6.2 environment

2003-12-10 Thread Michael Hodgdon
Thank you.That looks helpful, and certainly something I can use.I implemented this yet, but it looks pretty thorough. Michael S Hodgdon Web Development Project Manager 617 - 669 - 7183 [EMAIL PROTECTED] - Original Message - From: Dave Carabetta To: CF-Talk Sent: Tuesday, December 09,

Run HTML through CFMX

2003-12-10 Thread Robert Everland III
I know this is on the forum somewhere, but I don't think I am typing the right search term. So how do I get HTML to run through CFMX. I know it isn't the suggested way, but I need to do it. Thanks. bob [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Problems with PreserveSingleQuotes() WAS: Ever growing single quo tes (')

2003-12-10 Thread Ian Skinner
Trying to implement the solution provided by A.Little of using PreserveSingleQuotes() in the value of my cfqueryparam's to prevent the multiplication of single quotes('). Is there some reason why the following forms is illegal? PreserveSingleQuotes(trim(string)) OR

displaying the list items in a ticker

2003-12-10 Thread cf coder
Hello Everybody, I have a comma separated list. I want to display the list item(s) one after the other something like a ticker, starting from list position one to the length of the list. Can someone please show me how to do this? Or atleast if someone point me to some link which has a similar

RE: displaying the list items in a ticker

2003-12-10 Thread Raymond Camden
Are you asking for DHTML help (for the ticker) or just how to loop through the list? If you just need to loop through the list cfloop index=item list=#theList# cfoutput#item#/cfoutputbr /cfloop [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

losing client variables in mx6.1

2003-12-10 Thread Kelly Tetterton
There is a thread on the macr forums (http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=7threadid=384991) which seems to describe a problem we are now having: namely, that sometimes our client variables are getting lost. The short version: we are (intermittently) having the same

Re:Run HTML through CFMX

2003-12-10 Thread Jeremy Brodie
Use an include. cfinclude template=myfile.htm This is a pretty decent technique when you want to use an administrative form (in conjunction with CFFILE) to update static content i.e headers and footers or even long blocks of text. Jeremy I know this is on the forum somewhere, but I don't

Re:displaying the list items in a ticker

2003-12-10 Thread cf coder
no actually I'm asking for some DHTML help. The idea behind is that I call a webservice which returns a comma separated list of items, I then display each item in a div or somewhere in the browser one after the other. I don't have a clue how to do this. I'd appreciate your help Best Regards CF

RE: displaying the list items in a ticker

2003-12-10 Thread Raymond Camden
Sorry, I haven't worked in DHTML in ages. I'd much rather work in Flash. ;) As it stands, I bet if you Googled for dhtml ticker, you would probably find a bunch of scripts. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re:Run HTML through CFMX

2003-12-10 Thread Robert Everland III
I have a massive static HTML website that I need to add a security layer. So including a file won't work. Bob Use an include. cfinclude template=myfile.htm This is a pretty decent technique when you want to use an administrative form (in conjunction with CFFILE) to update static

RE: Application variables between two applications

2003-12-10 Thread Ricky Fritzsching
Thanks Tim! I will definitely try that out. Ricky _ From: Tim Blair [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 3:34 AM To: CF-Talk Subject: RE: Application variables between two applications Now, how could I call this same object from the differenct application? You

RE: Run HTML through CFMX

2003-12-10 Thread Pascal Peters
set up your webserver to run .htm / .html extensions through the CF app server. How to do this depends on the web server you are using. -Original Message- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: woensdag 10 december 2003 15:07 To: CF-Talk Subject: Re:Run HTML through

RE: Run HTML through CFMX

2003-12-10 Thread Heald, Tim
You make .htm or .html get parsed by CF in your web server.Then you add your security. How to do this depends on the web server. -- Timothy Heald Web Portfolio Manager Overseas Security Advisory Council U.S. Department of State 571.345.2319 The opinions expressed here do not necessarily

RE: Run HTML through CFMX

2003-12-10 Thread Jerry Johnson
I seem to remember (from other people posting to this list) that there is an XML config file to tell CFMX it needs to handle it also. I'm thinking April-May-ish. Check the archives Jerry Johnson [EMAIL PROTECTED] 12/10/03 10:14AM set up your webserver to run .htm / .html extensions through

Re: Run HTML through CFMX

2003-12-10 Thread Thomas Chiverton
On Wednesday 10 Dec 2003 14:07 pm, Robert Everland III wrote: I have a massive static HTML website that I need to add a security layer. So including a file won't work. :hmms You want to protext .htm file's via a CFML security system ? Keeping the existing HTML files intact ? Can you change the

Re:displaying the list items in a ticker

2003-12-10 Thread cf coder
I got this code from somewhere in the archive threads. HTMLHEADMETA HTTP-EQUIV=REFRESH CONTENT=2TITLEMonitor/TITLE/HEAD BODY bgcolor=#FF background=""> CFSET TheList = #lName# TABLE TR br CFLOOP FROM=1 TO=1 STEP=1 INDEX=temp CFSET Position = RandRange(1,ListLen(TheList))

Re: Re:Fusebox - whats the big deal anyway?

2003-12-10 Thread John Quarto-vonTivadar
Oh, I heartily agree! It is very important to always avoid making mistakes and knowing the future is the best way to achieve that. Or, in the words of former vice-President Dan Quayle, If we don't succeed, we run the risk of failure. SO in that sense I agree with your point.But you lost me a bit

OT: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread Oliver Cookson
Hi, I will shortly be needed a UK based payment processor or a merchant account to start receiving CC payments via the web. Can anyone recommend good\cheap UK based 3rd party payment processors and well priced merchant accounts as well? Thanks in advance. Cheers Oliver [Todays Threads] [This

Re: Prism Antivirus in HOF footer...

2003-12-10 Thread Howie Hamlin
Ha, right...should be: - user uploads file - virus scan - write to BLOB g - Original Message - From: Jim Davis To: CF-Talk Sent: Tuesday, December 09, 2003 9:40 PM Subject: RE: Prism Antivirus in HOF footer... Well - for what it's worth I would hope that the file is checked for

Re:displaying the list items in a ticker

2003-12-10 Thread Thane Sherrington
At 10:24 AM 10/12/2003 -0400, cf coder wrote: #ListGetAt(TheList,Position)# When displayed on the page, the page refreshes every 2 seconds and randomly displays the list item. How do I make sure that all the items in the list are displayed, only repeating a list item once after all list items

Re:Run HTML through CFMX

2003-12-10 Thread Robert Everland III
I wish it were that simple, but there is something that needs to be done in CF and I can't find it. Bob You make .htm or .html get parsed by CF in your web server.Then you add your security. How to do this depends on the web server. -- Timothy Heald Web Portfolio Manager Overseas Security

Re: OT: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread Ryan Mitchell
Www.secpay.co.uk They have a list of banks they work with On 10/12/03 3:29 pm, Oliver Cookson [EMAIL PROTECTED] wrote: Hi, I will shortly be needed a UK based payment processor or a merchant account to start receiving CC payments via the web. Can anyone recommend good\cheap UK based 3rd

Re: OT: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread Thomas Chiverton
On Wednesday 10 Dec 2003 15:29 pm, Oliver Cookson wrote: recommend good\cheap UK based 3rd party payment processors and well priced merchant accounts as well? I've used Barclays merchent services twice in the past with good results. -- Tom Chiverton Advanced ColdFusion Programmer Tel:

RE: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread d.a.collie
On Wednesday 10 Dec 2003 15:29 pm, Oliver Cookson wrote: recommend good\cheap UK based 3rd party payment processors and well priced merchant accounts as well? I'll chip in with one. Set a few accounts up for some clients a year or so ago and not had a peep of trouble out of any of

RE: OT: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread Tim Blair
Www.secpay.co.uk They have a list of banks they work with Secpay are good - they've got a Java interface into their system that can be used from CF.We're currently using www.protx.com for a project which is doing the job just fine. Support-wise I think that secpay do a better job - when we

Taking the plunge to IIS 6...

2003-12-10 Thread Che Vilnonis
I need book recommendations for learning IIS 6 from A to Z. Our company is switching half of our webservers to M$ from four pain free years working with Netscape iPlanet/Sun One. And is there any book out there that is better than Hal Helms book on ColdFusion CFCs (Discovering CFCs: ColdFusion MX

Re: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread d.a.collie
On Wednesday 10 Dec 2003 15:29 pm, Oliver Cookson wrote: recommend good\cheap UK based 3rd party payment processors and well priced merchant accounts as well? Also forgot the one we use the now www.streamline-direct.co.uk It's got a fairly dodgy looking site but support was quite good and

Re:Run HTML through CFMX

2003-12-10 Thread Jerry Johnson
I think this was it - only it was from mid-October. Go figure. http://www.houseoffusion.com/cf_lists/index.cfm?method=messagesThreadID=27883forumid=4#140564 Quote: oops, he didn't mention this Open the {serverRoot}\WEB-INF\web.xml . You can modify the extension mappings by adding these

Re:Run HTML through CFMX

2003-12-10 Thread Robert Everland III
I found it http://www.macromedia.com/support/coldfusion/ts/documents/tn18289.htm [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: OT: Payment Merchants Merchant Accounts (UK)

2003-12-10 Thread Stacy Young
Shameless plug #2 We process for UK merchants...and other international currencies. No merchant account required and free setup for CF-Talk folks. http://www.terrapayments.com http://www.terrapayments.com/(formerly Surefire Commerce) Cheers! Stace _ From: Ryan Mitchell [mailto:[EMAIL

RE: Payment Processors

2003-12-10 Thread Stacy Young
Time for my usual shameless plug. ;-) We integrate with CF...and a merchant account is not required. http://www.terrapayments.com http://www.terrapayments.com/ Free setup for CF-Talk folks! Cheers, Stace _ From: Rick Root [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 09, 2003 9:41

Re:displaying the list items in a ticker

2003-12-10 Thread cf coder
Thane Sherrington wrote: (Of course, you'd want to save the original list so you could start over once you had finished one pass through the list.) How do I save the original list? At 10:24 AM 10/12/2003 -0400, cf coder wrote: #ListGetAt(TheList,Position)# When displayed on the page, the page

RE: Run HTML through CFMX

2003-12-10 Thread Dave Watts
I have a massive static HTML website that I need to add a security layer. So including a file won't work. As many others have probably mentioned by now, you need to edit web.xml to make this work: servlet-mapping servlet-nameCfmServlet/servlet-name url-pattern*.html/url-pattern

Re:displaying the list items in a ticker

2003-12-10 Thread Thane Sherrington
At 11:08 AM 10/12/2003 -0400, cf coder wrote: Thane Sherrington wrote: (Of course, you'd want to save the original list so you could start over once you had finished one pass through the list.) How do I save the original list? First create your list, then do something like: cfset

Solution/suggetion...

2003-12-10 Thread Shahzad.Butt
Hi I am providing user a form to add new employees in the system. Problem I am facing is that users are adding same employees twice (as adding is managed by different departments). Now this adding form (dsp_addEmployee.cfm) is quite complicated and I dont want to touch it at all neither do I

RE: Solution/suggetion...

2003-12-10 Thread d.a.collie
You storing the NINO?Would be better check that DOB 1 possible way... Duplicate the form into the session scope Carry over to the continue page Set a flag upon submission of that page On your main act pagelook for the flag, and if there, rewrite all the session form structure into the local

SOT: Autofill Remember Password

2003-12-10 Thread Brad Roberts
When I add a remember me checkbox to my login form, IE refuses to prompt the user to remember the password.Once I remove the checkbox, it works as expected. Anyone know of a way to make it prompt the user (while keeping my checkbox)? Thanks, Brad [Todays Threads] [This Message]

Re:displaying the list items in a ticker

2003-12-10 Thread cf coder
ok here is my code, I've added what your bits too in it. HTMLHEADMETA HTTP-EQUIV=REFRESH CONTENT=2TITLEMonitor/TITLE/HEAD BODY CFSET TheList = #lName# TABLE TR cfset BackupList=TheList CFLOOP FROM=1 TO=1 STEP=1 INDEX=temp cfset Position = RandRange(1,ListLen(TheList)) cfset

RE: Solution/suggetion...

2003-12-10 Thread Brad Roberts
Here's how I'd do it (if I understand correctly). Before the user can get to the employee form (to add a new employee), have them enter the DOB (SSN may be better if that's part of your data).This would be one page with one form field. Once they have entered a DOB, query to look up employees

Re: Taking the plunge to IIS 6...

2003-12-10 Thread Jochem van Dieten
Che Vilnonis wrote: I need book recommendations for learning IIS 6 from A to Z. Our company is switching half of our webservers to M$ from four pain free years working with Netscape iPlanet/Sun One. Learning Windows is 90% of learning IIS and the Windows setup you choose will predetermine

RE: Solution/suggestion...

2003-12-10 Thread Ian Skinner
Just a suggestion, but I've never but I think something like this might work. You said, you didn't want to copy all the form data into new hidden fields. If you meant hand copy, this would do it automatically. form cfloop collection-#form# item=field input type=hidden name=#field#

RE: Another simple question...

2003-12-10 Thread Dave Watts
So you don't give out valid record IDs from your database every piece of the puzzle a hacker can get their hands on is bad ;-) I don't think this is really necessary to protect. Knowing a surrogate primary key for a specific record isn't a significant or useful piece of information, and

RE: Another simple question...

2003-12-10 Thread d.a.collie
Dave Watts wrote: I don't think this is really necessary to protect. Knowing a surrogate primary key for a specific record isn't a significant or useful piece of information, and from the attacker's perspective, # whatever URL parameter or form field gets a specific record is functionally

RE: Another simple question...

2003-12-10 Thread Raymond Camden
I've been mulling this over in my head for a while Is the preferred method of guarding against this sort of thing to create a UUID with every record and do a check of that when allowing db actions against the record? Any better (ie easier or less time consuming) methods to this?

RE: Another simple question...

2003-12-10 Thread d.a.collie
I've been mulling this over in my head for a while Is the preferred method of guarding against this sort of thing to create a UUID with every record and do a check of that when allowing db actions against the record? Any better (ie easier or less time consuming) methods to this? I

RE: Another simple question...

2003-12-10 Thread Dave Watts
I've been mulling this over in my head for a while Is the preferred method of guarding against this sort of thing to create a UUID with every record and do a check of that when allowing db actions against the record? Any better (ie easier or less time consuming) methods to this?

RE: Another simple question...

2003-12-10 Thread Raymond Camden
I don't think there is any preferred method outside of just making sure to apply you logic rules. For example: A press release will show up online if active=1 and pubdate today. Any SQL that gets PRs, wether it gets one PR or a list, should all obey the same rule. Ooops, I think

RE: Another simple question...

2003-12-10 Thread d.a.collie
I'm not sure what you're trying to accomplish, exactly. What I am thinking is that the person has authorisation, but has a list of available (say) articles he can delete... If the PK is used, then with a bit of URL manipulation he could prob delete a record that he didn't have access to see...

Re: Another simple question...

2003-12-10 Thread Jochem van Dieten
[EMAIL PROTECTED] wrote: Would it be preferable to have the check before every database action Yes. or would the above be sufficient security Obscurity is not the same as or a replacement for security. Jochem -- When you don't want to be surprised by the revolution organize one

RE: Another simple question...

2003-12-10 Thread d.a.collie
Would it be preferable to have the check before every database action Yes. or would the above be sufficient security Obscurity is not the same as or a replacement for security. Cheers guys...message understood:-) -- dc [Todays Threads] [This Message] [Subscription] [Fast

Calculating Holidays

2003-12-10 Thread Ian Skinner
Anybody know of any pre-built cold fusion functions/cfcs that will calculate various holidays for any given year.Looking for something with the most capabilities from the simple fixed holidays such as US July 4th and Christmas to the ever elusive Easter.It should at least cover the major

RE: Another simple question...

2003-12-10 Thread Dave Watts
What I am thinking is that the person has authorisation, but has a list of available (say) articles he can delete... If the PK is used, then with a bit of URL manipulation he could prob delete a record that he didn't have access to see... I realise you should do the check before delete,

Re: Calculating Holidays

2003-12-10 Thread Paul Hastings
i made a start into this using icu4j: http://cfg11n.blogspot.com/2003_09_01_cfg11n_archive.html http://www.sustainablegis.com/projects/calendars/holidaysTB.cfm getting official data is important but difficult. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User

Re: Calculating Holidays

2003-12-10 Thread Calvin Ward
Well, this is what occurs to me: I believe most holidays one of the following: - The x date in x month (25th of December) - The x number of x day of x month (Third Thursday of November) It's possible with some work those patterns should work for every holiday. You could preset the known

RE: CFMX Hosting w/ MySQL

2003-12-10 Thread Jason Egan
Stacy, That option is available at CFDynamics.com as well - Jason Egan VP Partner/Customer Relations Konnections, Inc. www.CFDynamics.com office801-337-0135 fax801-1394-1254 sales 866-CFDynamics -Original Message- From: Stacy Young [mailto:[EMAIL PROTECTED] Sent: Saturday,

Re: CFMX Hosting w/ MySQL

2003-12-10 Thread Cutter (CF-Talk)
Stacy, There's also a little company on Maryland's Eastern Shore called Delmarva Online (http://www.dmv.com). Very reliable, responsible, and reachable. Cutter Jason Egan wrote: Stacy, That option is available at CFDynamics.com as well - Jason Egan VP Partner/Customer Relations

Re:displaying the list items in a ticker

2003-12-10 Thread Thane Sherrington
At 11:34 AM 12/10/03 -0400, cf coder wrote: #DisplayItem# Now each time the page refreshes, the list will be reinitialised to its original length, right. So your logic does'nt ever get executed, does it? the list length will never be set to 0? Use a session variable for the list and/or the

RE: Calculating Holidays

2003-12-10 Thread Ian Skinner
Thanks, that's very much what I'm looking for.Are you willing to share? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 9:45 AM To: CF-Talk

RE: Single-threaded server probs

2003-12-10 Thread Nathan Strutz
We had a problem similar to this with CFMX. Our server didn't crash but we would get error reports here and there because of deleted variables and other wackyness. It took a while to track down and even longer to solve them all, but we did it. It took some creative locking skills to get the

RE: CFMX Hosting w/ MySQL

2003-12-10 Thread Ricky Fritzsching
Stacy: CFDynamics rocks the house man! Check 'em out! Ricky _ From: Jason Egan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 11:55 AM To: CF-Talk Subject: RE: CFMX Hosting w/ MySQL Stacy, That option is available at CFDynamics.com as well - Jason Egan VP

How to: Convert XML Object to Array

2003-12-10 Thread David Adams
How do I convert an XML object to a 2 dimensional array? Many thanks,Dave Adams [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Calculating Holidays

2003-12-10 Thread Paul Hastings
Thanks, that's very much what I'm looking for.Are you willing to share? don't i always? need to work thru some bugs with the ibm folks (these are in their queue), get a handle on the UTC issue (it assumes everything's UTC but that behavior might change as most civilized folks don't live in that

cferror causing me pain

2003-12-10 Thread Pete Ruckelshaus
CF MX 6.1/Windows XP I'm trying to implement some site-wide error handling using cferror, and it's really being a PITA. In my application.cfm file, at the very end, I have: cferror type=EXCEPTION template=/error/error.cfm exception=ANY cferror type=REQUEST template=/error/404.cfm error.cfm

RE: cferror causing me pain

2003-12-10 Thread Barney Boisvert
This is 100% opinion, but CFERROR should be a last ditch effort to make sure no error messages appear on the screen.You should always use one, but all your actual error trapping should be done with CFTRY..CFCATCH if at all possible. If you're using something like Fusebox or Mach-ii, it's a snap,

Cached Query Memory Usage- How to find out?

2003-12-10 Thread Nikhil Madani
I have a bunch of xml files from which my application creates cached queries for use in the application. While all the xml files put together are not more than a megabyte, memory usage on my CFMX 6.1 Server (Running on Windows 2003 and IIS 6.0; 1GB RAM) spikes up to about 400 MB when the app. is

Re: CFMX Hosting w/ MySQL

2003-12-10 Thread Doug White
self promotion! == Stop spam on your domain, use our gateway! http://www.clickdoug.com/mailfilter.cfm For hosting solutions http://www.clickdoug.com == If you are not satisfied with my service, my job isn't done! -

RE: Calculating Holidays

2003-12-10 Thread Ian Skinner
Sounds fair, even though I only really understood about 3 out 5 (60%) of the acronyms in that message. :-) But, I would be most willing to help track down more holiday definitions. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA -Original

Re: Calculating Holidays

2003-12-10 Thread Calvin Ward
UTC = Coordinated Universal Time which is Greenwich Mean Time (GMT) or Zulu Time. JAR = Java Archive (or something like that) which is similar to a zip file for Java and typically holds stuff like class files. - Calvin - Original Message - From: Ian Skinner To: CF-Talk Sent: Wednesday,

OT: MySQL DATETIME datatypes?

2003-12-10 Thread Greg Luce
Any of you MySQL heavyweights use UNIX_TIMESTAMP, UNIX_Date... or do you just use the MySQL Date/Datetime datatypes? I'm fairly new to MySQL, but I have an associate who insists that storing dates as int(11) using UNIX formats uses less disk space, and that we should always do this. The

Best practice for creating vars

2003-12-10 Thread Spectrum WebDesign
Hi all today i'm using this script to check and create our form vars: CFIF IsDefined(Form.Sale1Title) CFSET SESSION.Authenticated.Sale1Title=Form.Sale1Title /CFIF CFIF IsDefined(Form.Sale1) CFSET SESSION.Authenticated.Sale1=Form.Sale1 /CFIF CFIF IsDefined(Form.Memo1) CFSET

Re: Best practice for creating vars

2003-12-10 Thread Marlon Moyer
cfset session.authenticated = duplicate(form) marlon Spectrum WebDesign wrote: Hi all today i'm using this script to check and create our form vars: CFIF IsDefined(Form.Sale1Title) CFSET SESSION.Authenticated.Sale1Title=Form.Sale1Title /CFIF CFIF IsDefined(Form.Sale1) CFSET

RE: Best practice for creating vars

2003-12-10 Thread John Burns
cfloop index=I list=#form.formfields# cfset session.authenticated.[i] = form.[i] /cfloop I think that would work, or something to that effect -Original Message- From: Spectrum WebDesign [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 4:22 PM To: CF-Talk Subject: Best

RE: Best practice for creating vars

2003-12-10 Thread Andrew Scott
How about structAppend(session.authenticated,form) [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: cferror causing me pain

2003-12-10 Thread Dave Watts
I'm trying to implement some site-wide error handling using cferror, and it's really being a PITA. In my application.cfm file, at the very end, I have: cferror type=EXCEPTION template=/error/error.cfm exception=ANY cferror type=REQUEST template=/error/404.cfm error.cfm and 404.cfm are

RE: Best practice for creating vars

2003-12-10 Thread John Burns
Good call marlon, much easier. John -Original Message- From: Marlon Moyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 10, 2003 4:28 PM To: CF-Talk Subject: Re: Best practice for creating vars cfset session.authenticated = duplicate(form) marlon Spectrum WebDesign wrote: Hi

Re:Best practice for creating vars

2003-12-10 Thread Marlon Moyer
Forget what I wrote.I like Andrew Scott's answer better. cfset session.authenticated = duplicate(form) marlon [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: cferror causing me pain

2003-12-10 Thread Dave Watts
This is 100% opinion, but CFERROR should be a last ditch effort to make sure no error messages appear on the screen. You should always use one, but all your actual error trapping should be done with CFTRY..CFCATCH if at all possible. I would strongly disagree with this (not that my opinion

Re:Best practice for creating vars

2003-12-10 Thread Spectrum WebDesign
That variables settings occur when our multipage form is load... cfloop works? - Original Message - From: Marlon Moyer [EMAIL PROTECTED] Date: Wed, 10 Dec 2003 16:41:57 -0400 To: CF-Talk [EMAIL PROTECTED] Subject: Re:Best practice for creating vars Forget what I wrote.I like Andrew

RE: How to: Convert XML Object to Array

2003-12-10 Thread Dave Watts
How do I convert an XML object to a 2 dimensional array? There's no guarantee that a given XML document sensibly corresponds to a two-dimensional array. However, if your XML document is structured in such a way that it's analogous to a recordset, you can treat it as an array in CF already. Dave

RE: How to: Convert XML Object to Array

2003-12-10 Thread Dave Watts
How do I convert an XML object to a 2 dimensional array? There's no guarantee that a given XML document sensibly corresponds to a two-dimensional array. However, if your XML document is structured in such a way that it's analogous to a recordset, you can treat it as an array in CF

Re: Cached Query Memory Usage- How to find out?

2003-12-10 Thread Pete Freitag
Nikhil Madani wrote: I have a bunch of xml files from which my application creates cached queries for use in the application. While all the xml files put together are not more than a megabyte, memory usage on my CFMX 6.1 Server (Running on Windows 2003 and IIS 6.0; 1GB RAM) spikes up to

IIS isn't working today, why, help!

2003-12-10 Thread mayo
I've maxed out my troubleshooting skills. I couldn't reach my localhost (127.0.0.1) I went to admin tools component services and restarted CFMX. That didn't work. I restarted IIS. That didn't work. I restarted my laptop. (Win2000) That didn't work. Restarted it again. Checked to see if my asp

Re: OT: MySQL DATETIME datatypes?

2003-12-10 Thread Pete Freitag
Greg Luce wrote: Any of you MySQL heavyweights use UNIX_TIMESTAMP, UNIX_Date... or do you just use the MySQL Date/Datetime datatypes? I'm fairly new to MySQL, but I have an associate who insists that storing dates as int(11) using UNIX formats uses less disk space, and that we should

Re: Flash Instant Messenger Software?

2003-12-10 Thread Nashir Sunderji
Hi Novak talk to Mario at [EMAIL PROTECTED] he has one ready for use. Hope this helps Nashir - Original Message - From: cf-talk To: CF-Talk Sent: Monday, December 08, 2003 8:43 PM Subject: Flash Instant Messenger Software? Hi All, Before I go and reinvent the wheel... Does anyone

RE: Best practice for creating vars

2003-12-10 Thread Andrew Scott
There is no difference between using the cfloop or the StructAppend, they both do exactly the same thing. The only difference structAppend is 1 line of code compared to possible 3, or 1 if you condense it to 1 and that structAppend will run faster than the cfloop method. Mach-II uses this

RE: displaying the list items in a ticker

2003-12-10 Thread mayo
this is a common js/dhtml script. dhtmlcentral is a terrific resource http://www.dhtmlcentral.com/script/search.asp?category=text dynamicdrive.com has a lot of useful scripts: http://www.dynamicdrive.com http://www.dansteinman.com/dynduo/ is a good place to start picking up dhtml tricks and a

Re: Calculating Holidays

2003-12-10 Thread Paul Hastings
But, I would be most willing to help track down more holiday definitions. you might regret saying that publically.its a tough row to hoe. [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: Calculating Holidays

2003-12-10 Thread Paul Hastings
UTC = Coordinated Universal Time which is Greenwich Mean Time (GMT) or Zulu Time. JAR = Java Archive (or something like that) which is similar to a zip file for Java and typically holds stuff like class files. and just in case: i18n = internationalization for the 18 letters between the i n.

File Storage - Database vs. File System

2003-12-10 Thread Jeff Chastain
I am working on an application where the user will have the option to upload files to the server.The project specifications are open in terms of storage of the files, so I am wondering what are the benefits or downsides of storing a file in the database vs. storing it in the file system?I

cf 5 / mx / 6.1

2003-12-10 Thread Dan Farmer
Are there any known issues with using cfmodule and include files between CF5 and 6.1 ? I've built this system that relies heavily on cfmodule and custom tags being called and embedded within other custom tags. It works on my test system, but when I upload to staging server it seems to cut out

RE: File Storage - Database vs. File System

2003-12-10 Thread Jeff Garza
Use a dual approach... store the actual file somewhere on the Server, doesn't matter where and name it whatever you want (id number, guid, etc...) then store the file information in the DB (true file name, size, location on server, etc...).You pull the info from the DB and then you can cfcontent

Re: cferror causing me pain

2003-12-10 Thread Adam Churvis
This is 100% opinion, but CFERROR should be a last ditch effort to make sure no error messages appear on the screen.You should always use one, but all your actual error trapping should be done with CFTRY..CFCATCH if at all possible. This goes against the whole idea of how exception handling

RE: File Storage - Database vs. File System

2003-12-10 Thread Jim Davis
The nice thing about storing the file in the DB is that all your data is maintained in one place.This has many benefits some of which are: 1) One data store, one clean backup, one clean restore. 2) No issues with cluster redundancy: the file is only stored in one place regardless of whether

fusebox

2003-12-10 Thread Gabriel Robichaud
Hello all, I am looking into the FB framework and, well, I am just getting confused.There seems to be very little documentation on the fb website and I can really find any resources.Where should I be looking? Gabriel [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe]

  1   2   >