number of active sessions in memory of CF

2011-01-03 Thread pierre paradoms
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

Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Shannon Rhodes
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!

RE: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Justin Scott
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

RE: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Mark A. Kruger
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

RE: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Justin Scott
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

re: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Jason Fisher
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:

Re: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread John M Bliss
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)

Re: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Shannon Rhodes
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

Re: Concantenate vs Pound Signs within Quotes

2011-01-03 Thread Michael Grant
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

Basic mySQL workbench question

2011-01-03 Thread Rob Voyle
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

Re: Basic mySQL workbench question

2011-01-03 Thread John M Bliss
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

cfhttp multipart facebook

2011-01-03 Thread Jessica Kennedy
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

Re: Basic mySQL workbench question

2011-01-03 Thread Chris Montgomery
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

SOT: Show time in field on click

2011-01-03 Thread Orlini, Robert
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

Re: SOT: Show time in field on click

2011-01-03 Thread Michael Grant
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

Re: Apache Worker MPM w/ JRun

2011-01-03 Thread Grant Sheehan
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

Re: Apache Worker MPM w/ JRun

2011-01-03 Thread Grant Sheehan
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

Re: iCalendar (.ics) file creation?

2011-01-03 Thread Matthew Lowrey
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

Re: cfhttp multipart facebook

2011-01-03 Thread Andrew Grosset
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