Simplest thing to do is
#session.questionDetails[1]['#currentID#']#
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 02, 2008 5:04 AM
To: CF-Talk
Subject: structures
Hi,
i can reference a structure to get the value no problem like this:
What do you get if you CFDUMP the value of
#session.questionDetails[1][currentID]# instead?
On Feb 2, 2008 8:04 PM, Richard White [EMAIL PROTECTED] wrote:
Hi,
i can reference a structure to get the value no problem like this:
cfoutput#session.questionDetails[1].subjectID#/cfoutput
but i
Hi James,
good idea!!!
i cfdumped it and it did output only 1 value e.g. '44' - the contents they are
supposed to be so im not sure why it is saying that it is a complex data type
thanks James
~|
Adobe® ColdFusion® 8
Hi James,
good idea!!!
i cfdumped it and it did output only 1 value e.g. '44' - the contents
they are supposed to be so im not sure why it is saying that it is a
complex data type
thanks James
~|
Adobe®
That looks right. Maybe something else is happening. Is there any more code
to show?
Here's some sample code to show that what you're after should work...
cfscript
st = StructNew();
st.a = A;
a = a;
/cfscript
cfoutput
p#st.a#/p
hr /
p#st[a]#/p
Hi Adrian, you are absolutely right, i was creating the structure directly from
a query, therefore even though the query is only returning 1 row it is still
saving as a complex structure
thanks very much, i have now sorted this out!!!
thanks again
--- Bangs Head on Desk ---
Duh!
-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2007 5:17 PM
To: CF-Talk
Subject: Re: Structures... How Do I properly write this?
As a StructKeyIsEmpty wouldn't be a key :-)
This e-mail is from
I fixed my typo but I'm still getting errors with the code below. The error
I now get reads: Element 1 is undefined in a CFML structure referenced as
part of an expression.
I'm sure this is a simple fix... What am I missing?
-Original Message-
Basically, I have nested structures. I want
Use this
cfloop from=1 to=#ArrayLen( xmlcontent.message.items.item )# index=x
cfif NOT StructKeyExists( stWSSB_Tickler, x )
cfset stWSSB_Tickler[x] = StructNew() /
/cfif
cfif ( NOT StructKeyExists( stWSSB_Tickler[x], 'tickler' ) )
OR
( StructKeyExists(
cfif NOT structKeyIsEmpty(stWSSB_Tickler[x])
StructKeyIsEmpty is not a function, I think you want StructIsEmpty.
-- Josh
~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade see new
Sent: Wed Jun 13 22:16:34 2007
Subject: Re: Structures... How Do I properly write this?
cfif NOT structKeyIsEmpty(stWSSB_Tickler[x])
StructKeyIsEmpty is not a function, I think you want StructIsEmpty.
-- Josh
~|
Create robust
I can't see why not.
On 4/9/07, Scott Stewart [EMAIL PROTECTED] wrote:
Hey all,
I have series of values that looks like this (sort of)
A, b
C, d
E, f
G, h
Can I put this into a structure?
Thanks
sas
--
Scott Stewart
ColdFusion Developer
SSTWebworks
7241
Sure thing (I think):
cfset objValues = StructNew() /
cfset objValues[ A ] = b /
cfset objValues[ C ] = d /
cfset objValues[ E ] = f /
cfset objValues[ F ] = h /
..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
Need ColdFusion Help?
Possibly. Is b the value of A? If each item on the left is meant to be a
key with it's intended value on the right, then by all means. Put that bad
boy into a structure.
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 8:12 AM
To: CF-Talk
-Talk
Subject: RE: Structures
Possibly. Is b the value of A? If each item on the left is meant to be a
key with it's intended value on the right, then by all means. Put that bad
boy into a structure.
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09
Okay...you could still put them into a structure if you want. What is it
that you're trying to accomplish?
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 8:25 AM
To: CF-Talk
Subject: RE: Structures
No, A and B are separate values.
sas
:
mainStruct.Something.One
mainStruct.Something.Two
__
Dave Konopka
http://www.lifelikeweeds.com/tech
-Original Message-
From: Scott Stewart [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 9:25 AM
To: CF-Talk
Subject: RE: Structures
No, A and B
this makes sense
--
Scott Stewart
ColdFusion Developer
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
http://www.sstwebworks.com
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 9:39 AM
To: CF-Talk
Subject: RE: Structures
Using ceateobject inside each iteration of the loop to create exactly
the same object each time is going to be part of that slowness...
On 4/9/07, Scott Stewart [EMAIL PROTECTED] wrote:
Here's what I've got so far... it works but it's not elegant and it's way
slow.
--
mxAjax / CFAjax docs
Thanks...
sas
--
Scott Stewart
ColdFusion Developer
SSTWebworks
7241 Jillspring Ct.
Springfield, Va. 22152
(703) 220-2835
http://www.sstwebworks.com
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, April 09, 2007 9:58 AM
To: CF-Talk
Subject: Re
The container takes care of the majority of threading issues for you;
only when multiple requests access the same data (i.e. session or
application scope) does threading matter to the application developer.
If you have request-level data, concurrency isn't be a concern unless
you're explicitly
Thanks Guys, that is some excellent info to keep in mind.
(and that I sometimes forget to think about (e.g. worked fine in
dev mode, how come it's all squirrly now?!?! ;)).
Yet I went with the thread safe ajax stuff at first... just cuz...
how haphazard of me. =P
I vow to become a more aware
On 10/1/06, D F [EMAIL PROTECTED] wrote:
Is there anything in Java similar to Coldfusions Structures?
Remember that ColdFusion is compiled to Java, so there's always going
to be a related data type between the two languages. In this case, you
want a HashMap, which is what a CF structure is
Thanks Dave, so presumably this HashMap object can be passed around through
various methods etc?
On 10/1/06, D F [EMAIL PROTECTED] wrote:
Is there anything in Java similar to Coldfusions Structures?
Remember that ColdFusion is compiled to Java, so there's always going
to be a related data
On 10/1/06, D F [EMAIL PROTECTED] wrote:
Thanks Dave, so presumably this HashMap object can be passed around through
various methods etc?
If I'm understanding what you're trying to to do, then yes, you can
pass Java objects just like you can pass CF objects around. The big
difference is that,
On 10/1/06, D F [EMAIL PROTECTED] wrote:
Thanks Dave, so presumably this HashMap object can be passed around
through various methods etc?
Pretty much. I think the one thing you need to keep in your head is
that in java, everything starts at 0, and CF starts with 1. There is a
word that I
Your probably better off with a java.util.Hashtable, as it is already
syncronised (thread safe), and more often than not, where are using
Hashtables in a web environment, they need to be thread safe.
That being said, java.util.Collections gives you some easy to use
utilities to create
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 7:56 PM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 6:58 PM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
So
: Tuesday, May 24, 2005 7:56 PM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 6:58 PM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
So, if you can't just use the structname
-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 10:41 AM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
This is what Isaac was talking about.
on CFMX 7 arraySum(queryname.coluname) doesn't work. But
arraySum(queryname
ha...
-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 10:08 AM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
-Original Message-
From: Mark A Kruger [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 26, 2005 10:41 AM
To: CF-Talk
I'm not sure you could actually make an argument one way or another. Like
most tools, they're better than the other depending on the situation. To say
that one is real is to assume the other is fake... and everyone knows
thats not the case.
Kevin
-Original Message-
From: Rebecca Wells
-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 5:30 PM
To: CF-Talk
Subject: Structures vs. Real Structures
This reminds me of something that my boss and I argued about... I said
that query recordsets and forms are structures, and he
So, if you can't just use the structname[structKey] kind of reference for a
query then how can you reference reference a query value using this model, if
at all?
-Original Message-
The FORM scope (and all other scopes) are plain-jane structs - there's no
real difference between them
actually you can...
queryname.columnName[rowNumber]
(which is a way to loop over query data in cfscript)
On 5/24/05, Rebecca Wells [EMAIL PROTECTED] wrote:
So, if you can't just use the structname[structKey] kind of reference for a
query then how can you reference reference a query value
-Original Message-
From: Rebecca Wells [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 6:58 PM
To: CF-Talk
Subject: RE: Structures vs. Real Structures
So, if you can't just use the structname[structKey] kind of reference for
a query then how can you reference reference
The thing that helped me understand structures more than anything else
was the good old CFDUMP tag. When I could see the structure it all
made sense.
On 4/24/05, Thane Sherrington [EMAIL PROTECTED] wrote:
At 12:57 PM 24/04/2005, Sean Corfield wrote:
If you're just getting your head around
On 4/25/05, Al Everett [EMAIL PROTECTED] wrote:
The thing that helped me understand structures more than anything else
was the good old CFDUMP tag. When I could see the structure it all
made sense.
The only thing to keep in mind if you're going to rely on CFDUMP to
learn structures is that
cfset myArrayOfStructs = ArrayNew(1)
cfset myArrayOfStructs[1] = StructNew()
cfset myArrayOfStructs[1].FName = Adrian
cfset myArrayOfStructs[1].LName = Lynch
cfset myArrayOfStructs[1].EMail = [EMAIL PROTECTED]
cfset myArrayOfStructs[2] = StructNew()
cfset myArrayOfStructs[2].FName = Thane
cfset
On 4/24/05, Thane Sherrington [EMAIL PROTECTED] wrote:
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as myStruct.myVar, but is there a way
to create an array of structures?
myArray = arrayNew(1)
myArray[1] = structNew()
At 12:57 PM 24/04/2005, Adrian Lynch wrote:
cfset myArrayOfStructs = ArrayNew(1)
cfset myArrayOfStructs[1] = StructNew()
cfset myArrayOfStructs[1].FName = Adrian
cfset myArrayOfStructs[1].LName = Lynch
cfset myArrayOfStructs[1].EMail = [EMAIL PROTECTED]
cfset myArrayOfStructs[2] = StructNew()
At 12:57 PM 24/04/2005, Sean Corfield wrote:
If you're just getting your head around this stuff, I strongly suggest
you buy Jeff Peters' book: ColdFusion Lists, Arrays Structures:
http://www.protonarts.com/index.cfm?fuseaction=Books.showBookDetailsISBN=0975264702
Thanks for the suggestion. I
If its a query structure your after you can just use... a query structure
Eg.
cfset person = QueryNew(fname,lname,email)
cfset QueryAddRow(person)
cfset QuerySetCell(person, fname John)
cfset querySetCell(person, lname, Doe)
cfset QuerySetCell(person, email, [EMAIL PROTECTED])
cfset
-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 24, 2005 11:21 AM
To: CF-Talk
Subject: Structures (probably a stupid question)
I'm trying to understand structures - I understand that they are like the
form scope in that I can access them as
At 12:57 PM 24/04/2005, Sean Corfield wrote:
If you're just getting your head around this stuff, I strongly suggest
you buy Jeff Peters' book: ColdFusion Lists, Arrays Structures:
Excellent advice. Jeff Peters' book is a great read. Real world examples, etc..
Will
Nevermind y'all, I see what I was doing now. ;)
CKC
Hello fam! It's been a while!! I am working on a project where I need
to be able to sort the results by the directory size. I am using the
custom tag to pull back the cfdirectory info (folder sizes) and then
nesting another one within that to
I'd use an array of structures, personally.
images[n].fileLocation = ;
images[n].fileTitle = ;
images[n].fileDescription = ;
Arrays lend themselves to looping better than structures, because the
order of elements returned in a structure loop is undefined.Arrays
will always return in the same
I figured it out.
On Wed, 15 Sep 2004 10:25:07 -0500, Phill B [EMAIL PROTECTED] wrote:
I'm trying to put some picture info into a variable that will be easy
for the designers to use.
I have to query a database to get specific images. I then tweak the
results and want to put them into a
its all in RAM, so how much you got?;) Hmmm, on a shared host
thingy under CF5, there was only one instance, eh?So all sites on
the host shared the RAM, correct?Under CFMX are hosts setting up
JRun instances for each site and sequestering/limiting each sites RAM?
Curious.
Doug
- Original
Thinking of putting a lot of info' in structures and stored in the
application scope that were previously accessed direct from the
database.
How big can these structures be and how does one guage a maximum size
assuming one can measure their size? I am on a shared hosting site.
any
Thanks for the replys,
I intend to load some fairly simple stuff straight out of the database which on the whole won't require any processing, so a server re-start shouldn't be too serious. My host uses MX6.1.
Andrew
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
I must not be understanding your quesiton right. You should have no problems
doing this:
cfset s = structNew()
cfset s.name = goo
cfset myCFC = createObject(component,somecfc)
cfset result = myCFC.myMethod(s)
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User
-
Original Message
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 15:48
Subject: RE: Structures and CFCs
| I must not be understanding your quesiton right. You should have
If I loop over a query, which I have retrieved in the order I
want it in, and add the data to a structure, I am finding it
does not stay in that order. A few records from the query:
262 Alabama
211 Alaska
212 Arizona
213 Arkansas
214 California
When I loop over the collection
To: CF-Talk
Subject: RE: Structures native order
If I loop over a query, which I have retrieved in the order I
want it in, and add the data to a structure, I am finding it
does not stay in that order. A few records from the query:
262 Alabama
211 Alaska
212 Arizona
213 Arkansas
214
I'll try that. Thank you very much,
Dan
-Original Message-
From: DURETTE, STEVEN J (AIT) [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 1:24 PM
To: CF-Talk
Subject: RE: Structures native order
This sounds to me like a good case for a combo array/structure.
Try
This sounds to me like a good case for a combo array/structure.
Why not just access the query object when you need the values?
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads]
[This Message]
[Subscription]
[Fast
That's a thought. I am caching the query and was storing the structure in the application scope.
Dan
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, January 12, 2004 1:44 PM
To: CF-Talk
Subject: RE: Structures native order
This sounds to me like a good
That's a thought. I am caching the query and was storing the
structure in the application scope.
Never make things more complicated than they need to be.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads]
[This Message]
ah, it seems that its CF capitalizing it as soon as I place it into the
cfapplication name attribute
very very annoying
Neil
-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED]]
Sent: 21 August 2002 12:49
To: CF-Talk
Subject: Structures :
To: CF-Talk
Subject: RE: Structures : Capitalizing
ah, it seems that its CF capitalizing it as soon as I place
it into the
cfapplication name attribute
very very annoying
Neil
-Original Message-
From: Robertson-Ravo, Neil (REC)
[mailto:[EMAIL PROTECTED
, August 21, 2002 7:53 AM
To: CF-Talk
Subject: RE: Structures : Capitalizing
ah, it seems that its CF capitalizing it as soon as I place
it into the
cfapplication name attribute
very very annoying
Neil
-Original Message-
From: Robertson-Ravo, Neil (REC
(REC)
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 21, 2002 8:00 AM
To: CF-Talk
Subject: RE: Structures : Capitalizing
ah, so its a FOL? its not a big problem, and in fact I have
got around it
by using a different variable for it... and not using the
Application[Name] variable
Fact of Life. you know, software cycle bug tracking. :-)
NAB,
FOL,
PFR,
QRB
etc...
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: 21 August 2002 13:10
To: CF-Talk
Subject: RE: Structures : Capitalizing
FOL
Why not just do:
CFSET X[Foo] = Whatever ?
Or, in your case,
CFSET Ses.Profile[frm#qryGetInfo.FormNumber#].Value = Whatever
===
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email: [EMAIL
Maybe because I have been focusing in the wrong direction on this, I have
tried some variations of what you just suggested and had no luck with them
yesterday. I am gussing it should be this(you left off the
qryGetInfo.FormFieldName):
CFSET
ally it is. - Yoda
-Original Message-
From: Aaron Rouse [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 9:32 AM
To: CF-Talk
Subject: RE: Structures and SetVariable() function
Maybe because I have been focusing in the wrong direction on
this, I have
tried some
:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 9:32 AM
To: CF-Talk
Subject: RE: Structures and SetVariable() function
Maybe because I have been focusing in the wrong direction on
this, I have
tried some variations of what you just suggested and had no
luck with them
The cf parser always has trouble when you have arrays of structs in my
experience. In a worst case scenario you can always use
cfset evaluate( both sides of the expression)
(trick i picked up from early spectra code)
but Raymonds solution is much better in this case.
- Original Message
From: Don Vawter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:18 AM
To: CF-Talk
Subject: Re: Structures and SetVariable() function
The cf parser always has trouble when you have arrays of structs in my
experience. In a worst case scenario you can always use
cfset
Actually, I tried Evaluate in several formats before emailing the list,
but thanks for the tip.
Snipe - CF_BotMaster Network=EFNet Channel=ColdFusion
On Thu, 1 Nov 2001, Don Vawter wrote:
The cf parser always has trouble when you have arrays of structs in my
experience. In a worst case
AM
Subject: RE: Structures and SetVariable() function
From: Don Vawter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:18 AM
To: CF-Talk
Subject: Re: Structures and SetVariable() function
The cf parser always has trouble when you have arrays of structs in my
is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Don Vawter [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:32 AM
To: CF-Talk
Subject: Re: Structures and SetVariable() function
I don't use it either Raymond unless everything else I try
fails. You
Hi,
Structures can be global or on a client/session basis, depending on what
scope they are put in to. Structures in the APPLICATION or SERVER scopes
are global, while structures in other scopes on per request/client.
-Brent
-Original Message-
From: Tilbrook, Peter [mailto:[EMAIL
Can structures be utilised on a per client/session basis or are they
global?
Structures are like any other variable; you can store them in whatever scope
you like, with the exception of the Client and Cookie scopes, which can only
contain strings. You can even work around that in some cases by
You can certainly do this if you NumberFormat() the integer.
Actually I thought it was possible even without doing that.
After all an integer is a string in CF.
Nick
**
Information in this email is confidential and may be
By it's simplest definition, a structure keyname is a variable name. The
same rules apply to keynames that apply to variable names, and for the same
reasons.
~Simon
Simon Horwith
Allaire Certified ColdFusion Instructor
Certified ColdFusion Developer
Fig Leaf Software
1400 16th St NW, #
-Original Message-
From: Simon Horwith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13, 2001 4:27 PM
To: CF-Talk
Subject: RE: Structures can't use integers as keys - why?
By it's simplest definition, a structure keyname is a variable name. The
same rules apply to keynames that apply to
I use integers as structure keys all the time. But the code below... I don't
know that you can use integers as CF variable names... and why would you
want a key of "001" instead of just "1"?
- Original Message -
From: "DeVoil, Nick" [EMAIL PROTECTED]
Am I missing something here?
Try
I ran into the error with using numbers as keys in structures a while ago
and I worked around it by concatenating letters with the number. Now when I
create structures with the numbers as keys, it works fine. Must have been
something else... Sorry to bother folks and waste bandwidth.
Simon Park
No.
I have tried many times. I wish it were.
Russel
Russel Madere, Jr. Senior Web Developer
ICQ: 5446158 http://www.TurboSquid.com
Some days you eat the bear; some days the bear eats you.
But you can set a variable scoped structure:
cfset variables.stName = StructNew()
Evan
-Original Message-
From: Russel Madere [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 2:00 PM
To: CF-Talk
Subject: RE: Structures
No.
I have tried many times. I wish it were
ct Country/option
CFLOOP INDEX="Counter" FROM=1 TO="#Total_Records#"
CFOUTPUT
option
value="#session.countries[Counter][1]#"#session.countries[Counter][2]#/opt
ion
/CFOUTPUT
/CFLOOP
/select
----- Original Message -
From: [EMAIL PROTECTED]
To: &q
You're overwriting the same structure with each row. Try this:
cfquery name="thequery" datasource="datasource"
select *
from ads
/cfquery
Cfset stads = structnew()
cfoutput query="thequery"
cfset structinsert(stads, thequery.adid, structnew())
Cfset
Jeff
Try this - the variable "stads" needs to be an array, then each element in
that array
is set up as a structure. I believe the way you had it set up, the structure
was simply
overwriting itself for each iteration of the loop.
Obviously, I can't test this against your data, but this
Try searching Allaires tag gallery for the QueryToStruct tag :-)
jon
- Original Message -
From: [EMAIL PROTECTED]
To: "CF-Talk" [EMAIL PROTECTED]
Sent: Thursday, December 14, 2000 3:54 PM
Subject: Structures?
I'm getting frustrated with this. I want to build a structure from a
Try this... I'm using your "adID" as the key to each structure row...
cfquery name="thequery" datasource="datasource"
select *
from ads
/cfquery
cfscript
stads = StructNew();
for (x = 1; x LTE thequery.recordcount; x = x + 1) {
curkey = thequery.adID[x];
apparently you do not need the first set of struct ure definitions... i took
your code and modified to work with a table i had... worked just fine...
here's the code...
cfquery name="thequery" datasource="facilitador" dbtype="ODBC"
username="sa" password=""
select *
from courses/cfquery
never mid the comment last response i made... i found a problem... still
working on it!
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 14, 2000 3:55 PM
To: CF-Talk
Subject: Structures?
I'm getting frustrated with this. I want to build
cut and paste this wherever you can run it..
cfset struct1 = structNew()
cfset struct2 = structNew()
cfset struct1.name = "hi"
cfset struct1.address = "he"
cfset struct1.phone = "123"
cfset struct2.phone = "123"
cfset struct2.address = "he"
cfset struct2.name = "hi"
cfwddx action="CFML2WDDX"
I believe you have the option of storing session variables in the registry
(not sure where) or in a specific datasource.
At 09:47 AM 11/25/00 -0500, you wrote:
Once a structure has been created and populated, where is the data kept? I
can't find it in the registry anywhere but it persists
, November 25, 2000 9:54 AM
To: CF-Talk
Subject: Re: Structures: Where is data kept
I believe you have the option of storing session variables in the registry
(not sure where) or in a specific datasource.
At 09:47 AM 11/25/00 -0500, you wrote:
Once a structure has been created and populated
Session variables are stored in client side cookies and/or
server memory. They DO NOT get stored in the registry. The
variables that get stored in the registry are Client
variables. There is a BIG difference in the two. For
example you cant story a structure in a Client variable with
out
Session variables are stored in client side cookies and/or
server memory. They DO NOT get stored in the registry. The
variables that get stored in the registry are Client
variables. There is a BIG difference in the two. For
example you cant story a structure in a Client variable with
Then how would the persist across the reboots?
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 1:34 PM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: Structures: Where is data kept
Session variables are stored in client side
Session variables are NOT stored in client-side
cookies. They're always
stored in memory. What is stored in cookies are
the two tokens CF uses to
associate a user's browser with those variables
stored in memory.
Then how would the persist across the reboots?
They don't. If you
They don't.
At 01:35 PM 11/25/2000 -0500, you wrote:
Then how would the persist across the reboots?
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 1:34 PM
To: CF-Talk
Cc: '[EMAIL PROTECTED]'
Subject: RE: Structures: Where
of the
browser?
Just a thought (or two..)
-Bill
/intraget
- Original Message -
From: Bill Killillay [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Saturday, November 25, 2000 4:26 PM
Subject: RE: Structures: Where is data kept
You know they don't and I know they don't, but earlier
I recommend Assigning those orders into an array, or query variable
-Original Message-
From: Greg Wolfinger [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 20, 2000 10:33 PM
To: CF-Talk
Subject: Structures
This is a multi-part message in MIME format.
I've already done this. I use a database to store the domain names.
Check out http://www.fusioneers.com
If you're interested, become a partner of Fusioneers.com and then email me directly.
---mark
--
Mark Warrick
Phone: (714)
1 - 100 of 139 matches
Mail list logo