Hi all,
I have a question regarding active sessions numbers in memory.
We are using Adobe Coldfusion 9 enterprise and I have a difference between the
number of active sessions shown in the server monitor and the number shown in
my cfm page that I used before having enterprise version.
Here
Is it merely a stylistic difference between
cfset myvar = What do you think of #this#? /
and
cfset myvar = What do you think of this ? /
Or is there a speed advantage to the latter which cancels out any increased
readability in the former?
Thanks!
Is it merely a stylistic difference between
cfset myvar = What do you think of #this#? /
and
cfset myvar = What do you think of this ? /
Or is there a speed advantage to the latter which cancels out any
increased readability in the former?
The former would be faster in some situations
Shannon,
There is likely a speed difference because CF does not have to introspect
and evaluate the string any further with the second option... but I would
say you would need a really really long string to see the difference :)
Still, I'd have to say I favor the second in most cases. I only
Is it merely a stylistic difference between
cfset myvar = What do you think of #this#? /
and
cfset myvar = What do you think of this ? /
Or is there a speed advantage to the latter which cancels out any
increased readability in the former?
The former would be faster in some
Merely stylistic. Depends on the coder's feelings on readability, which is
personal preference as much as anything.
From: Shannon Rhodes shan...@rhodesedge.com
Sent: Monday, January 03, 2011 9:18 AM
To: cf-talk cf-talk@houseoffusion.com
Subject:
Marginally valid test for giggles...(on CF8)...
cfset myvar = arrayNew(1)
cfset starttick = getTickCount()
cfloop index=i from=1 to=100
cfset myvar[i] = What do you think of #i#? /
/cfloop
cfoutput#Evaluate(getTickCount() - starttick)#/cfoutput
...produced 1119.
cfset myvar = arrayNew(1)
Thanks guys, that's about what I expected. As a stylistic difference, I would
not advocate changing existing code to eliminate pound signs, whereas there are
those who argue the speed advantage of moving to concantenation only. While I
like concantenation, I see no problem with choosing ease
I try to use pound signs as little as possible. It's a bit of a hang over
from the old cf4.x days but I personally find it a) easier to read and b)
more akin to other languages.
On Mon, Jan 3, 2011 at 9:27 AM, Shannon Rhodes shan...@rhodesedge.comwrote:
Thanks guys, that's about what I
Hi folks
I have created a table in mysql and need to modify the column attributes.
Using mysql workbench I can create the model and modify the columns but how
do I save the changes to the table columns.
Thanks
Rob
~|
Order
You don't have an Apply button bottom-right on the Alter Table...
window?
On Mon, Jan 3, 2011 at 9:05 AM, Rob Voyle robvo...@voyle.com wrote:
Hi folks
I have created a table in mysql and need to modify the column attributes.
Using mysql workbench I can create the model and modify the
Hi,
I'm playing with the facebook graph api, and was attempting to send an image to
my wall. According to facebook, you just send the image, your access key a
caption... see below my code:
cfoutput
cfif fileexists(D:\myPath\images\menubar.jpg)
cfhttp method=post
Rob,
You might want to join this list:
http://lists.mysql.com/gui-tools
Rob Voyle said the following on 1/3/2011 9:05 AM:
I have created a table in mysql and need to modify the column attributes.
Using mysql workbench I can create the model and modify the columns but how
do I save the
Hi,
I have this code I gleaned that will show the time as a popup when clicked. I
was wondering how I can have it enter the time into an input field of a form as
opposed to being a popup?
Thanks.
RO
HWW
html
head
title(Type a title for your page here)/title
script type=text/javascript
say you have a field named myDate in a form named myForm then instead
of:
alert(my_time);
put:
document.myForm.myDate.value = my_time;
On Mon, Jan 3, 2011 at 3:25 PM, Orlini, Robert rorl...@hwwilson.com wrote:
Hi,
I have this code I gleaned that will show the time as a popup when
Were you ever able to sort this out? We're having the same problem, any help
would be much appreciated.
I've been all around mod_jrun22 in the last couple days, and I know
way more than I want to. However, I can't get it to work quite right.
Environment:
Debian Lenny 5.0.6
Apache
Were you ever able to sort this out? We're having the same problem, any help
would be much appreciated.
I've been all around mod_jrun22 in the last couple days, and I know
way more than I want to. However, I can't get it to work quite right.
Environment:
Debian Lenny 5.0.6
Apache
Hello everyone, I found this posting because we've come into a problem with our
code possibly.
We have developed an issue after importing the .ics file into a MacBook iCal
program when a client goes to view an event it comes up with the option of
accepting the event or not accepting for every
myAccessToken should be #myAccessToken# ???
just a thought...
Andrew.
cfhttpparam type=formfield name=access_token
value=myAccessToken
Hi,
I'm playing with the facebook graph api, and was attempting to send an
image to my wall. According to facebook, you just send the image,
your
19 matches
Mail list logo