in your subdirectory application.cfm did you name the application again?
? since application variables belong to
specific applications, i think you need to specifically declare that it's
stil part of the same application. -emily
At 03:41 PM 4/25/2000 -0500, you wrote:
>Are application.(variablena
>a)
>b) #---# not required
>other than I dont believe there are any differences.
actually, if you're assigning a variable to an attribute in a custom tag
(even with cfmodule), you will need the pound signs because the custom tag,
unlike the other cf tags, don't assume that something is a v
i believe that Request variables also belong in that upper list. in answer
to your question about a difference in scoping vs. not scoping in the lower
list, you can choose to use the prefixes or not. some people purposely do
not scope their variables to make their templates more flexible (allows t
>Is the cached query limit on a per server basis or per application basis?
i believe it is 100 queries per server. -emily
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.c
in this case, the pound signs really aren't even necessary because you're
already in a cfset statement. i think the recommendation is to not use them
inside of cf tags because you're "over-coding". try:
-emily
>>
>Should be
>Pound signs always go on the outside, any text not escaped (inside
bob - you're absolutely right for the variables listed below, but the
attributes scope actually must be declaredsame with session,
application, and server vars. -emily
At 04:21 PM 4/19/2000 -0400, you wrote:
>It is not 'wrong' to not provide the attribute scope, but if you don't,
>you're leav
jennifer - if you don't scope attribute variables, they won't be found at
all. you must scope those variables. hth! -emily
At 03:13 PM 4/19/2000 -0500, you wrote:
>I don't understand if you are saying that I'm wrong or if you are saying
>that it won't find the variable if you don't put the attri
At 06:07 PM 4/19/2000 GMT, you wrote:
>One is good coding style and the other is not
>>What's the difference between saying
>>attributes.fuseaction
>>or just saying fuseaction?
actually, in terms of fusebox, it means a little more. url and form
variables get changed to "attributes"-scoped varia
>This has been covered, very extensively in some cases, in a number of
>threads both on this list and on the Fusebox mailing list. If anyone is
>interested in more information check the archives.
>Since this fact is so often overlooked by those new to CF I personally feel
>like Emily's message (
btw, for those of you who will/are using server, application, or session
variables, you should also be locking those variables using CFLOCK. more
information on that can be found in this knowledge base artlcle:
http://www.allaire.com/Handlers/index.cfm?ID=14165&Method=Full
this article also has
At 12:42 AM 4/19/2000 -, you wrote:
>Marco,
>Forta's the known Guru of ColdFusion. But, there is another book called
>Mastering ColdFusion 4 by Arman Danesh & Kristin Motlagh. Where the chapters
>on Implementing ColdFusion Web Application Framework.
also, although you won't believe it, the he
oh, one more thing...in the ftcf course you build an application from the
ground up, so you get a good sense of how to build an entire application -
adding in a simple security level as well. but in the acfd, most of the
applications are already built and you just add the higher functionality to
i
>Would you recommend a relative newbie like myself take the advanced one? I
>have been doing queries, inserts, updates etc... the basic stuff for over 2
>weeks now on these 2 projects... What do you suggest? Where I really lack
>is knowledge in variables such as client variables, session variabl
>I just wish a company would take the chance on me. I'm so driven and
>passionate about this... wish I would have gotten into web development years
>ago. I know a little about Cold Fusion and SQL based on two projects I've
>been working on.. but want to have a lot of in depth knowledge. I haven
>How do I get CF to ignore the #CC... It causes an error there because it
>thinks that it's a CF variable.
you have to escape the # sign with two # signs - ##CC
>Also one quick question too... How do I get the above code to repeat itself
>until all the entries in the table are outputted?
>It's quite possible to declare a query directly into any of the scope's
>available to your application except Client (unless of course you serialize
>the query w/ wddx.) This is a valid call:
>
>Resulting in Session.myQuery being cached for the duration of the session.
yeah, thanks. i was just b
>One problem I worry about with this: Session variables are frequently
>stored in the Registry on NT machines, yes? So if you had a very large
>query, or quite a few users, you are potentially packing a lot of info into
>the registry. Perhaps unwise.
actually, session variables are stored i
At 11:20 AM 4/13/2000 -0400, you wrote:
>Can't all of that be done by establishing standards for a project or all
>projects. Why does it have to be Fusebox? I have been looking at Fusebox
>and I guess that I am a bit confused as to what it is and why I should use
>it over some other set of stand
>Is it possible to cache a query only for a particular user for only the
>length of his or her session?
>I have a query that generates a roles & privileges packet that applies only
>to the current session and user. When the session expires so does the cached
>query.
>What the memory load differenc
>I appreciate all of your comments. I do not use Fusebox, but I use a
>different framework that my team and I have developed. I appreciate the
>need for a framework, but I don't understand one thing that I always hear
>about Fusebox. Could you or anyone else tell me why putting things in
>diffe
>I looked at the allaire pages, that is what provoked my comment, I still am
>confused about the "major" stuff that it is missing. Guess I will just
>install it at home and play.
ben forta and sue hove are coming out with a CFExpress book real soon. it
is actually very well written with a lot of
i've seen a number of references to the syndicated content on moreover.com
so i thought i'd throw this out. hussain chinoy of granularity created a
custom tag called cf_moreover that will grab news feeds from moreover. you
can find it here:
http://www.thirdtier.com/moreover/
-emily
-
you might want to try to do the call to CFHTTP but have a CFCACHE tag at
the top of the page. CFCACHE will cache the the resultant html page that is
produced (makes a tmp file). you can just call that cached page over and
over again...you can then run a scheduler to flush the page when you want
th
>I'm new to ColdFusion and although I'm finding it generally easy going I'm
>having some troubles using CFINSERT to populate an Access database table.
>The trouble is that ColdFusion seems to be interpreting my Submit button as
>another form field in which it should be entering a value in the data
session variables are tied to a specific application but you could put the
info into a wddx packet and then have the other app grab it using cfhttp.
-emily
At 12:02 AM 4/11/2000 -0500, you wrote:
>
>Is there a way to pass a session variable from one domain name to another
>when on the same physic
>
>
>
>
>
>#newWords#
hey sean...that's a nice way of handling it! my mind is so linear sometimes
that i tend to not think about looping unless it's obvious like when i'm
working with arrays and structures.
since i'm always looking at optimizing code, i started to play around with
both me
ahh...i couldn't help myself. had to find a fix so i did the following. i
"hard-coded" the 7th word by replacing it with * - that assumes that
you won't have five *'s in a row in any of your strings - and then i
located those stars to get the position to start removing from.
anyway...hope thi
ok, this is my quick hack to your problem. i already know that there is a
problem with it...if the word in the 6th position also occurs in an earlier
position, then your results are based on that one instead of the right one.
i don't have time right now to fix this, but felt compelled to give you
oops...i mis-read...i though you wanted the first 6 chars. sorry. you'll
have to probably parse a little morelet me try it and i'll e-mail right
back. sorry for the extra posts, everyone. -emily
At 02:56 PM 4/10/2000 PDT, you wrote:
>HI,
>
>I have a varchar field size 255 in sql. I want to di
try Left(yourvarcharfield,6) -emily
At 02:56 PM 4/10/2000 PDT, you wrote:
>HI,
>
>I have a varchar field size 255 in sql. I want to display only the first 6
>words in this field. How do I go about doing that?
>
>Thanks
>
>Sal
>__
>Get Your Priv
>Chris Evans wrote:
>1) I don't use just lists. I just tend to use lists rather than arrays. I
>love using structures :).
>3) I'm getting to run some speed tests to prove Nick's comment about speed
>increases of arrays over lists. That is a good reason to use arrays over
>lists.
sorry for the
if you're using 4.5, form variables are automatically in a structure
(named FORM) that always exists - it's just empty if there is no form
submission. what i would suggest is on your action page, just do a
StructKeyList(FORM) which will give you a list of all the keys (the
formfield names). from t
> CF is beyond loosely typed. It's basically typeless.
actually, CF types the variables when the variables are being used.
allaire terms this "lazy evaluation". for example. if you ever try using
a string in a mathematical equation you will get an error message. when
you create a variable, cf doe
> Hopefully not any different than the way you would do it in an array. In
>your example below, I would have a structure for Product 1, a structure for
>Product 2, and so on. I would also have an ItemInYourBag structure, with
>the key being the product ID and the value being the quantity. If t
WDDX makes it very easy to pass complex data types using form or URL
variables. would putting them into session variables help too? that's
easily doable as well. what do you need to do? -emily
Kimberly Mayhall wrote:
>
> What is the preferred method for passing structures from one page to
> anot
> I always end up using lists rather than arrays, though a list can be thought
> of as a 1-dimensional array. So I would use a list of structures rather
> than an array of structures. I find Lists easier to create and maintain
> than arrays.
how do you work with a list of structures when you ha
> You can also use queries as arrays. For example, if I have a query called
> "Articles" with a column named "TITLE", and I want the 5th
> row, I can use Articles.Title[5].
just a fyi, although you can use array syntax to reference queries,
remember that queries are NOT arrays so you can't use
37 matches
Mail list logo