Jochem
maintain connection: What a good idea - didn't occur to me. I'll try it.
Thanks
Richard
-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED]
Sent: 05 June 2008 13:40
To: CF-Talk
Subject: Re: Annoying SequeLink JDBC Driver failure
Richard
I bit the bullet and moved from CF Studio 5 to CFEclipse.
I found the initial learning curve to get it all set up how I wanted was
rather steep. With three months at it now, I won't be going back, but on
balance I still think CF Studio 5 is hard to beat; really the only reason
I'm using CFEclipse
As this is a bulk insert sort of query you should be able to insert what are
effectively constants relative to all the rows you're inserting, for
example:
insert
into hmls_commercial
( mls_number,INSERTED_BY,INSERTED_ON )
select mls_number,'Rick',#createodbcdatetime(now())#
from
This will do it for you...
I think!!! If you already have this resolved apologies...
If not have fun
cfset variables.TestList = qu_45_tb_45_split_0_split_q_67
cfset variables.TestList = replace(variables.TestList,_split_,,,all)
cfset variables.TestList = replace(variables.TestList,_,,,all)
Jarlath...
What's the point of the second line? ListToArray allows you to specify a
delimiter, so just replace _split_ with a delimiter other than ,.
cfset VARIABLES.TestList = Replace(VARIABLES.TestList,_split_,|,all)
cfset variables.SplitTest = ListToArray(variables.TestList,'|')
Losers are hammering my site with spam in the urls. The first line is what
my url should look like. The second line is what I am getting from the
spammers.
http://www.mydomain.com/index.cfm?type=Specialtyspec=110
http://www.mydomain.com/index.cfm?type=Specialtyspec=http%3A%2F%2Fwww.north
That would be the most logical place to put it. I'm not sure that a cfabort
is the best bet though. Why not simply use a regex and just strip out the
offending portion of the query string? Start with http and remove that, and
everything after it.
-Original Message-
From: Che Vilnonis
OnRequestStart would seem to be a good place for it. You might also override
the Session timeout (if you're using sessions) so that these spam requests
don't create a large number of dead sessions. You can set the timeout to 5
seconds or something before you do the redirect.
Regards,
Brian
On
the second line is to actually build a comma delimited list of all the values
that are separated by the word _split_.
without this some of the entries are not separated as '_' seems to be being
used as a separator.
the second replace removes the '_' so as to give a list of all entries
Basically, I am trying to prevent auto generated 'error' emails from being
sent to me 200+ times a day. What would the regex do? If I strip out the
offending string, it will likely still be invalid and cause an error to be
created. Good point on the cfabort though. Regards, Che
-Original
Brian, w/regards to resetting the session timeout, would this work?
cfif cgi.query_string contains http://;
cfset session.urltoken =
cflocation url=http://www.mydomain.com;
/cfif
Regards, Che
-Original Message-
From: Brian Kotek [mailto:[EMAIL PROTECTED]
Sent: Friday,
Well, the spammers had to get your page from somewhere...the page is likely
only invalid because they're tacking on extra query params right? So
removing the offending params might allow a valid request to get through.
Remember that it's always possible that a legitimate person could have
clicked
OK. If I were to use a regex, should I still place the code in
onRequestStart and use a re-direct with cflocation?
-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 9:44 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the
You could just set this.sessionTimeOut, but on further thought if you just
redirect them to the home page then they'll just start a new session there.
Maybe a better option (if you're sure these are spammers) is just to abort
the request and be done with it?
On Fri, Jun 6, 2008 at 9:30 AM, Che
I have no interest in the Bug debate, i paid no reference to it in my
solution...
This is a forum, the person who posted the issue was looking for a solution to
his issue...
The code i have included provides a solution to this, as requested. Performs as
he wants it to...
End of story...
That makes sense to me.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 8:54 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code?
OK. If I were to use a regex, should I still place the code in
OK. This is interesting. If I place the simple test code below in
onRequestStart, I am *not* re-directed and I still get the error email and
the error page displayed when a link like the one below is clicked. Why
might this be happening? Is the error being processed first? onRequestStart
always
Yes, your post was absolutely valid. I was merely pointing out how the
same thing could be achieved with less code, using the feature that
has been discussed. I think that is an entirely helpful and valid post
too and certainly was not meant to cause offence
:)
Dominic
2008/6/6 Jarlath Eoin
the second replace removes the '_' so as to give a list of all entries
requiring to be extracted...
Even then it is unneccessary - if you wanted either '_split_' *or* '_'
as your delimiter (not what the OP wanted), you'd make use of the
bug (deliberate feature) that has been debated:
cfset
Does anyone know how to do a cffile upload using cfthread? It doesn't seem to
be working for me. Thanks
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Thanks to all for the comments. All I was really missing was the CF
documentation and I have that now. Thanks Mark!
Our server is still at Version 5 so I have to avoid some of the nice tidbits
from 7 and 8. Otherwise, I'm happy as a clam. (Anyway, I think they're
happy.)
Dave Long
NorthGoods
Oops. Fixed it. Needed to add urldecode() to my conditional.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 10:12 AM
To: CF-Talk
Subject: RE: Application.cfc question: Where would be the best place to put
this code?
OK. This is interesting.
All I want to do is have a flash grid display a name and a check box.
When the user clicks the check box, an onchange event is fired off and
runs the appropriate cfc on the server. I found some pages in Google
that, I thought, should me how to do this but now I can't find them.
Little help here?
Hi. I'm looking to make a simple bar that goes horozinitial from 0% to
100% with 1 break inbetween..
Kind of like this..
0% 75% 100%
[X ]
I looked at cfchart and I couldn't see how to get the single bar (much
less have a break point)..
Am I missing
Holy crickets, Batman. Maybe if I do call this a bug I will get some
response. :)
~Brad
-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2008 11:07 PM
To: CF-Talk
Subject: cfhttp resolving base urls to wrong path on redirect
OK, so here's an
I use HTML/CSS to make such charts on the fly. Here's the markup
(change the percentage to whatever you want to show):
div class=progressBar align=left
div class=progressWrapper
div class=progressBarDisplay style=width:75%/div
/div
/div
The CSS looks like this:
You know, I feel kind of irresponsible just dumping some code on you,
but I have a version of a DHTML progress bar I found somewhere and
modified the heck out of. You would need to dig through the source, but
here is an example page that demos several of them. They can be updated
via JavaScript
Ok... This looks promising.. Where would I put in the value of the bar?
I.e. if I have a max of 6 records and 2 are filled, where would I put the..
1) MaxRecords
2) FilledRecords
Is the z index on the progressbardisplay class the percentage it is
filled or is that the style tag for it on the
I like this one allot... then I looked at the source code and almost choked.. :)
I'll work on it and see what I can come up with. Thanks. :)
On Fri, Jun 6, 2008 at 9:42 AM, Brad Wood [EMAIL PROTECTED] wrote:
You know, I feel kind of irresponsible just dumping some code on you,
but I have a
Is there a reason I can't access the argument scope from within a function
when I am using cfthread? I can access every other scope except that one.
I am doing some cfthread calls inside a function inside a cfc. Anyone run
into this issue?
Lol... I know-- it's one of those things I messed around with once, but
I'm kind of afraid to admit it now. :)
Let me know if you need any help.
~Brad
-Original Message-
From: Phillip Vector [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 11:47 AM
To: CF-Talk
Subject: Re:
I may be wrong, but you need to either pass the argument vars in the url
(which are then referred to as attributes) or set them to the variables
scope before you call the cfthread tag.
Regards, Che
-Original Message-
From: Jay McEntire [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06,
You want to set the CSS style property of the div with class
progressBarDisplay. In your case, something like this:
style=width:#filledRecords / maxRecords * 100#%...
My example just had it hard coded at 75%.
cheers,
barneyb
On Fri, Jun 6, 2008 at 9:43 AM, Phillip Vector
[EMAIL
Sure..
myProgBar5.setBar(0); //set the progress bar to indicate a
progress of 50%
I see no function called setBar... Where is it?
i = 1;
j=1;
r=0;
What do these control?
On Fri, Jun 6, 2008 at 9:49 AM, Brad Wood [EMAIL PROTECTED] wrote:
Lol... I
hi,
does anyone know how i can achieve a left join in a query of queries
thanks
richard
~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
Outer joins are not supported in QoQ.
You will have to come up with a workaround. Search this list for some
suggestions.
m!ke
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 12:02 PM
To: CF-Talk
Subject: left join on query of queries
hi,
If you look in the progressBar function (which is really the constructor
of sorts) you will see the following line:
this.setBar = resetBar;
That means that myBar.setBar really calls the function resetBar.
The i, j, and r vars were just loop counters I used for the demo.
I sent you an E-mail
Yes we are aware that they are not supported and we are looking for a
workaround. does anyone have any suggestions?
thansk
Outer joins are not supported in QoQ.
You will have to come up with a workaround. Search this list for some
suggestions.
m!ke
hi,
does anyone know how i can achieve
Ok, have you ever had the burning question when you see a Flash
application on a webpage-- Was it made with Flex?
James Ward, a Flex and Air evangelist from Adobe has a little page
located at http://www.jamesward.com/is_it_flex/ that lets you specify a
URL to a SWF. It uses swfdump to parse the
You'll probably have to loop and use your own conditional logic to build up
a separate result set.
On Fri, Jun 6, 2008 at 1:14 PM, Richard White [EMAIL PROTECTED] wrote:
Yes we are aware that they are not supported and we are looking for a
workaround. does anyone have any suggestions?
thansk
http://www.google.com/search?hl=enq=left+join+on+query+of+queriesbtnG=
Google+Search
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 12:14 PM
To: CF-Talk
Subject: Re: left join on query of queries
Yes we are aware that they are not supported
Very useful, thanks.
The weird thing is, its running the swf, too? I ran pandora.com through
it, because I've always wondered about that. Then some music started
playing, even though I couldn't see any player. When I closed your
site, the music stopped. ???
-Ryan
Brad Wood wrote:
Ok,
He just has it programmed to play background music while you wait for
your results. ;)
Thanks,
Eric
Ryan Stille wrote:
Very useful, thanks.
The weird thing is, its running the swf, too? I ran pandora.com through
it, because I've always wondered about that. Then some music started
Does anyone know how to do a cffile
upload using cfthread? It doesn't seem
to be working for me.
I don't think you can. The uploaded file has already been received by your
program before it starts.
Dave Watts, CTO, Fig Leaf Software
Any way to upload it without loading it into memory? I know the flash form
file upload will do it, but I'm working with some code that is unable to do
that. Trying to find a way to upload big files faster.
~|
Adobe®
Yeah, I actually have to load the page into a hidden iframe to parse its
HTML. The problem is that the majority of SWF files are written into
the DOM after the page loads with JavaScript which means if I just
cfhttp the page and parse it in CF I won't find most of the SWFs. My
new version dumps
I hope someone can help here.
I am CFHTTPing to a secure site and getting connection failed reply. Looking at
it deeply I found out why itâs failing but cannot think of a solution.
Site I am access is https://secure.mysupplier.com/page/check.asp; (I have
changed the name of supplier with my
Hot freaking damn! I agree!
And what a savvy move! Props, Gert!
Yipii!,
-den
On Thu, Jun 5, 2008 at 6:56 PM, Gerald Guido [EMAIL PROTECTED] wrote:
The LGPL2 license is much more attractive than a straight GPL license. I am
really not up on the nuances of OS licenses but from what I
Sorry, I thought you said if, not how.
As another person suggested, you could use nested loops. Or, you could
insert into a temp SQL table and run the outer join.
m!ke
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 12:14 PM
To: CF-Talk
Hot freaking damn! I agree!
And what a savvy move! Props, Gert!
Yup, really exciting move! I have to say as well, that working with the folks
at Railo to make sure their server properly ran my application (and vice versa)
they are really great people to work with, and get issues corrected in
This helped me do something like what your asking for.
http://tinyurl.com/6r6z92
HTH
On Fri, Jun 6, 2008 at 2:14 PM, Dawson, Michael [EMAIL PROTECTED] wrote:
Sorry, I thought you said if, not how.
As another person suggested, you could use nested loops. Or, you could
insert into a temp SQL
You would have to write your own HTTPS class in Java and handle the
SSLException that is thrown that leads to the connection failure that you are
experiencing.
(realy old article hear:
http://www.javaworld.com/javaworld/javatips/jw-javatip96.html) you need to look
for something more up to date
Just curious why you want this to be a flash grid? You should be able to do
this with cf8 html grid.
Dan
On Fri, Jun 6, 2008 at 12:11 PM, Phill B [EMAIL PROTECTED] wrote:
All I want to do is have a flash grid display a name and a check box.
When the user clicks the check box, an onchange
OK, this one has stumped me and it shouldn't. Using cfhttp to get this url,
I get no result
www.comicbookdb.com/browse.php?search=Publisherletter=all
I've played with the following settings with no result:
useragent
throwonerror
redirect
If I try www.comicbookdb.com I get a result
I've even tried
Did you try a network monitor tool? Also, did it work before? Don't
forget CF caches the DNS look up. If the DNS changed for the site, CF
could have the wrong IP.
On Fri, Jun 6, 2008 at 2:59 PM, Michael Dinowitz
[EMAIL PROTECTED] wrote:
OK, this one has stumped me and it shouldn't. Using cfhttp
When you go to the URL from a browser on the server itself what happens?
On Fri, Jun 6, 2008 at 3:59 PM, Michael Dinowitz
[EMAIL PROTECTED] wrote:
OK, this one has stumped me and it shouldn't. Using cfhttp to get this url,
I get no result
It worked in the past and I'm trying it on my home test box. If the root url
works, why would the deeper one fail? I tried it by direct IP and it also
fails. Would there be something that the browser sends that cfhttp doesn't?
On Fri, Jun 6, 2008 at 4:04 PM, Raymond Camden [EMAIL PROTECTED]
Server 2003 has an HTTP security block that affects CF's performance.
Perhaps someone enabled it or cleared the safe sites list?
Hatton
On Fri, Jun 6, 2008 at 4:09 PM, Michael Dinowitz
[EMAIL PROTECTED] wrote:
It worked in the past and I'm trying it on my home test box. If the root url
works,
Ah, I got it. Using Firebug I was able to find that you have to set the
following 2 cfhttpparams
cfhttpparam type=HEADER name=keep-alive value=300
cfhttpparam type=HEADER name=connection value=keep-alive
I guess that they have a setup that sends a single byte of data and then
sends more on
I agree with Ray. If you are on Windows download Ethereal and run it
(it is a packet sniffer) on the server while you run the page. You can
follow the TCP stream and see the actual HTTP request going out and the
result coming back.
Are you getting an HTTP status code of 200?
~Brad
What?!? And Mary Jo likes their customer service? That seals the deal!
I'd say it takes CF to the next level, and all us CF devs with 'it.
If we play our cards right, this can be very lucrative for everyone.
Commercial/product based, and open source/service based.
It'll hook some new blood,
Weird, the cfhttpparams do work. I just tried it too.
Interestingly enough, if I try to load the page in IE7 while running
Microsoft Fiddler 2, I get the blank response.
~Brad
-Original Message-
From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 3:16 PM
To:
Take the following...
cfset badtitlekeywords = military owner,must sell,divorce
cfset title = ((CLASSIC CARMILITARY OWNERMUST SELL
))
Without looping (I'd like one cfif conditional), is there any way to
determine if any element from badtitlekeywords is contained within
If this is 'mission' critical and you cant reproduce it, try the cf_httpx
custom tag
William Seiter (mobile)
Have you ever read a book that changed your life?
go to: http://www.winninginthemargins.com
and use passcode: GoldenGrove
-Original Message-
From: Michael Dinowitz [EMAIL
No, you have to loop over one of them.
Well, you can use a UDF (I know one exists for this at cflib), and
that would 'hide' the loop from ya. ;)
On Fri, Jun 6, 2008 at 3:52 PM, Che Vilnonis [EMAIL PROTECTED] wrote:
Take the following...
cfset badtitlekeywords = military owner,must sell,divorce
Technically, couldn't you create some regex that would check for it in
one swipe? Something like if find matches of (string1 or string2 or
string3 or etc...)
~Brad
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2008 4:44 PM
To: CF-Talk
Subject:
On Fri, Jun 6, 2008 at 4:59 PM, Brad Wood [EMAIL PROTECTED] wrote:
Technically, couldn't you create some regex that would check for it in
one swipe? Something like if find matches of (string1 or string2 or
string3 or etc...)
I had the same thought, but I had a feeling his list of bad keywords
We've got a website that we've recently launched that has caused our CF 8.x
server to continuously run out of memory. Under both load testing in
development and in production Jrun's memory profile just keeps rising and
rising, and rarely seems to release any memory before eventually hitting
1. Get a staging server (I see you have one)
2. Setup some load testing software, and setup a test that can reproduce the
leak (I see you can do that too)
3. View the staging server under load, and review it under
SeeFusion/FusionReactor/Server Monitor, and see if you can see where the
memory is
Well, don't everyone answer all at once... :)
Since nobody seemed to object to this, I guess I'll go ahead and file
this as a bug with Adobe.
Based on http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html AT LEAST
a 301 redirect should behave like I expected per this paragraph:
10.3.2 301
What?!? And Mary Jo likes their customer service? That seals the
deal!
LOL, nice to know my recommendation means so much! ;-)
It'll hook some new blood, and, well, you know... mindshare is
important.
If you've read some of my posts in the past, you'll know I think it is
crucially
Hey Sean,
I know you said you already did a thorough code review and fixed all the
errors so you're not having any application errors, however, my guess
would be there's still some kind of subtle recursion-related issue
that's been overlooked. I would be real surprised if fileexists() does
Mark would know more but I just want to echo his sentiment. For something
like this to get put together it takes a while. That being said its still
what 6-8 months out? So there is a lot of time for more
announcements/changes (not FUD this is meant to be a positive statement).
I also take issue
Without looping (I'd like one cfif conditional), is there any way to
determine if any element from badtitlekeywords is contained within
title?
Yes there is, use ReplaceList(), ie:
CFIF ReplaceList(title, badtitlekeywords, , , ) NEQ
badtitlekeywords... then...
If one element of
Sean,
It looks like your jvm.config may need some tweaking.
Try these settings
java.args=
-server
-Xmx1024m
-Xms1024m
-Dsun.io.useCanonCaches=false
-XX:MaxPermSize=256m
-XX:PermSize=256m
-Dsun.rmi.dgc.client.gcInterval=60
-Dsun.rmi.dgc.server.gcInterval=60
-XX:+UseParallelGC
It is key
75 matches
Mail list logo