cfset structDelete(session.cart, url.sku)
/cflock
-Original Message-
From: Dave Watts [mailto:dwa...@figleaf.com]
Sent: Wednesday, September 09, 2009 5:19 PM
To: cf-talk
Subject: Re: Quick question on cflock...
Except for the fact that session.cart appears to be a struct, and lock
Brad or Dave... I take it that I don't want to have one unique name, eh?
Would it make more sense to do something like the code snippet below? A
combination of a descriptive phrase and a unique identifier? Thanks, Che.
cflock name=sessioncart-#session.sessionid# type=exclusive
timeout=20
What is the best pratice when in comes to using cflock looking at the code
snippets below? Basically does a session-based cfif block need to be
nested within a cflock or not? I'm pretty sure it does. Thanks, Che
cflock timeout=20 throwontimeout=No type=READONLY scope=SESSION
cfif
If you are on CF8+, then my understanding is that locking READ functions is
no longer required. If you're still on CFMX 7, then, yes, cfif
arrayLen(session.customer.custerrors) is a READ function and should be
locked.
Or was it is CFMX 7 that made the READ lock less important?
On Wed, Sep 9, 2009 at 11:04 AM, Jason Fisher ja...@wanax.com wrote:
If you are on CF8+, then my understanding is that locking READ functions is
no longer required. If you're still on CFMX 7, then, yes, cfif
arrayLen(session.customer.custerrors) is a READ function and should be
locked.
: Wednesday, September 09, 2009 2:05 PM
To: cf-talk
Subject: re: Quick question on cflock...
If you are on CF8+, then my understanding is that locking READ functions is
no longer required. If you're still on CFMX 7, then, yes, cfif
arrayLen(session.customer.custerrors) is a READ function and should
Thanks for the clarification, Charlie. Something in the back of my mind
was hollering CF7 at the end of that last post, which is what made me
post that last caveat. Your point about the race conditions is the key,
definitely. In most of my apps, the chance of a race condition within the
On CF8, following Charlie's response earlier, you do NOT need a READ lock,
unless you think there could be race conditions (a pending Ajax call that
writes the var you're trying to read, for example). If you DO need to
lock, then, yes, the lock would go *outside* of the CFIF statement, since
Muchas gracias... thanks Jason... thanks for the affirmation...
-Original Message-
From: Jason Fisher [mailto:ja...@wanax.com]
Sent: Wednesday, September 09, 2009 2:22 PM
To: cf-talk
Subject: RE: Quick question on cflock...
On CF8, following Charlie's response earlier, you do NOT need
I think it was CFMX 7 that made it less important.
Actually, no, that was CF 6.x.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore,
What is the best pratice when in comes to using cflock looking at the code
snippets below? Basically does a session-based cfif block need to be
nested within a cflock or not? I'm pretty sure it does. Thanks, Che
cflock timeout=20 throwontimeout=No type=READONLY scope=SESSION
cfif
...@figleaf.com]
Sent: Wednesday, September 09, 2009 2:46 PM
To: cf-talk
Subject: Re: Quick question on cflock...
Third, you DON'T WANT TO LOCK AN ENTIRE SCOPE! This is why God* gave us
named locks. In CF 5 and earlier, you had to lock the scope to prevent
serious problems unrelated to the actual
session.customer.custerrors[1] = 'foo'!--- this line would
error if the array was emptied before we reached it ---
/cfif
/cflock
~Brad
Original Message
Subject: Quick question on cflock...
From: Che Vilnonis ch...@asitv.com
Date: Wed, September 09, 2009 12:54 pm
To: cf-talk cf-talk
Dave, would this be a better approach? Also, can you use any name you want
as long as you are consistent? See below. Thanks, Che
cflock name=#session.cart# type=exclusive timeout=20
cfset structDelete(session.cart, url.sku)
/cflock
Yes, that would be a better approach, and yes, you
Except for the fact that session.cart appears to be a struct, and lock
names must be a string. You might want to take off those pound signs.
:)
~Brad
Original Message
Subject: Re: Quick question on cflock...
From: Dave Watts dwa...@figleaf.com
Date: Wed, September 09, 2009
Except for the fact that session.cart appears to be a struct, and lock
names must be a string. You might want to take off those pound signs.
:)
Except that if you remove the hashes, you'd have a single name
session.cart for all shopping cart locks across all sessions. D'oh!
Dave Watts, CTO,
Yeah.
Maybe if you ask nicely, Mike D (not this Mike D, the HOF one :-) can
remove the post from the archives so at least it disappears from
Google.
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/
2009/3/28 Dawson, Michael m...@evansville.edu:
I didn't want to
Hey Dave,
I wanted to ask you a quick question since you have been in the CF world for
so long. I am trying to get some real world information on CF jobs in a
secure environment.
Currently, I have a Secret clearance and I'm working in a job that uses
that. However, hopefully in a few months I
I didn't want to submit this to the list as obviously my name would be
attached and googled right next to it. But, if you have any experience
or any suggestions where I can go to find some facts and figures I
appreciate it.
Ooops!
The list saw it.
m!ke
too.
Adrian
Building a database of ColdFusion errors at http://cferror.org/
-Original Message-
From: Dave Phillips
Sent: 15 November 2008 23:30
To: cf-talk
Subject: Re: Quick question on session issue (hopefully)
Well, that didn't help either. I moved it to another server and it works
Hey folks,
I have a quick question (hopefully). Something weird is going on, and I
canât place it, and Iâm feeling like I'm having a brain freezeâ¦. This
shouldnât be an issue.
I have a simple application in MX 7. Application.cfm has the following:
cfapplication name=zarts_tag5
Is statistics.cfm on the same domain?
Dump out your cfid and cftoken to see if they stay the same on the redirect.
~Brad
- Original Message -
From: Dave Phillips [EMAIL PROTECTED]
To: cf-talk cf-talk@houseoffusion.com
Sent: Saturday, November 15, 2008 2:08 PM
Subject: Quick question
at 3:08 PM, Dave Phillips
[EMAIL PROTECTED] wrote:
Hey folks,
I have a quick question (hopefully). Something weird is going on, and I
can't place it, and I'm feeling like I'm having a brain freeze
. This
shouldn't be an issue.
I have a simple application in MX 7. Application.cfm has
To answer both Brad and Dan:
Brad: Yes, I have dumped the session and CFID, CFTOKEN and SESSION ID are all
the same in both dumps. The dump in login_exec.cfm that shows
session.isAuthorized value of true, and the dump in statistics.cfm that shows
session.isAuthorized false, right after the
different application names?
On 11/15/08, Dave Phillips [EMAIL PROTECTED] wrote:
To answer both Brad and Dan:
Brad: Yes, I have dumped the session and CFID, CFTOKEN and SESSION ID are
all the same in both dumps. The dump in login_exec.cfm that shows
session.isAuthorized value of true, and
Subject: Re: Quick question on session issue (hopefully)
To answer both Brad and Dan:
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk
Same application name. I even tried this:
Instead of redirecting, I did the following in login_exec.cfm:
cfdump var=#session#
cfset session.isAuthorized = true
a href=statistics.cfmStatistics/a
cfdump var=#session#
cfabort
When I got to this page, I could see my session.isAuthorized was set to
Try appending cfid and cftoken to the url before going to your
statistics page. If the cfid/cftoken stays the same and your session
sticks, then you'll know that something is going on with the cookies.
Judah
On Sat, Nov 15, 2008 at 1:11 PM, Dave Phillips
[EMAIL PROTECTED] wrote:
Same
Well, that didn't help either. I moved it to another server and it works fine,
so apparently my code is not the issue.
I restarted ColdFusion and that didn't help the situation either. The bottom
line is, my session variables aren't getting persisted, but only on this
machine. Again, I've
I think one requirement for session replication is to turn on J2EE
sessions - do you have that on?
On Sat, April 19, 2008 13:30, WebSite CFtalk wrote:
Hello,
I'm struggling with a cluster setup. (IIS6/CF8, 2 servers with 2
instances each)
The problem is session replication - tons of errors
You also need to name your instances uniquely. Even if you just copied
the ear/war file, the instance names in the Enterprise Admin (JRun
admin) cannot match. Just another thing to check.
Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog
clustering - quick question.
I think one requirement for session replication is to turn on J2EE
sessions - do you have that on?
On Sat, April 19, 2008 13:30, WebSite CFtalk wrote:
Hello,
I'm struggling with a cluster setup. (IIS6/CF8, 2 servers with 2
instances each)
The problem is session
we have unique ports per server (that is port 8301 8302 is used on two
server), but we are having issues adding a third server to the cluster - I
too would be interested in hearing a authoritative view on this question.
On Sun, Apr 20, 2008 at 1:30 AM, WebSite CFtalk [EMAIL PROTECTED] wrote:
Hello,
I'm struggling with a cluster setup. (IIS6/CF8, 2 servers with 2
instances each)
The problem is session replication - tons of errors regarding session
replication failed in the logs:
19/04 19:01:40 error Setup of session replication failed.
[2]java.io.StreamCorruptedException:
Hi,
I have a small cfwindow in my app. Currently this window displays
a) bla bla...
b) blaB blaB...
c) blaC blaC...
What is more desirable presentation-wise (for clarity, non cluttered overall
presentation) would be:
Display a) only and upon mouse over to this window, display b) and c) as
Can you post the code you are using to generate this display
currently? This way we can help you alter it to get the results that
you desire.
William
On Mar 14, 2008, at 9:59 AM, Don L wrote:
Hi,
I have a small cfwindow in my app. Currently this window displays
a) bla bla...
b) blaB
Hi William,
short version
-
1. run a qry
2. display data
table
cfoutput query=getStuff
trtd valign=top colspan=3b#title#/bbr/
#ParagraphFormat(description)#/td
/tr
/cfoutput
/table
Not tested, but should at least get you started.
style
.showdiv {visibility: visible; display: block;}
.hidediv {visibility: hidden; display: none;}
/style
table
div onMouseOver=showMore() onMouseOut=showLess()
cfoutput query=getStuff
trtd
William,
Would the intent of the following code extract each paragraph from ONE/SAME
row, hence, show/display the First Paragraph by default, then use OnMouseOver,
OnMouseOut event handlers to show the rest paragraph as well?
trtd valign=top colspan=3div id=row#currentrow#
the intent is to display the first query result in full. When the
table area is moused over, then display all of the other results.
Once you mouseout of the table area, only the first result should be
showing.
If I have your intention incorrect, please let me know and I will try
to
Sorry, William, your interpretation wasn't in 'snyc' with me. The intent was,
extract each paragraph from ONE/SAME row,
hence, show/display the First Paragraph by default, then use OnMouseOver,
OnMouseOut event handlers to show the rest paragraph and all the rest.
There might be p tag within
I can think of several different ways to accomplish what you are
looking for, but each one of them would add a little bit of
processing to the CF side of things, as well as the javascript code
(which shouldn't slow the download at all). How slow is your page to
load already?
William
On
for instance, since you are using the paragraphformat function, you
can have a 2nd function that checks to see if there is more than 1
open 'p' tag in the results. If there is, then have it add a 'span'
tag before the 2nd 'p' tag and then a closing 'span' tag at the end.
have this span
Very much appreciate it, William, it's not on my priority list for now... let's
deal with it another day... the window is not slow (but I'm a speed/efficiency
maniac...)
for instance, since you are using the paragraphformat function, you
can have a 2nd function that checks to see if there is
I have a profile form that has about 7 drop-down menus (marital status,
education level, etc.), all required fields.
How do most handle this? Do you create a separate table for each collection
and then have foreign keys on the profile table, or do you simply pass in
literal values to the
Joel,
if you want to have your database relational to 3rd normal form then yes you
should have separate tables for all of your lookups. Databases are designed
to work well with joins of that nature and if you build your indexes
correctly you should be ok. A lot of people forget to add indexes
Joel,
if you want to have your database relational to 3rd normal form then yes you
should have separate tables for all of your lookups. Databases are designed
to work well with joins of that nature and if you build your indexes
correctly you should be ok. A lot of people forget to add indexes
For improved performance you could build views that join the
tables together. Views are faster than running plain old
select queries and doing all the joins.
This is not generally true, actually. To improve performance, views have to
be indexed or materialized, and they generally aren't by
is I can rename options, add options, or inactivate
options and the entire site updates instantly without any new CF code.
~Brad
-Original Message-
From: Joel Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 18, 2007 11:08 AM
To: CF-Talk
Subject: Quick Question About Dbase
A single lookup table should work fine for this. I don't see a need to
create a different table for each lookup. Field structure
ID (int, indexed)
ItemType (varchar 25, indexed)
ItemStored (char3)
ItemDisplay(varchar 25)
The field lengths above are not set in stone, and I am assuming your
On 9/18/07, Matt Robertson [EMAIL PROTECTED] wrote:...
I suppose if you were a fanatic about data normalization you would create
a
table for 'lookups' and have it contain only ID and ItemType. Then your
lookup table has an indexed ParentID field (foreign key) replacing the
ItemType field.
Hi Tom,
You said: Or you can make a CAR of your CF7 settings
How do I do this? Once I have CF8 running, how do I import the settings?
-Jim
~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active
I've looked on Adobe and I just can't find the answer to a really easy
question regarding upgrading to CF8. If I've got CF 7 installed on our
internal development server, and I wanna upgrade it, is it better for
me to uninstall 7 before installing 8? Or should I just get the
upgrade and install it
On Wednesday 08 Aug 2007, [EMAIL PROTECTED] wrote:
internal development server, and I wanna upgrade it, is it better for
me to uninstall 7 before installing 8? Or should I just get the
upgrade and install it over top of 7?
I believe by default CF8 installs into a different directory, and
LHWH Interactive wrote:
I've looked on Adobe and I just can't find the answer to a really easy
question regarding upgrading to CF8. If I've got CF 7 installed on our
internal development server, and I wanna upgrade it, is it better for
me to uninstall 7 before installing 8?
Install CF 8 next
It's always better to do a clean install...but CF 8 will also import setting
from CF7 (and I believe 6).
Eric
-Original Message-
From: LHWH Interactive [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 08, 2007 8:37 AM
To: CF-Talk
Subject: Quick Question about upgrading to CF 8
I've
Can someone please explain to me what is gained by doing something like
this:
cfset setEncoding(form,utf-8)
cfset setEncoding(url,utf-8)
I've never concerned myself with character sets, and everything seems to
be okay for me. Are there any risks to *not* doing this?
Thanks,
Chris
--
Christopher Jordan wrote:
cfset setEncoding(form,utf-8)
cfset setEncoding(url,utf-8)
ensures that your URL form scope vars are *always* interpreted as utf-8 if
that was your original intent. these days, i guess it's normally used when your
encoding isn't utf-8 (though i have vague
If there is a race condition and you don't use readonly locks you are
going to get inconsistent data from that read.
On 1/31/07, Matt Robertson [EMAIL PROTECTED] wrote:
writes=yes. reads=no. At least thats my basic rule of thumb nowadays
-- with the race condition caveat.
--
CFAJAX docs
Dave, are you saying that it is NOT best practice, unnecessary in MX,
and a bad idea in previous versions
to (at beginning of script) copy your session structures to the
request scope, utilize them from the request scope during processing,
and then copy them back to session at the end?
You
to (at beginning of script) copy your session structures to the
request scope, utilize them from the request scope during processing,
and then copy them back to session at the end?
Definitely unnecessary in CFMX. I'd certainly be interested to see where you
have been reading that! The only
When you're talking about only reading, I think you're right, but Dave
seemed to go more general than that. I would much rather have full
unlocked access to a request scope structure to do writes to, than to
have to throw in locks around my writes to session scope.
With what I'm saying, you
David Gardner wrote:
Dave, are you saying that it is NOT best practice, unnecessary in MX,
and a bad idea in previous versions
to (at beginning of script) copy your session structures to the
request scope, utilize them from the request scope during processing,
and then copy them back to
When you're talking about only reading, I think you're right, but Dave
seemed to go more general than that. I would much rather have full
unlocked access to a request scope structure to do writes to, than to
have to throw in locks around my writes to session scope.
You do NOT have to lock writes
keep reading that post you copied in your message. You missed something.
and as Dave said... a meaningful race condition is not particularly
likely in any event in the session scope.
On 1/31/07, James Holmes [EMAIL PROTECTED] wrote:
If there is a race condition and you don't use readonly locks
Should I lock Session Scope Reads in MX 7?
There shouldn't be a race condition problem.
I know to lock writes, but how about Reads?
Additionally, If I'm on a shared server, how can I tell if they've
enabled automatic read locking ?
And yes, I konw that it's best practice to read session vars into
something like the request scope and then reference that new scope.
But I'm in someone else's code.
On 1/30/07, David Gardner [EMAIL PROTECTED] wrote:
Should I lock Session Scope Reads in MX 7?
There shouldn't be a race
Should be safe (if auto0locking is on).and ask the ISP if they've turned on
the auto-locking feature.if notyou must lock ;-)
Cheers
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell:
If race conditions shouldn't be a problem, there's no reason to lock.
Pre-MX, yes. Aside from race condition issues there were issues of
memory corruption. Nowadays, you kids have it easy :)
(not sure how about determining if the automatic locking is
enabled...but assuming i'm not totally off
Ah, so I've got one Yes and one No!
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 MX7 integration create powerful cross-platform RIAs
well now we went and gave him conflicting info :)
i'm under the impression that, as of MX+, locking is only necessary in
instances where race conditions could occur. he had originally stated
that race conditions shouldn't be a concern here.
am I understanding incorrectly (don't get me
he had originally stated
that race conditions shouldn't be a concern here.
shouldn't does not mean won't ;-) (sorry if that's too nit picky)
I'd just call the ISP and confirm if auto-locking is turned on (think it is by
default).if it's not...then we can clarify (I'm not sure either if
Yeah, there are ways around using session vars, but we don't have to
go there because that point is moot for my question. I'm stuck with
the other guy's code.
So are you saying that if auto-locking is OFF, that I would have to
lock session var reads?
and around and around we go..hehe
Nope I said I'm not 100% sure if it would be required for reads (mainly because
I don't use them).
My understanding of the auto-locking feature was if it's on you're fine and if
it's not then you must lock. Charlie thinks that for reads you should be OK.
So it may not be as black white as I
In CFMX, locking is only necessary if a race condition can be
encountered. Since this is the session scope, unless you are using
frames or otherwise simulrtaneously requesting data from the same
session, race conditions will not occur. You therefore do not need to
lock if this criterion is met.
would need
to lock the whole block in an exclusive lock to prevent it.
Russ
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 7:04 PM
To: CF-Talk
Subject: Re: Quick Question: Should I lock Session Scope Reads in MX 7
In CFMX, locking
writes=yes. reads=no. At least thats my basic rule of thumb nowadays
-- with the race condition caveat.
--
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2
Should be safe (if auto0locking is on).and ask the ISP if
they've turned on the auto-locking feature.if notyou
must lock ;-)
As of CF 6, there is no auto-locking feature. And, the danger of race
conditions is pretty minimal in the Session scope, in my experience.
Dave Watts,
And yes, I konw that it's best practice to read session vars
into something like the request scope and then reference that
new scope.
That is not a best practice. It is completely unnecessary in CFMX, and
generally a bad idea in previous versions.
Dave Watts, CTO, Fig Leaf Software
What is the best way to do dynamic sorting? I have a recordset that has
several columns, and the title row is a link that sends a URL parameter Sort
with the sort variable. Specifically what should I do with the query
results. Should I cache the results so I can use it each time they click on
a
What is the best way to do dynamic sorting? I have a
recordset that has several columns, and the title row is a
link that sends a URL parameter Sort with the sort variable.
Specifically what should I do with the query results. Should
I cache the results so I can use it each time they
Well that is the problem. There are so far over 40K records, and if the user
does not pick anything at all, then they get all of the records. So it could
be as small as one record or over 40K.
On 1/26/07, Dave Watts [EMAIL PROTECTED] wrote:
What is the best way to do dynamic sorting? I have a
Well that is the problem. There are so far over 40K records,
and if the user does not pick anything at all, then they get
all of the records. So it could be as small as one record or
over 40K.
Do you display them all within a single page? Have you considered requiring
filters? Nobody in
No, of course not. I am using Next N navigation, showing only 20 rows at a
time.
On 1/26/07, Dave Watts [EMAIL PROTECTED] wrote:
Well that is the problem. There are so far over 40K records,
and if the user does not pick anything at all, then they get
all of the records. So it could be as
No, of course not. I am using Next N navigation, showing only
20 rows at a time.
Do you want to resort just within those 20 rows, or across the entire
dataset? If you want to resort across the entire dataset, it would be easier
for you to do that on the server. You can use query-of-queries for
OK. Thanks.
~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 MX7 integration create powerful cross-platform RIAs
#chr(10)##chr(13)# will simulate a carriage return combination. Then when
you need to modify the string that has delimeters in it, you can use
ListChangeDelims to change delimeters or StripCR to yank out the trailing
10-13 comination.
Teddy
chr(10) chr(13) isn't it?
On Windows, text files use carriage return/line feed to begin a new line. On
Unix, text files use line feed alone, and on Mac Classic text files use
carriage return alone. The ASCII code for carriage return is 13, and the
code for line feed is 10, so if you want to
Say I have a list
cfset myList = test1 test2 test3
What list function would I use to make it
test1-test2-test3
Sorry for the newb question!!
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
ListChangeDelims()
In your example:
cfset myList=ListChangeDelims(myList, , -)
--- Ben
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 8:43 AM
To: CF-Talk
Subject: Quick Question
Say I have a list
cfset myList = test1 test2 test3
What
try:
cfset myList = test1 test2 test3
cfset newList = listchangedelims(myList,-, )
cfoutput#mylist#, #newlist#/cfoutput
On 8/31/06, Doug Brown [EMAIL PROTECTED] wrote:
Say I have a list
cfset myList = test1 test2 test3
What list function would I use to make it
test1-test2-test3
]
Sent: Thursday, August 31, 2006 8:43 AM
To: CF-Talk
Subject: Quick Question
Say I have a list
cfset myList = test1 test2 test3
What list function would I use to make it
test1-test2-test3
Sorry for the newb question
-Talk
Subject: RE: Quick Question
ListChangeDelims()
In your example:
cfset myList=ListChangeDelims(myList, , -)
--- Ben
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 8:43 AM
To: CF-Talk
Subject: Quick Question
Say I have a list
cfset
Question
ListChangeDelims()
In your example:
cfset myList=ListChangeDelims(myList, , -)
--- Ben
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 8:43 AM
To: CF-Talk
Subject: Quick Question
Say I have a list
cfset myList
realized what the problem was before I asked anyone else
to look at it.
--Ferg
-Original Message-
From: Mkruger [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 8:09 AM
To: CF-Talk
Subject: RE: Quick Question
Ah... another obscure function I forgot about... Tell the truth Ben
Ferguson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 9:39 AM
To: CF-Talk
Subject: RE: Quick Question
Sometimes I think I need one of those - I must be gettin' old because my
memory's leaving me. The other day I typed structKeyFind(...) and couldn't
figure out for the life of me why
Doug,
You could also try this..
cfset myNewList2='#ReReplace(mylist, ,-,all)#'
cfoutput#myNewlist2#/cfoutput
Enjoy,
Brian
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 9:11 AM
To: CF-Talk
Subject: Re: Quick Question
cfset myList
Doug,
Also I just noticed in Ben's last, the and - are reversed...
That's why it's not working for you..
Enjoy!
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 9:11 AM
To: CF-Talk
Subject: Re: Quick Question
cfset myList = test1 test2
=ListChangeDelims(myList, , -)
cfoutput#myNewlist#/cfoutput
Why is it not working?
- Original Message -
From: Ben Forta [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, August 31, 2006 6:50 AM
Subject: RE: Quick Question
ListChangeDelims()
In your example
That rocks! I never knew such a beast existed. Thanks Ben.
-Original Message-
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 31, 2006 9:34 AM
To: CF-Talk
Subject: RE: Quick Question
Wouldn't help, I'd need to carry a big old wall with me wherever I went
1 - 100 of 311 matches
Mail list logo