Standard to Enterprise - load balanced

2009-04-27 Thread Jeff Becker

Good morning,
We currently have an app on CF8 Standard, but due to volume we are moving it to 
a virtualized environment in that it will be load balanced between two servers.

I'm just looking for a feeler, but in that in this circumstance, would it be 
correct to say we will need to get the UPGRADE to Enterprise only  OR  will it 
be neccessary for us to have 2 licenses of CF8 Enterprise, because we are load 
balancing between two servers (virtualized or not).

What about if further volume increases this to load balancing between 3 servers.

Thoughts??  Thanks in advance. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321980
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Standard to Enterprise - load balanced

2009-04-27 Thread Jeff Becker

Perfect.. Thanks to you both. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321985
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CFLDAP and tokengroups

2009-02-27 Thread Jeff Becker

Good morning,

I have the following code to attempt to get at a users' groups the most 
efficient way.

CFLDAP SERVER=my.ldap.server 
ACTION=QUERY
USERNAME=aaa
PASSWORD=bbb
NAME=results
START=DC=ent,DC=c,DC=dd,DC=corp
FILTER=((objectCategory=User)(samaccountname=jbecker))
SEPARATOR=#Chr(9)#
ATTRIBUTES=tokengroups
cfdump var=#results#

When attempting to run, I'm getting the following error: An error has occured 
while trying to execute query :[LDAP: error code 1 - 2120: SvcErr: 
DSID-03140262, problem 5012 (DIR_ERROR), data 0 ].

The key elmeent to note is that the tokenGroups I know come back as a BYTE.  
Anyone ever had success accessing a users' tokengroups???  Next step is of 
course resolving these to the actual TRUE name.. but I'd take just bringing 
back BYTE by BYTE if someone has knowledge of that.

Thanks in advance for any help!
Jeff 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP and tokengroups

2009-02-27 Thread Jeff Becker

Michael,
Thanks for your thoughts.  The big task at hand is to get all a user's groups 
and most importantly recursively go up the chain.

So for example, user jbecker is apart of AD GROUP San Fran, that group is 
apart of California Users, and that group is apart of All Corporate Users.  
--- so when I ask for jbecker, I'd want all three groups returned.

I'm not sure if #1 or #2 would allow for the recursive gathing part.  (Well it 
doesn't but it requires A TON of calls back and forth to AD)

My Active Directory folks say that AD already gathers this recursive stuff via 
the tokengroups attribute and it would be a matter of dissecting that 
attribute.  Does that help where I'm coming from??

Thanks for the RETURNASBINARY.  I'll give that a look!


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319901
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP and tokengroups

2009-02-27 Thread Jeff Becker

doesn't = DOES

:) 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319902
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFLDAP and tokengroups

2009-02-27 Thread Jeff Becker

Good man!! WOW!

My CFDUMP isn't returning anything... but the code is indeed functioning.  Is 
your CFDUMP empty or displaying something??  I may need to play with my filter.


My AD Contact says we would now have each groups SID (Security Identifier).  
With that, its a matter of then querying for the REAL NAME of each SID. The SID 
is a unique identifier to each group. 

The beauty of this is the active directory grouptokens is doing all the 
recursive gathering of groups of groups.  Now, we still need to get the TRUE 
NAME of the groups.. but that's a one time get and then FOREVER CACHE.  They 
don't change.

Let me know on the question above.  Good find on Google Docs. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319919
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFLDAP and tokengroups

2009-02-27 Thread Jeff Becker

Interesting... The scope=base is what is killing mine.  I'm not sure if I 
need to change my START value or what???

According to docs:
oneLevel: entries one level below entry. == DEFAULT 
base: only the entry. 

But not exactly sure what that means.. in any regard, I'm getting closer and 
closer to the end goal... :) Thanks.  Let me know anything else you find out or 
any thoughts on the scope= switch above.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319922
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: nofollow regex

2009-01-15 Thread Jeff Becker
Wowsers.. Thanks Peter.. I looked at Adrian's code yesterday to try to see if I 
could modify to include all the complex examples.

I'll test your code today and let you know how it goes. For as gracefully as 
Wordpress and some forum software handle this, it sure is complex to implement. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317994
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


nofollow regex

2009-01-14 Thread Jeff Becker
Hey folks,
Since I got no love in the RegEx forum, I'm hoping to post here to get a little 
more eyeballs on the question I'm struggling over.

I'm looking for a working rel=nofollow regex to modify links.

For example:

Goto a href=http://google.com;Google/a now!
and turning it into:
Goto a href=http://google.com; rel=nofollowGoogle/a now!

The best solution I've found so far is:  
http://www.sitecritic.net/articleDetail.php?id=242  , but this 
is a PHP solution.  Any ideas on converting this to Coldfusion?

The PHP solution covers a lot of scenarios (extra attributes, single quotes 
instead of double quotes) etc.. so that would be ideal.

Thanks! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317920
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: nofollow regex

2009-01-14 Thread Jeff Becker
Yes it does.  This is for validation on a blog or forum, etc...

For the spam comments/posts that do sneak by, it would be nice to have the 
server side validation making sure to add in rel=nofollow.

I thought about client side, but again, ideally, I'm after server-side 
validation and formatting.





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317926
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: nofollow regex

2009-01-14 Thread Jeff Becker
Adrian,
Thats very nice.. Thanks for that.

I made one minor correction.  Note the added in 
cfset newLink = Replace(match, ,  rel=nofollow,ONE)


I'm starting to run more complicated examples and have two issues.
Running:
cfsavecontent variable=html
Goto a href=http://google.com;Google/a now!BR
Also hit up a href='http://movies.com' rel='junkrel'movies/aBRBR
Don't forget a   href=http://coffee.com; title=Great Coffee GRRREAT COFFEE 
/a
/cfsavecontent


Two items:
Anyway to remove that rel=junkrel.  Again concern is for spammers.  I think 
fakerel=nofollow might be bypassed as well.

Other item.  Any issues on the movies example switching from single quote to 
double quote ONLY ON the rel=nofollow.  I'm thinking that might ok for search 
engine spiders

Thanks again! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317929
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SmarterStats API

2008-12-12 Thread Jeff Becker
Hmm.. That helps a little bit James.

That defines the complex type returned from the Statistics.asmx service.

I'm after the complex type that is returned from the Query.asmx service.


It doesn't help that the Query.asmx SmarterStats API is undocumented and 
unsupported.
 - Because this is an undocumented web service call, they are also 
unsupported.
 - http://www.smartertools.com/forums/t/16645.aspx

What you sent does give a little insight into their objects tho.. I will keep 
searching.

Any other thoughts? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316697
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SmarterStats API

2008-12-11 Thread Jeff Becker
Hello everyone,
I am having trouble with the SmarterStats API and utilizing ColdFusion to 
gather stats.  I have successfully made the call and am getting the results 
back.  However, I think because my return of complex type(??), I'm not sure how 
to interpret/display the results.  Based on the minimal documentation, I was 
hoping to get back.

QueryItem   Visits
 id=123  89
 id=124  52
 id=125  5


The code I have is below.  The cfdumps give back just ugly object of 
com.smartertools.smarterstats.query.ExecuteQueryResponseExecuteQueryResult 
OBJECTS.. not very useful.  The attempt below is what I tried in traversing 
these objects.

See code below.  Any ideas?



cfset query=select * from 
ftopqueriesbypage(1,'2008-09-08T00:00:00','2008-09-09T00:00:00',20,'/viewArticle.cfm')
 order by Visits desc

cfinvoke
  webservice =http://MYSITE.com:/services/query.asmx?wsdl;
  method =ExecuteQuery
  returnVariable = getinfo 
cfinvokeargument name=authUserName value=USERNAME/
cfinvokeargument name=authPassword value=PASSWORD/
cfinvokeargument name=AuthorizationCode value=WEBSERVICES_AUTH_CODE/
cfinvokeargument name=SiteID value=1/
cfinvokeargument name=query value=#query#/
/cfinvoke


!---cfdump var=#getinfo#---

cfset a = getinfo.get_any()

!---cfdump var=#a#---

cfloop index=x from=1 to=#arrayLen(a)#
cfoutput#x# - #a[x].toString()# - - BRBR/cfoutput
/cfloop 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316658
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SmarterStats API

2008-12-11 Thread Jeff Becker
Yes. Tried that. It is currently commented out in the code... among other 
things.

That just gives the object methods all printed out, not much help as I try to 
get at the data located SOMEWHERE!??? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316661
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SmarterStats API

2008-12-11 Thread Jeff Becker
This is the same issue Sebastian is having as well.  I too get the get_any() 
method and am just uncertain how to access data.

Related:  http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:58292 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316665
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) SQL Join With LIKE in Join Criteria

2008-09-11 Thread Jeff Becker
Very interesting Michael. A good solution based on the environment your working 
with.  I'm no DBA, but I do have a feeling this is an example where proper 
normalization would help out significantly.  In terms of performance, I have no 
idea if you'll have a problem, but I believe anytime a LIKE '% is used, its a 
whole table scan and thus performance could be an issue.

Good solution.. not sure what you can do to get around the LIKE '% .   Will be 
interested to hear what more DBA types will say about this.

Jeff 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312382
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cfcache - doesn't work

2008-08-15 Thread Jeff Becker
Why doesn't this work?

cfcache action=flush expireURL=*/view.cfm?id=*

I know the code is running and I know the URL matches.

Hmmm 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311042
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfcache - doesn't work

2008-08-15 Thread Jeff Becker
I'm just dumb.  We were caching in a different directory then the default
(default=cf_root/cache).


cfcache action=flush expireURL=*/view.cfm?id=* directory=/our_cache_dir/
now works. :) 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311044
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Learning advanced Coldfusion - ideas??

2008-08-12 Thread Jeff Becker
Good morning folks,

I'm curious to get this groups ideas on ideas, conferences, books, training, 
etc.. etc.. for learning the more advanced topics of Coldfusion.. mainly 
encapsulating code in CFCs and possibly frameworks. more CFC but also 
frameworks would be nice.

I'm aware of the main conferences.. MAX, CFUNITED, CFOBJECTIVE.

I've mainly used Ray's RIAFORGE examples as to playing around with CFCs, 
caching them in the APPLICATION scope to gain efficiencies, etc..  It would be 
great to learn more about the beginning design of CFCs to be created.. Almost 
design patterns around beginning your CF project.

Can anyone recommend good books on Amazon that are mainly CFC focused? Hal 
Helms' book Discovering CFCs: ColdFusion MX Components seems a bit old as its 
from 2002.

Hal's personal site 
(http://www.halhelms.com/index.cfm?fuseaction=training.detail ) has the 
training course of Object Oriented Design and Development with CFCs: which 
might be what I'm topics wise after.

Again CFCs and even frameworks. Any Ideas? Thanks!
  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310882
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Little brainstorming help needed (developing email app)

2008-07-15 Thread Jeff Becker
Same approach for images as links.

img src=http://yahoo.com/logo.gif?track=UNIQUE-PARAM-FOR-USER; 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309046
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


two lists - matching any element

2008-05-22 Thread Jeff Becker
Hi folks,

I'm not 100% sure on all the list functions in CF.. so I'm hoping this group 
can give me a little guidance.

Ideally, I'm looking for a UDF that takes in two LISTS and returns a BOOLEAN.  
True if ANY element in list 2 is in list 1.  False if NO element in list 2 is 
in list 1.

I tried to search cflib.org and also looked at the avail functions for lists. 
It needs to be optimized, so ideally breaking out of the UDF once the first 
match is found.

EXAMPLES:
list1 = 5,8,2,20
list2 = 4,6
result = FALSE

list1 = 700,300,400,1100,2200
list2 = 300,400
result = TRUE, but breaking out of comparisions after first find (300)

list1 = 1
list2 = 3,4,6,1,2,11,100,101,102,103,104
result = TRUE, but breaking out of comparisions after element 4 = (1)


appreciate any guidance! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305882
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: two lists - matching any element

2008-05-22 Thread Jeff Becker
Wow.. very quick responses! Thanks to both of you.

@Bobby..  THanks for pointing that UDF out.  Not sure if it is exactly what I 
need, but with modifications and thinking about it a bit, that would definitely 
get me started.

@Dominic.. Short and sweet.. Exactly what I was lookign for.. although I'm not 
sure yet if it breaks out as early as I would like.. but I haven't explorer the 
UDF code yet. Either way, the correct results and short code is perfect! 
Appreciate it.

Thanks again to both of you.. Great great stuff.
Jeff 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305886
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion/SOAP/Complex datatypes

2008-05-12 Thread Jeff Becker
Best of luck to you.. When I tried dealing with complex types.. it was 
rather... complex to say the least.. This was one area where documentation or 
examples would really help.

Take a look at: 
http://www.mischefamily.com/nathan/index.cfm/2007/2/8/ColdFusion-and-ASPNET-Web-Service-Interoperability-Part-III

Hopefully the above helps.  It helped us to some degree.

Jeff 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305123
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion Advanced Search Form / Dynamic Query

2008-04-08 Thread Jeff Becker
While there might even be a more graceful way to deal with this... Try maybe:

SELECT *
FROM table 
WHERE
cfif form.state EQ  AND form.zipcode EQ  AND form.city=
 1=0
cfelse
 cfif #form.state# is not  table.state LIKE '#form.state#' AND /cfif
 cfif #form.zipcode# is not  table.zipcode LIKE '#form.zipcode#' 
AND/cfif
 cfif #form.city# is not  table.city LIKE '#form.city#' AND/cfif
 0=0
/cfif
/cfquery


hopefully the indents look good!


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302947
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Coldfusion Advanced Search Form / Dynamic Query

2008-04-08 Thread Jeff Becker
Also, not sure why you are using LIKE.  Unless your passing it in, you are 
never using a wildcard (%) and thus I think you can get away with an EQUALS 
sign instead of the LIKE.

Idents didn't show up too well, so maybe cut and paste into notepad for a 
better, more organized look.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302948
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


CFLDAP parameter parenthesis

2008-04-03 Thread Jeff Becker
Need help with a CFLDAP query.  It deals with a parameter that has various 
parenthesis in it.  As LDAP queries are based off parenthesis for dealing with 
ANDs and ORs... I am running into trouble.

I have the following:
cfldap   server = ldap.uconn.edu
  action = query
  name = results
  start = dc=uconn,dc=edu
  filter=((objectCategory=Group)(cn=#cn#))
  attributes = cn,o,title,mail,telephonenumber

My #cn# parameter is:  (placeholder)REALLY_LONG_SERVER_NAME(Mod

Notice the 3 parenthesis and unmatched last parenthesis! I assume the Active 
Directory team ran out of room and didn't close. :/

Error message is:  The value of the attribute filter is invalid.
Any suggestions?? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302620
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFLDAP parameter parenthesis

2008-04-03 Thread Jeff Becker
After a bit of digging, I think I was able to find an answer to this.

http://www.faqs.org/rfcs/rfc2254.html gave me some good info on LDAP search 
strings. Search the above link for String Search Filter Definition

Turns out I needed to replace special chars (*,(,),\,NUL) with their respective 
ASCII value

Taken from the above, all the examples below are good search strings.
(o=Parens R Us \28for all your parenthetical needs\29)
(cn=*\2A*)
(filename=C:\5cMyFile)
(bin=\00\00\00\04)
(sn=Lu\c4\8di\c4\87)


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302651
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8 - Decrypt function generating error

2008-03-21 Thread Jeff Becker
Thanks Steve,

I added the HEX encoding argument and no longer throw the error BUT now my 
cfoutput is not displaying anything / empty.

cfset key = 
cfset encrypted = bbb  
cfoutput#Decrypt(encrypted, key, AES,HEX)#/cfoutput

result empty string
key and encrypted are orginals of course.

Any ideas?


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301736
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF8 - Decrypt function generating error

2008-03-20 Thread Jeff Becker
Any idea why the following code works in CF7 but not when placed in a CF8 
environment??

cfset key = 
cfset encrypted = bbb   
cfoutput#Decrypt(encrypted, key, AES)#/cfoutput


The error in CF8 is:  An error occurred while trying to encrypt or decrypt 
your input string: The input and output encodings are not same..


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301693
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SES UDF

2008-01-28 Thread Jeff Becker
Hi folks,

I'm experimenting with SES URLs for a company Intranet.

Basically I would like to take a string and turn it into alpha-numeric 
separated by hyphens.

Therefore,
This is the headline story!! = this-is-the-headline-story

Let's not forget about special char$ = 
lets-not-forget-about-special-char

Hyphens as in - should not appear 2 times in a row = 
hyphens-as-in-should-not-appear-2-times-in-a-row

Does anyone know if a UDF exists already.  I've looked at cflib. I've played 
with REReplace, but can't find the correct regular expression to use.
Thanks to all for any help,
Jeff



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297601
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: SPAM: SES UDF

2008-01-28 Thread Jeff Becker
Wow.  Thanks Andy. That looks like it works.

Can you explain the difference between  :alnum:  and  \w

I was working with \w  and when I sub that in, it doesn't catch the ! or $.

I had thought they both were defined as [A-Za-z0-9]??


Thanks again! 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297607
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Personalized URLs (purls)

2008-01-24 Thread Jeff Becker
This is a great subject.. We've been wanted to improve our search for a long 
time, but unfortunately we are in an IIS environment and I find it difficult 
there.

I've used .htaccess and thats pretty simple if you know the syntax... but thats 
only avail on Apache webservers.

My comment to the above is.  Do you really want this going to a 404 page. 404 
tells the search engine it is Not Found.  or did I misinterpret and it would 
be all internal.
1. Request comes in
2. server doesn't find page.
3. server re-routes to mastersearch.cfm and doesn't return any status code yet.
4. Search finds something - returns 200 and correct content
   OR
   Search doesn't find anything and returns 400

Thoughts? 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:297319
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Keep session alive for form

2008-01-19 Thread Jeff Becker
Hey folks,

I'm hosted at CrystalTech using CF8 and in the shared environment, therefore I 
have a max session timeout of 20 minutes.

Currently users log in to the site and we store username in their session.  The 
site is for posting reviews and therefore they write paragraphs and paragraphs 
of information.  My problem lies with a user typing and typing and going over 
their timeout limit of 20 min.

Any ideas for keeping this session alive? I tried implementing an IFRAME to 
routinely hit a keepAlive.cfm page in the background - but that seems so 
rudimentary and cumbersome - plus it didn't work 100% of the time in my testing.

Any ideas? Would cfajaxproxy help? I need something to keep that session while 
they type their long-winded review. 



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296904
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Keep session alive for form

2008-01-19 Thread Jeff Becker
Thanks Mary Jo and William,

I've got javascript similiar to what you have. It is reloading the Iframe every 
x minutes.  Again that wasn't 100% on my testing, so maybe it was goofy for 
some reason.  I'll plan on implementing your JS and see where that leads.

I like the idea of a Save Work periodically button.

I'm also using FCKEditor (although custom installation of that). Any idea if 
FCKEditor has a automatic feature like this in the background.  I would think 
perhaps AND I will do some research myself on this.  Let me know if anyone has 
experience using FCKEditor (CF8 or Custom Install) and autosaving.

I'll try to report back to as I dig deeper into fckeditor.net 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296910
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Keep session alive for form

2008-01-19 Thread Jeff Becker
Wow! This is absolutely amazing.

http://greenmap.sourceforge.net/fck_demo/about.html

might solve my session problems and provide a nice Draft capability. 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296913
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


stop requests of images via application.cfc

2007-10-19 Thread Jeff Becker
I'm uploading (via CFIMAGE) images into a /temp/ folder.  Naming them 1.jpg, 
2.jpg, etc..

After I approve them, I move them out of /temp/.

It appears application.cfc onRequestStart doesn't stop requests directly to 
/temptemp/UNAPPROVED#.jpg

Any thoughts??  Much appreciated! 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291646
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


stop requests of images via application.cfc

2007-10-19 Thread Jeff Becker
I'm uploading (via CFIMAGE) images into a /temp/ folder.  Naming them 1.jpg, 
2.jpg, etc..

After I approve them, I move them out of /temp/.

It appears application.cfc onRequestStart doesn't stop requests directly to 
/temptemp/UNAPPROVED#.jpg

Any thoughts??  Much appreciated! 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291643
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: lt;cftextarea richtext=quot;truequot;gt; question

2007-09-26 Thread Jeff Becker
Standard for a reason ???

Please navigate to: http://www.fckeditor.net/demo

 - Click the Templates button.. You're saying everyone who wants to use the 
Templates feature should SHARE those standard templates

 - View the Styles dropdown.. You're saying everyone who wants to use the 
Styles feature should SHARE those standard styles???

It's just not feasible. There are a whole host of other features available but 
in a SHARED environment customizing them just won't work.  Using cftextarea 
richtext=true in a shared enviroment is worthless EXCEPT if you want to use 
the Basic toolbar.

I'm going to have to install my own FCKEditor to get the options I want and 
that sure defeats the purpose of have the cftextarea richtext tag altogether.

Jeff


~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289573
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: lt;cftextarea richtext=quot;truequot;gt; question

2007-09-26 Thread Jeff Becker
Standard for a reason ???

Please navigate to: http://www.fckeditor.net/demo

 - Click the Templates button.. You're saying everyone who wants to use the 
Templates feature should SHARE those standard templates

 - View the Styles dropdown.. You're saying everyone who wants to use the 
Styles feature should SHARE those standard styles???

It's just not feasible. There are a whole host of other features available but 
in 
a SHARED environment customizing them just won't work.  Using cftextarea 
richtext=true in a shared enviroment is worthless EXCEPT if you want to use 
the Basic toolbar.

I'm going to have to install my own FCKEditor to get the options I want and 
that 
sure defeats the purpose of have the cftextarea richtext tag altogether.

Jeff


~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289575
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: amp;lt;cftextarea richtext=amp;quot;trueamp;quot;amp;gt; question

2007-09-26 Thread Jeff Becker
OK.. This sucks.. You named the subject line the same as my thread and now I 
can't reply.. It defaults to this topic..

Sorry for trying to hijack your thread.. It's just replies go by Subject line 
and you took it over.

Jeff 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289576
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


cftextarea richtext=true question

2007-09-25 Thread Jeff Becker
Hello,
I am using CrystalTech's Coldfusion 8 shared environment.

I've got code calling: cftextarea richtext=true toolbar=MyCustomToolbar

On my DEV/Local box.. I defined the MyCustomToolbar in the 
\CFIDE\scripts\ajax\FCKeditor\fckconfig.js file.

I've also made changes to the fckstyles.xml and fcktemplates.xml file.

My problem is: In the shared environment, EVERYONE shares /CFIDE/* .  My 
question is, is there anyway I can have my own copy of the /CFIDE/ directory 
and thus have changes to the files listed above.

I've seen folks post lots of talk about a virtual directory and sorts.. but not 
sure if that solves it.. or even whats involved.

Hard to believe the whole shared environment would have to SHARE the STANDARD 
templates that are in fcktemplates.xml. Same with sharing the STANDARD 
toolbars as defined in fckeditor.js There must be a way to edit and have my 
own!?!

Thanks for any help,
Jeff 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289406
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4