Objects stored in a repository is very much an Object Oriented DB concept.
CF doesn't really support this idea of storing an object. Most of this is
accomplished by storing data in a RDMS.
Centralizing where you update metadata for queries is very much like ORM
models. An example would be
I am having an issue with session vars not being read the same between IE and
Firefox. What I am doing is setting a session array and in this array I set an
element that contains a user friendly name for a page. You can then add this
page to a custom links area by clicking on a link thqat
Wish I had known that todayI am in the middle of building a very similar
feature.
If it ain't too much trouble, could you sent it to ray [at] cvwp [dot] com ?
I'd like to see if I can't use it, cause I'm hating the way mine is coming
out
Thanks,
Ray
-Original Message-
From:
Ok if I run mannually
What happens if you run this same command from the command line manually,
outside of CF, does anything weird happen?
..
Ben Nadel
Web Developer
Nylon Technology
350 7th Avenue
Floor 10
New York, NY 10001
212.691.1134 x 14
212.691.3477 fax
My goal is to get rid of the comma after the Client_Last_Name, unless
there is a Client_Name_Suffix.
CFSET Session.Client_Name =
'#Get_New_Client.Client_First_Name#nbsp;
#Get_New_Client.Client_Middle_Name#nbsp;
#Get_New_Client.Client_Last_Name#
CFIF Len(Trim(Get_New_Client.Client_Name_Suffix))
Andy Matthews wrote:
I'm building an admin section for a client to manage inventory of his
products. The products are higher-end so he'd like to have up to 10 photos
for each item. I will need to create multiple sizes of each picture using
Rick Root's Image.cfc.
What might be the best way
Rick,
You can't use cfif within a cfset like that.
I think you cfsavecontent would be the best solution (best here being most
readable and maintainable).
cfsavecontent variable=Session.Client_Name
#Get_New_Client.Client_First_Name#
#Get_New_Client.Client_Middle_Name#
cfset session.clientname = get_new_client.client_first_name
get_new_client.client_middle_name
get_new_client.client_last_name /
cfif len(trim(get_new_client.client_name_suffix)) GT 0
cfset session.clientname = session.clientname ,
get_new_client.client_name_suffix /
/cfif
On
You could use ListAppend with space as the delimiter.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Rick Faircloth [mailto:[EMAIL
Mark,
We all have time frames and I was just offering a suggestion that has saved
me time with other clients.
I wish you success on your endeavor.
Teddy
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of
Suggestion:
tblCountry
- countryID
tblStateProvince
- stateProvinceID
- countryID
tblCountyDistrict
- countyDistrictID
- stateprovinceID
tblZip
- zipID
- stateProvinceID
This is to maintain your lookup data. For the position:
tblPosition
- positionID
tblPositionZip
- zipID
- positionID
So the DB peeps here have decided to lay the Oracle BLOB on me... woo hoo.
Anyway, I figured out that you have to use CFQUERYPARAM to get the data in.
ex:cfqueryparam value=#Binarydecode(TextAreaContent,Base64)#
cfsqltype=cf_sql_blob
Though I'm not sure if the funtion is correct, it doesn't
So I'm wondering if maybe I should have them change the BLOB to a CLOB? This
thought after some research
BN
So the DB peeps here have decided to lay the Oracle BLOB on me... woo
hoo.
Anyway, I figured out that you have to use CFQUERYPARAM to get the
data in.
ex:cfqueryparam
Blobs are for images and alike, you will need a clob for text.
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and
No the question was not ColdFusion, the question was why re-invent the wheel
- just use cfquery and cfqueryparam.
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.
Something like this basically loop through your images and stuff after you
submit your form kinda like you would when you want to update multiple rows
in a database in the same time... I chopped this out of a couple of scripts
but you'll get the idea.
!---FORM FIELDS---
cfform
cfloop
I've been recently exploring the use of Java within CF using the cfobject
tag...very handy indeed to expose all those built in classes.
Are there any guidelines as to when one should be porting parts of a Coldfusion
application directly to Java?
Since CFMX is compiled into Java anyway, would
Are there any ektron users out there? I have a client who is
considering their CMS400.NET product, and I haven't worked with an
Ektron product for about 6 years (back when they had CF only versions).
Any feedback on how it compares to other content management systems
out there? Is it worth
Are there any guidelines as to when one should be porting parts of a ColdFusion
application directly to Java?
My first answer would be: Whenever you want!
My second answer would be: Whenever ColdFusion can't easily do what you need it
to, but Java can.
--
Ian Skinner
Web
Hi Ian, thanks for your input.
Here's another question.
what if CF can do (A), Java can do (A)
Is there any advantage to Java doing (A) over CF?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
All the contacts will be inside Indiana, USA so lets say Marion County will
be split evenly between to people by a list of zipcodes where the zipcode
range is in Indiana so 46001 - 48000
but sence they are in Marion County the list is 46107 - 46298
I definately see where a cCounty Coordinator
Hi Ian, thanks for your input.
Here's another question.
what if CF can do (A), Java can do (A)
Is there any advantage to Java doing (A) over CF?
I always hear Java is better at heavy processing (like major number crucnhing)
than CF is.
Java has built-in packages that allow things like
Here's another question.
what if CF can do (A), Java can do (A)
Is there any advantage to Java doing (A) over CF?
Maybe, maybe not. My first thought is that I would not want to reinvent the
wheel. If I can do it using CF's usually simple syntax, I would prefer to do
it that way. I'm not
Any reason this code would not work in an onSessionEnd function, but a similar
one works just fine in an onApplicationStart function of an Application.cfc
file.
cffunction name=onSessionEnd
cfexecute name=C:\WINNT\system32\net.exe arguments=send iskinner session
ended./
/cffunction
I think I am going to try an object repository using the (under used)
coldfusion JWS service.
I think I did this before but I have no idea why I dropped the idea it's so
simple to do.
JWS example
import org.hsqldb.WebServer;
import java.io.*;
public class MyWebserverObject extends WebServer
Then it seems that you would just need the state, county and zip
relationship to manage adding of zip codes and then associate the zip codes
to a coordinator via the bridge table.
tblState
- stateID
tblCounty
- countyID
- stateID
tblZip
- zipID
- countyID
Then associate it to a coordinator.
This might be a dumb thing but doen't you have to pass in the session to
onSessionEnd?
cffunction name=onSessionEnd returnType=void
cfargument name=SessionScope required=True/
cfargument name=ApplicationScope required=False/
It might be causing an error which wouldn't get thrown
Since you can invoke Java objects into CF, you can leverage the data types
of Java and other methods to augment CF. This is not uncommon.
Why use CF over Java? Well, you don't compile the Java object after you
manipulate it in CF. You let the CF parser do that for you at run-time. CF
is
This might be a dumb thing but doen't you have to pass in the session to
onSessionEnd? cffunction name=onSessionEnd returnType=void
cfargument name=SessionScope required=True/
cfargument name=ApplicationScope required=False/
It might be causing an error which wouldn't get thrown
The documentation is most likely wrong. I don't see how a server could know
when the user has closed their browser... I think what they mean is that
when the use closes their browser, the J2EE session cookie times out (and
with CFID and CFTOKEN it might not necessarily time out when the session
I'm (finally, it's about time too!) looking at tags.
Both files exist in the same directory. I've added the directory to the CF
tags dir list in cfadmin so I can use the tag elsewhere. I've successfuly
called the tag with a Hello world type function.
But, I can't see why this isn't working,
You can also accomplish this in a db or by cfincluding pages based on
whether they want English or French...a simple way would be to use a url var
called language( or anything else for that matter *snerk*) and pass it from
page to page. A cookie or session var would work for this as well.
Eric
Because a local variable only exists inside the tag. If you want the
variable to exist outside of the tag then you should put it in a global
scope such as request, or put it in caller scope.
Snake
-Original Message-
From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED]
Sent: 26 August 2006
bingo, thanks Snake
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: 26 August 2006 00:39
To: CF-Talk
Subject: RE: Custom Tag
Because a local variable only exists inside the tag. If you want the
variable to exist outside of the tag then you should put it in a global
scope
I'm doing pretty much the same... mainly using svn for everything...
But ever since I saw a post on the subclipse users list about CruiseControl,
I've wanted to get it set up.
Mainly, a lot of this depends on how your projects/applications are set up
and coded.
I get the impression that if you
cfset pcodetable = left(session.postcode, 1)
cfset pcodeL = listfirst(session.postcode, )
cfset pcodeR = listlast(session.postcode, )
cfquery name=caller.pcode datasource=capscan
SELECT top 1000 *
FROM postcode_#pcodetable#
where postcode_#pcodetable#.col001 = '#pcodeL##pcodeR#' or
Don't know if it's related, but I had a weird session bug with IE a week or
so ago, and adding the meta-attrribute expires:today or whatever that is
seems to have cleared it up.
So maybe try adding those meta-tags that force a refresh every time...
maybe. Probably totally unrelated, but it was
I will have to try that...Thanks Denny!
Eric
-Original Message-
From: Denny Valliant [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 August 2006 19:43
To: CF-Talk
Subject: Re: Session problems with IE
Don't know if it's related, but I had a weird session bug with IE a week or
so ago, and
Hi,
What is the best collate for a site database that has to support multiple
languages simultaneously, including double byte: Chinese, Korean, Japanese.
Thanks
Victor
~|
Introducing the Fusion Authority Quarterly Update. 80
Right now my config.xml file resides where it can be browsed and read easily.
Ray C. helped me a while back on how to secure it. One of the options is to
place outside the root and read it. This needs to work with a shared host so
that's not a good option. Another was to setup a defaults.cfm
On 8/25/06, Richard Dillman [EMAIL PROTECTED] wrote:
...
I definately see where a cCounty Coordinator will be county wide but a
Training Coordinator could be at the city level so based on zipcode but
not
in every county.
Man, I love databases.
Really you want to try to nail down this
On 8/25/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:
No the question was not ColdFusion, the question was why re-invent the
wheel
- just use cfquery and cfqueryparam.
Re-inventing the wheel is relative to what you're doing and the frame of
reference.
I can think of many reasons
Another consideration, besides the optimization (*grin*), is
maintainability.
This is one I struggle with constantly, in my mind.
I can't help but use some of the nifty stuff that's out there. Maybe it's
java
cuz I need it fast or portable (, or there's a java wheel I need. ;-)
Maybe it's
I guess you could stash it in a DB... CF and DB's are pretty tied together
already,
but I do hate having DB reliant code in the init, just cuz. But I don't
hate it so
much I don't do it myself, when I have to ;-).
Guess there's an example for when you're building CF websites or CF
apps... it's
Paste all of this in a .html file and run it. Click the [Add another Image
Uploader] link to add more fields. I would of course limit this to a maximum
number of images at once. (way less than 10) To upload multiple images at
one time without worrying about timeouts youll have to look into
Missed a '' before middle_name but you get the idea
..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 10:10 PM
To: CF-Talk
Subject: RE: How would I code this line?
Is there something that works like CONTAINS that doesn't need full text search
enabled, please?
Thanks,
Jenny
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.6/428 - Release Date: 25/08/2006
On 8/25/06, Bobby Hartsfield [EMAIL PROTECTED] wrote:
cfset name = first_namemiddle_name last_name /
cfif len(trim(suffix)
cfset name = name , suffix /
/cfif
Sure that LOOKS readable, but you know CF will be running around
trying to figure out which first_name field you're
WHERE col LIKE '%abc%'
will return any record where col contains abc. % = wildcard
character. can come before, after, or both.
On 8/25/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote:
Is there something that works like CONTAINS that doesn't need full text
search enabled, please?
Thanks,
cfset session.client_name =
#GNC.Client_First_name#nbsp;
#GNC.Client_Middle_Name#nbsp;
#GNC.Client_Last_Name#
,nbsp;#GNC.Client_Name_Suffix /
!--- Remove the last comma and nbsp if it's the last thing on the line ---
cfset session.client_name =
The closest I can think of is LIKE:
WHERE columnx LIKE '%somestring%'
in SQL Server, there is also PATINDEX.
Of course, none of these come close to CONTAINS or what you can
accomplish with full text search enabled.
Cheers,
Kris
Is there something that works like CONTAINS that doesn't need
Thanks Charlie,
duh .. bangs head on desk .. must be 4am .. i knew that
J
-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: 26 August 2006 03:38
To: CF-Talk
Subject: Re: OT: SQL
WHERE col LIKE '%abc%'
will return any record where col contains abc. % =
All of my servers run either Apache or support servlet filters. On
the Apache sites, I use mod_rewrite; on the J2EE servers, I use the
UrlRewriteFilter (http://tuckey.org/urlrewrite/).
mod_rewrite:
RewriteRule ^/config/.* / [R]
UrlRewriteFilter:
rule
from.*/from
condition
Oh God, I totally agree on these,,, this dang project has had so many
acceptions to the rules and acceptions to their own exceptions.
YEP I just found a Training Coordinator that is also the County Director,
Child welfare Specialist and County Sherif!! And now some of the people im
listing
Jenny for things like this, cflib.org is your friend.
There's a UDF there that does exactly that. It takes a string UCase
or LCase or mixed and converts it to Cap first letter and lcase for
the others except for certain specified words, such as 'an' and 'the'.
go to cflig.org and search for
Another way to identify what goes where is to follow the natural
MVC boundaries: Model = Java, View = CF, Controller = either, but
probably CF. IMHO, that allows each language to play to its
strengths. I followed this division of labor in a Mach-II app and
it worked great. But as Denny pointed
Victor Moore wrote:
What is the best collate for a site database that has to support multiple
languages simultaneously, including double byte: Chinese, Korean, Japanese.
i imagine that depends on the db, but if you're storing what you refer to as
double byte data in the same table, then of
So there's the question. Can someone provide an example of a
working sql injection attack?
Sure:
http://www.ngssoftware.com/papers/advanced_sql_injection.pdf
There's a whole section in there about multi-step SQL injection attacks
against systems that escape all single quotes. They are
I will pipe up here, and ask one question though. And the
reason I ask this is that it's maybe different for me, but I
tend not to use the cfqueryparam in cffunction's that have
cfarguments and are typed.
I find it is not required as the function will throw an error
anyway, and the
On 8/24/06, Dave Watts [EMAIL PROTECTED] wrote:
More evil is stuff like:
A HREF=http://trusted.org/search.cgi?criteria=SCRIPT
SRC='http://evil.org/badkama.js' ...
I don't know what you mean by more evil, but generally speaking SQL
injection attacks are considered to be a more serious
Ryan, Terrence wrote:
So it the remedy there to surround the OnApplicationStart method with
a CFlock?
Not the method, but the call to the method.
Jochem
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of
Hi guys, just wanted to pick your brains before I implement this.
I have been asked to add French to an already English website. What I suggested
was to copy the English files to another directory called French. I can
switch between languages by adding a bit of code in the French / English
Hi Anthony,
why don't you use one file for the definition of the texts in the
different languages (or maybe the database as we do) and use only one
directory with your app files?
then you do something like this:
cfinclude template=act_setlangtexts.cfm
English Page (index.cfm)
cfoutput
I always use the refresh() method to make sure the right copy is the one
memory.
On 8/24/06, jonese [EMAIL PROTECTED] wrote:
Ok i'm trying to connect to the paytronix Web Service for a client who
uses them to manage there girft cards.
I can get to the WSDL and i have successfully added the
I want to loop over a URL.VIDEO_ID value and find the numeric range it falls
in.
The value range needs to be between 1-10 or 11-21 etc. until the condition is
met.
EXAMPLE: if the URL.VIDEO_ID value is 72 I would want to cfloop until I
found the range that this 72 value fit and then set
A dll file means it's a C++ CFX, so therefore it wouldn't be using the JVM
to execute... did you set it up as a C++ CFX in the administrator?
-Original Message-
From: Cesana, Paolo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 28, 2006 2:09 PM
To: CF-Talk
Subject: JVM and Java
Hi
Try this
start=(url.vedio_id/10)*10+1
end=((url.vedio_id/10)+1)*10
Srinivas
On 8/25/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
I want to loop over a URL.VIDEO_ID value and find the numeric range it
falls in.
The value range needs to be between 1-10 or 11-21 etc. until the condition
this should work if i understand what you are trying to do:
!--- set start to id divided by 10, rounded down to nearest integer.
Multiply by ten and add one ---
cfset start = (int(url.video_id/10) * 10) + 1
!--- set end to id divided by 10 and rounded up, multiply by 10 ---
Cfset end =
If I start to get annoying with questions just pound me on the head.
I have application.cfc, with the following beginning:
cfcomponent output=false
!--- App Start ---
cffunction name=onApplicationStart returntype=boolean output=false
cfquery name=rsOrganization datasource=hosting
cfset iStart = Int(url.video_id/10)*10 + 1
cfset iStop = Int(url.video_id/10)*10 + 10
cfloop from=#iStart# to=#iStop# index=i
/cfloop
Greetings / Grüsse
Gert Franz
Customer Care
[EMAIL PROTECTED]
www.railo.ch
Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch:
Anthony Crawford wrote:
Hi guys, just wanted to pick your brains before I implement this.
I have been asked to add French to an already English website. What I
suggested was to copy the English files to another directory called French.
I can switch between languages by adding a bit of code
from how i understood this the loop was only being used to ascertain the
final range start and end values?
if you are using int/ceiling to find these out - then the looping isn't
necessary ?
On 8/25/06, Gert Franz [EMAIL PROTECTED] wrote:
cfset iStart = Int(url.video_id/10)*10 + 1
cfset
On Wednesday 23 August 2006 16:47, Rick Faircloth wrote:
Wonder what the tune is?
Chumbawumba's Tub Thumping.
--
Tom Chiverton
Helping to enormously reinvent back-end action-items
This email is sent for and on behalf of Halliwells LLP.
I'm looking for a book on CF and I was amazed at the quantity out there.
http://www.amazon.com/s/ref=br_ss_hs/002-4015985-6791229?platform=gurupaurl=index%3Dblendedkeywords=coldfusionGo.x=5Go.y=13
I'm pretty much a self taught developer, so I'd like a book that gives advice
on structuring
Rob's book from O'Reilly is in my opinion the best out there, and it
is targeted at 6.1
Unfortunately O'Reilly decided not to follow this up :(
To be honest though, now that the CF docs are vastly improved, plus
all the blogs and mailing lists, the book market (for CF anyway) is
becoming
And again, only if you need to single thread it. 99% of the people out
there use onAppStart just to set variables.
On 8/25/06, Jochem van Dieten [EMAIL PROTECTED] wrote:
Ryan, Terrence wrote:
So it the remedy there to surround the OnApplicationStart method with
a CFlock?
Not the method,
I'm not sure I get you. Are you saying that when you run /index.cfm,
variables aren't set, but when you do /index.cfm?kill=1, they are? How
are you testing to see if the variables are there?
On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote:
If I start to get annoying with questions just
I don't think you need to loop at all. Your ranges are 10 numbers
apiece, right?
cfset currentValue=72
cfset rangeSize=10
!--- Use integer division ---
cfset startValue=currentValue \ rangeSize * rangeSize + 1
cfset endValue=startValue + rangeSize - 1
\ is the operator for integer division.
72
yo will there's something on your nose. right there on the tip...
yeah...something brown...
I've revised my list.
1. Michael Dinowitz
2. Charlie Griefer (The Iceman)
3. Michael Dinowitz
Now you're #2 in my book Charlie. Feel better??
:)
Will
Um Will, do we need even more inflated egos on
Charles Sheehan-Miles wrote:
I have application.cfc, with the following beginning:
cfcomponent output=false
!--- App Start ---
cffunction name=onApplicationStart returntype=boolean output=false
cfquery name=rsOrganization datasource=hosting
select top 1 * from rsOrganization where
Block, Jon wrote:
When hiring, it would be helpful to know who out there is the best. When
I run ads, I get all types of Yahoo's who think they know ColdFusion.
I'd like to be able to see who are the very best ColdFusion coders out
there and try to steal one of them for my company. How do you
Hi folks,
Got an annoying problem with one of my apps. We are having a problem with a
price selection filter in some search criteria displaying £ currency symbols
as a question mark (FF) or a square (IE).
Seems to of happened just recently, the currency value is pulled from a config
file
TOAD users will probably already know about this, but for everyone else...
The people who bring us the Tool for Oracle Application Developers
(TOAD) have brought out a data modelling tool, TOAD Data Modeler.
There's a freeware version and one with a price.
I'm not sure I get you. Are you saying that when you run /index.cfm,
variables aren't set, but when you do /index.cfm?kill=1, they are? How
are you testing to see if the variables are there?
On 8/25/06, Charles Sheehan-Miles [EMAIL PROTECTED] wrote:
Yes, that's exactly it. I'm doing a cfdump of
Charles Sheehan-Miles wrote:
I have application.cfc, with the following beginning:
cfcomponent output=false
!--- App Start ---
cffunction name=onApplicationStart returntype=boolean
output=false
cfquery name=rsOrganization datasource=hosting
select top 1 * from
Bump bump, anyone?
-Original Message-
From: Loathe [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 24, 2006 9:44 PM
To: CF-Talk
Subject: RE: Windows 2003 Server Install
From the logs:
Additional Notes: ERROR - standalone.xmljava.io.FileNotFoundException:
On Thursday 24 August 2006 08:59, Robertson-Ravo, Neil (RX) wrote:
An email
should not be simply blocked just because it is HTML.
Speak for your own email server :-)
--
Tom Chiverton
Helping to appropriately transform killer developments
then you do something like this:
cfinclude template=act_setlangtexts.cfm
May be even put it in the Application.cfm file, together with setting
local, etc.
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
Does anyone have any experience using ActivePDF Server to fingerprint documents
generated with Webgrabber/Server?
We can generate the PDF, and we're specifying that we want a fingerprinted
document, but when we use ActivePDF Server to try to verify the fingerprint, it
always comes back
I've seen similar things before. Try doing a replace of the literal pound
symbol with the HTML entity equivalent: #163; or pound;
--Ben
Hi folks,
Got an annoying problem with one of my apps. We are having a problem
with a price selection filter in some search criteria displaying £
I have a good example of injection and XSS here...
http://mkruger.cfwebtools.com/index.cfm?mode=aliasalias=security.pyramid.co
de
-Original Message-
So there's the question. Can someone provide an example of a
working sql injection attack?
It installed, but the service won't start.
I'm thinking I may have to have the OS reinstalled. I'm thinking the
installer ran some lockdown scripts and other steps in the US Gov procedure
for setting up an SSL box that shouldn't have been run until after CF was
installed and running.
This may be a shot in the dark, but why is the this scoped variables
created during the application start? Since these are more global
considerations, shouldn't they be put between the cfcomponent tag and the
first method? Have you tried that? I saw that you alluded to it.
cfcomponent
cfset
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=228c3aaa
Mad the boot.ini change and it worked.
Sweet :)
-Original Message-
From: loathe [mailto:[EMAIL PROTECTED]
Sent: Friday, August 25, 2006 11:10 AM
To: CF-Talk
Subject: RE: Windows 2003 Server Install
It installed,
This may be a shot in the dark, but why is the this scoped variables
created during the application start? Since these are more global
considerations, shouldn't they be put between the cfcomponent tag and the
first method? Have you tried that? I saw that you alluded to it.
cfcomponent
cfset
But that 4 hours now means you will never forget it... Good ROI in my book!
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
Yeah I tried using pound; but it just displays pound;
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
Ben Doom wrote:
I've seen similar things before. Try doing a replace of the literal pound
symbol with the HTML entity equivalent: #163; or pound;
please don't do that. it's not a good workaround any longer.
Got an annoying problem with one of my apps. We are having a problem
with a price
I will pipe up here, and ask one question though. And the reason I ask this
is that it's maybe different for me, but I tend not to use the cfqueryparam
in cffunction's that have cfarguments and are typed.
I find it is not required as the function will throw an error anyway, and
the only time
My example using PrepareStatements.
This makes a sql injection attack a thing of the past and its also faster.
PreparedStatement ps = con.PrepareStatement(INSERT INTO MYTABLE VALUES
(?,?,?,?););
ps.setInt(1, 3);
ps.setString(2, something);
ps.setString(3, and);
ps.setString(4, other);
1 - 100 of 120 matches
Mail list logo