DDOS Prevention

2014-05-27 Thread John M Bliss
Does anyone have a preferred free / low-cost solution for DDOS prevention for Windows / IIS? Anyone have any good/bad experience with http://www.iis.net/downloads/microsoft/dynamic-ip-restrictions ? -- John Bliss - http://www.linkedin.com/in/jbliss

Re: DDOS Prevention

2014-05-27 Thread Byron Mann
I had issue attempting to get that IP restrictions module to work with CF 10. Seems as though the request was getting handed off to CF before hitting the IIS module. So it did not seem to work properly at least for me. I didn't put too much effort into it, as our load-balancer actually handles

Re: DDOS Prevention

2014-05-27 Thread Russ Michaels
For iis modules that don't work with cf the ususl fix is to get rid of wildcard handler and use regular handler Russ Michaels www.michaels.me.uk cfmldeveloper.com cflive.net cfsearch.com On 27 May 2014 16:22, Byron Mann byronos...@gmail.com wrote: I had issue attempting to get that IP

Re: DDOS Prevention

2014-05-27 Thread Byron Mann
Not to steal the thread, but I remember trying that and something else broke. I want to say the default doc wasn't working correctly, so I couldn't get http://domain.com/ to pass off to CF. May have been something else though. One of these days I'll have to give it another try. Byron Mann Lead

not getting identity value from insert

2014-05-27 Thread Matthew Smith
Can you spot where I am off? Please help... GO insert into #request.sqlobjectprefix#TblEmailRecovery ( guid, emailaddress ) VALUES ( cfqueryparam cfsqltype=cf_sql_varchar value=#variables.newguid#,

Re: not getting identity value from insert

2014-05-27 Thread C. Hatton Humphrey
On Tue, May 27, 2014 at 1:34 PM, Matthew Smith chedders...@gmail.comwrote: SELECT @@IDENTITY AS 'Identity' You might try using IDENT_CURRENT('#request.sqlobjectprefix# TblEmailRecovery') http://msdn.microsoft.com/en-us/library/ms175098.aspx Otherwise, what are you looking for? Until Later!

RE: not getting identity value from insert

2014-05-27 Thread DURETTE, STEVEN J
Actually the issue here is the GO between the insert and the select @@identity. Using go between them makes them in to two separate unrelated batches. Steve -Original Message- From: C. Hatton Humphrey [mailto:chumph...@gmail.com] Sent: Tuesday, May 27, 2014 1:39 PM To: cf-talk

Re: not getting identity value from insert

2014-05-27 Thread Matthew Smith
still not working. hmm... cfif qry_emailToPK.recordcount cfset variables.newguid = CreateUUID() cfquery name=qry_CREATETOKEN datasource=#variables.datasource# insert into #request.sqlobjectprefix#TblEmailRecovery ( guid, emailaddress ) VALUES (

Re: not getting identity value from insert

2014-05-27 Thread Dave Watts
still not working. hmm... cfif qry_emailToPK.recordcount cfset variables.newguid = CreateUUID() cfquery name=qry_CREATETOKEN datasource=#variables.datasource# insert into #request.sqlobjectprefix#TblEmailRecovery ( guid, emailaddress ) VALUES

Re: not getting identity value from insert

2014-05-27 Thread Matthew Smith
I am sorry. The email address was not in there and I had the code improperly nested. Thank you all for the help. I am sorry for the carelessness. Good day. On Tue, May 27, 2014 at 3:25 PM, Dave Watts dwa...@figleaf.com wrote: still not working. hmm... cfif

Re: DDOS Prevention

2014-05-27 Thread Russ Michaels
It will hreak things that rely on the wildcard handler to resolve servlet mappings, such as flash remoting. But you can get around this by creating those as empty folders. Checkout this article which shows you how using boncode. The same would apply using the standard connector though.

Dynamic Query Name in Custom Tag?

2014-05-27 Thread Dan LeGate
Hi all, I'm attempting to create a dynamic query name inside a Custom Tag. It seems to get created fine, but referencing it seems to be the problem. Here's where I set it up: cfquery name=ConvertedFields_#attributes.QueryName# dbtype=query So, yes, it's a Query of Query, if that makes a

Re: Dynamic Query Name in Custom Tag?

2014-05-27 Thread Matt Quackenbush
Try cfdump var=#variables[ 'ConvertedFields_' attributes.QueryName ]# On Tue, May 27, 2014 at 4:49 PM, Dan LeGate d...@legeek.com wrote: Hi all, I'm attempting to create a dynamic query name inside a Custom Tag. It seems to get created fine, but referencing it seems to be the problem.

Re: Dynamic Query Name in Custom Tag?

2014-05-27 Thread Claude Schnéegans
I'm attempting to create a dynamic query name inside a Custom Tag. If you create anything in the scope variables, from inside a custom tag, it will be created in the custom tag scope only. You must use the caller scope, ie: cfquery name=caller.ConvertedFields_#attributes.QueryName#

Re: Dynamic Query Name in Custom Tag?

2014-05-27 Thread Claude Schnéegans
Sorry, I was too fast reading your message. If you cfdump var=ConvertedFields_#attributes.QueryName#, I suppose the CFDUMP is still inside the custom tag, so the query should be defined. But if it says Variable CONVERTEDFIELDS_ is undefined it looks like attributes.QueryName is empty. Are you

Re: Dynamic Query Name in Custom Tag?

2014-05-27 Thread Dan LeGate
Thanks Matt! That worked for cfdump. Now I'm trying to cfif for the RecordCount and neither: cfif variables[ 'ConvertedFields_' attributes.QueryName.RecordCount' ] GT 0 nor cfif variables[ 'ConvertedFields_' attributes.QueryName '.RecordCount' ] GT 0 works. Any advice on this one?