RE: Limiting RSS Records

2009-03-20 Thread Burns, John D

Just change you loop to loop from 1 to your page limit instead of
#item_length#. Then you'd have to handle the paging though.

-Original Message-
From: Steve LaBadie [mailto:slaba...@po-box.esu.edu] 
Sent: Friday, March 20, 2009 12:04 PM
To: cf-talk
Subject: Limiting RSS Records


I am pulling an RSS feed from a 3rd party events calendar and want to
limit how many events show on a page. The only control I have at the
moment is to set the day_count which is currently set to 2. Any
help/guidance would be appreciated.

 

Here is my code:

 

cfhttp
url=http://esuevents.admin.esu.edu/r25ws/wrd/run/hot_event.xml?day_coun
t=2otransform=RSSHotEvents.xsl method=get/cfhttp

cfset objRSS = xmlParse(cfhttp.filecontent) /

cfset Item_Length = arraylen(objRSS.rss.channel.item) /

cfloop index=i from=1 to=#Item_Length# step=1

cftry

p class=eventsspan class=newstitle

a class=eventlink a
onClick=javascript:window.open('cfoutput#objRSS.rss.channel.item[i].l
ink.xmltext#/cfoutput','Event','height=450,width=625,toolbar=no,menuba
r=no,status=no,location=no,directories=no,titlebar=no,resizable=yes,scro
llbars=yes'); return false; href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput

cfset pubdate = #objRSS.rss.channel.item[i].date.xmltext# /

cfset date = #DateFormat(date,mm/dd/)# /

cfoutput #date# /cfoutputbr /

cfoutput #objRSS.rss.channel.item[i].title.xmltext# /cfoutput

/a/spanbr /

cfoutput #objRSS.rss.channel.item[i].space.xmltext#/cfoutput

br /strong|/strong a href=cfoutput
#objRSS.rss.channel.item[i].link.xmltext# /cfoutput
class=eventlinkmore/a/p

cfcatch type=any/cfcatch

/cftry

/cfloop

 

Steve LaBadie, Web Manager

East Stroudsburg University

200 Prospect St.

East Stroudsburg, Pa 18301

570-422-3999

http://www.esu.edu

slaba...@po-box.esu.edu

 





~|
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:320773
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Googlebot got me good last night...

2009-02-23 Thread Burns, John D

I see you got a bunch of answers already and hopefully have solved your
problem. However, I wanted to share with everyone a problem we had. We
had a site that appended CFID and CFTOKEN on an older site that was
using CF5 or 6 (I honestly can't remember at this point). A user had the
google toolbar installed that reported links they visited back to
Google. Well, the link it reported included CFID and CFTOKEN. Typically,
this would timeout before the googlebot started crawling but in this
instance it happened before the timeout. What screwed up royally was
that the developer did NOT use buttons for deleting records but instead
used links. My understanding in talking with some Google reps is that
the google-bot does not click submit buttons, but it does follow all
links. Needless to say, the google-bot deleted all of the records where
that was the case in this app. So, as an added precaution, use input
type=button or input type=image but do not use a href=... on
any links that you wouldn't want a bot or something to follow.
Obviously, a robots.txt should also be added to limit what you want bots
to crawl but I figured I'd share that frustrating story to possibly help
others.

John

-Original Message-
From: Les Mizzell [mailto:lesm...@bellsouth.net] 
Sent: Thursday, February 19, 2009 3:10 PM
To: cf-talk
Subject: Googlebot got me good last night...


This happened on a small site with a user admin system that's password 
protected. Seems Googlebot managed to get into the admin system last 
night, started crawling admin pages, and ended up munging half the
database:

  1. Clicking archive or mark inactive buttons on admin area
 index pages
  2. In a few cases, actually seemed to SUBMIT a form, updating data.

I'm still scratching my head over how Googlebot got into the admin 
system to start with. It looks legit from the logs. The IP address, 
user-agent and everything else checks out.

Luckily, this isn't a mission-critical site, and database backups are 
done nightly, but now it's got me worried for other sites. Googlebot has

*never* caused any problems with password protected admin systems 
before, my robots.txt file usually excludes the admin folder (and you 
can be sure I'm checking the ones I'm not sure about right now) and the 
login stuff I use I thought was pretty standard.

My login code is below. Tell me I'm a complete idiot.

So,

1. Anybody else have this problem recently?
2. I'm an idiot I guess, how *should* I be doing my login systems?
(One site on CF8, others still CF7)
4. If you're doing anything like I am, then maybe we're *all* idiots at 
this point and need to redo our login pages to use whatever somebody 
much smarter than I says to do in #2 above.

-
Application.cfm page for the admin folder:
-

!--- Define that this user is logged out by default ---
CFPARAM NAME=session.allowin DEFAULT=false

!--- Define this user id to zero by default  ---
CFPARAM NAME=session.user_id DEFAULT=0

!--- If the variable session.allowin does not equal true, send user 
to the login page ---

cfif session.allowin neq true
   cfif ListLast(CGI.SCRIPT_NAME, /) EQ ../admin_login.cfm
   cfelseif ListLast(CGI.SCRIPT_NAME, /) EQ login_process.cfm
   cfelse
   !--- Not logged in, alert user and redirect ---
   script
   !---alert(You must login to access this area!);---
   self.location=../admin_login.cfm;
   /script
   /cfif
/cfif

-
login_process page:
-
**QUERY TO CHECK USER/PASS HERE

cfif Verify.RecordCount
 !--- logged in ... set the value of the session.allowin value ---
 cfset session.allowin = True /
 cfset session.user_id = Verify.id /
 script
  self.location=idx_admin.cfm;
 /script
cfelse
 !--- not logged in, redirect to the login page ---
 script
 alert(Your credentials could not be verified, please try 
again!!!);
 self.location=../admin_login.cfm;
 /script
/cfif



~|
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:319691
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 Burns, John D
Try cfdump var=#getinfo#

-Original Message-
From: Jeff Becker [mailto:jpbec...@yahoo.com] 
Sent: Thursday, December 11, 2008 4:12 PM
To: cf-talk
Subject: SmarterStats API

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.ExecuteQueryResponseExecuteQueryResu
lt 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,'/vie
wArticle.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:316659
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: LDAP Query Performance question

2008-11-03 Thread Burns, John D
Mike-

When you do this is this a loop that runs 5500 queries or 1 query that
updates 5500 records? Just curious what the impact is for each
connection.

John

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 3:45 PM
To: cf-talk
Subject: RE: LDAP Query Performance question

Oh, by the way, regarding my earlier message.  We have about 5,500
accounts that I update on a daily basis.  Performance isn't really an
issue, however, I have plans to cut this down from taking several
minutes, to just a few dozen seconds.

Mike 

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 12:03 PM
To: cf-talk
Subject: RE: LDAP Query Performance question

It's just a nightly task but it may have 300-400 results each time it
runs. I don't think it'll bring down the house or anything it just
brought up the question to see if there was a more elegant way of doing
it.



~|
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:314769
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: LDAP Query Performance question

2008-11-03 Thread Burns, John D
See, I'm doing the opposite. I'm getting a list of accounts from a SQL
database and trying to then perform a read query to get those user
accounts from AD. However, I can't find an elegant way to do that in 1
query so I'm looping over my results and doing individual queries to the
AD for each account. I'm definitely looking into this AD/SQL linking
which I had never heard of before. Thanks for the help!

John

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2008 10:27 AM
To: cf-talk
Subject: RE: LDAP Query Performance question

My current process is to query AD using CFLDAP.  That returns about
5,500 user objects.

Then, I loop over those results and perform a CFQUERY to a SQL 2005
database.  Our SQL server is pretty beefy, so we haven't had any
performance issues.

My goal of this process is to compare names, titles, phones, addresses,
etc, from AD to the daily-updated information in SQL.  If any one of the
data attributes is different, then I perform an LDAP update to refresh
that particular user object.

It does take a few minutes to run, however, I have found a faster method
of connecting AD directly to SQL Server.

When I get some time, I'm going to rewrite this process to actually join
AD and the SQL table and compare the data in one swoop rather than
thousands of swoops.

Then, I will be able to schedule this as a SQL job and take the full
load of of ColdFusion.  Until then, it doesn't hurt a thing.

Mike

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 03, 2008 9:19 AM
To: cf-talk
Subject: RE: LDAP Query Performance question

Mike-

When you do this is this a loop that runs 5500 queries or 1 query that
updates 5500 records? Just curious what the impact is for each
connection.

John



~|
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:314771
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


LDAP Query Performance question

2008-10-31 Thread Burns, John D
I have a query of a SQL table that returns to me a bunch of usernames.
From that, I need to query some information out of Active Directory for
each user. Right now I have it looping over each row in the result from
the SQL query and doing a separate LDAP query to the AD. This just
doesn't seem like the best way to do things. Does anyone know if there's
a syntax within LDAP querying of the AD to do something like an IN
keyword where I could give the whole list of usernames I want to query
and get a single result set back from one query instead of doing
individual queries? There's no commonality amongst the user accounts in
the AD except for the fact that their usernames are all in this external
SQL table. Let me know if you have any ideas. Or maybe the single LDAP
queries aren't as intensive as bad as what I'm thinking. I just know I
always try to avoid multiple queries in SQL whenever possible. Here's
the syntax I'm using now when querying the AD:

cfldap action=QUERY
   name=GetEmployeeIDByUsername
   attributes=cn,displayName,givenName,extensionAttribute1
   start=dc=domain,dc=com
   scope=subtree
   filter=((objectCategory=Person)(cn=#myQuery.username#))
   server=domaincontroller.mydomain.com
   username=#ADUsername#
   password=#ADPassword#

Thanks in advance for any help.


~|
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:314679
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: LDAP Query Performance question

2008-10-31 Thread Burns, John D
It's just a nightly task but it may have 300-400 results each time it
runs. I don't think it'll bring down the house or anything it just
brought up the question to see if there was a more elegant way of doing
it.

-Original Message-
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2008 12:51 PM
To: cf-talk
Subject: Re: LDAP Query Performance question

On Friday 31 Oct 2008, Burns, John D wrote:
 I have a query of a SQL table that returns to me a bunch of usernames.
 From that, I need to query some information out of Active Directory
for
 each user. Right now I have it looping over each row in the result
from

Firstly, how many is a bunch, how up-to-date does the result for each
need to 
be,and how often is the AD data updated (and how) ?

It maybe you can just cache the result, or have the new data for a
person 
pushed to you.
-- 
Tom Chiverton
Helping to efficiently incentivize visionary intuitive six-generation 
environments





This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  A list of members is available for inspection at
the registered office. Any reference to a partner in relation to
Halliwells LLP means a member of Halliwells LLP.  Regulated by The
Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
2500.

For more information about Halliwells LLP visit www.halliwells.com.



~|
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:314684
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Load testing software for website with AD integrated authenti cation

2008-07-24 Thread Burns, John D
How exactly do you record this? Is it a cookie that's set or do you
need a network traffic sniffer to pick up whatever header is being
passed? How often do the tokens or whatever is passed get changed? I'm
assuming each time you login there's something that gets set?

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 23, 2008 5:27 PM
To: CF-Talk
Subject: RE: Load testing software for website with AD integrated
authenti cation

 We're having some serious trouble with an internal website 
 that uses IIS pass-through authentication that logs you in 
 automatically based on the user you're logged into your 
 computer as. The problem is, I can't find any load testing 
 apps that will test a site with that type of login. My 
 thinking is that it doesn't exist because it would have to 
 spoof to AD authentication which shouldn't be able to be done 
 or it defeats the purpose of that type of security. Can 
 anyone confirm this or point us toward a product that does 
 it? I know most work with form authentication and cookies and 
 such but none seem to do pass-through. I'm not interested in 
 other solutions for debugging the code and finding the slow 
 parts as we are unable to do that for contractual reasons. 
 Thanks for your help.

Almost any load testing tool will do this. There's nothing specific to
AD
here, you simply have to record your browser session from an
authenticated
machine. The credentials are just another HTTP request header.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!



~|
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:309571
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Load testing software for website with AD integrated authenti cation

2008-07-24 Thread Burns, John D
Any suggestions on a tool like this? We haven't invested in anything yet
so I'm willing to take suggestions. Just looking to find the right tool.

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 24, 2008 9:25 AM
To: CF-Talk
Subject: Re: Load testing software for website with AD integrated
authenti cation

Your load testing tool, if it's worth anything, should come with a
browser proxy that records everything you do and provides a script you
can then edit and to which you can add username/password pairs from a
text file.

On Thu, Jul 24, 2008 at 8:35 PM, Burns, John D [EMAIL PROTECTED]
wrote:
 How exactly do you record this? Is it a cookie that's set or do you
 need a network traffic sniffer to pick up whatever header is being
 passed? How often do the tokens or whatever is passed get changed? I'm
 assuming each time you login there's something that gets set?

 -Original Message-
 From: Dave Watts [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 23, 2008 5:27 PM
 To: CF-Talk
 Subject: RE: Load testing software for website with AD integrated
 authenti cation

-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/



~|
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:309583
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: Load testing software for website with AD integrated authentication

2008-07-23 Thread Burns, John D
We're having some serious trouble with an internal website that uses IIS
pass-through authentication that logs you in automatically based on the
user you're logged into your computer as. The problem is, I can't find
any load testing apps that will test a site with that type of login. My
thinking is that it doesn't exist because it would have to spoof to AD
authentication which shouldn't be able to be done or it defeats the
purpose of that type of security. Can anyone confirm this or point us
toward a product that does it? I know most work with form authentication
and cookies and such but none seem to do pass-through. I'm not
interested in other solutions for debugging the code and finding the
slow parts as we are unable to do that for contractual reasons. Thanks
for your help.

John


~|
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:309541
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Anything wrong with this code?

2008-06-05 Thread Burns, John D
Just a quick glance but could you do something like:

Insert into properties(mls_number)
Values(select mls_number from table where whatever)

I think that's the syntac but you may not need the values piece. I can't
remember off hand but I've done combined insert/select statements like
that before and it basically inserts a row for each row it selects. Does
that make sense? The other thing you could do is a Query of a query
before you do the loop and weed it out so you only have the criteria you
want coming into the loop. Hope that helps.

John

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2008 11:57 AM
To: CF-Talk
Subject: RE: Anything wrong with this code?

Kind of a dumb thing I'm trying to do...trying to combine
an insert statement with a where clause.

I think I need another approach.

Back to the drawing board...

Rick


 -Original Message-
 From: Rick Faircloth [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 05, 2008 11:40 AM
 To: CF-Talk
 Subject: Anything wrong with this code?
 
 (Simplified version... MySQL 5)
 
 cfloop query='get_hmls_commercial_data'
 
 cfquery name='insert_data' datasource='x'
 
  insert into properties
 
 (mls_number)
 
  values (cfqueryparam cfsqltype='cf_sql_varchar'
 value='#get_hmls_commercial_data.mls_number#_h' null='#not
len(trim(mls_number))#')
 
   where '#get_hmls_commercial_data.mls_number#_h' not in
 (select mls_number from properties)
 
 /cfquery
 
 /cfloop
 
 I'm getting this error upon execution of the template...
 
 Error Executing Database Query.
 You have an error in your SQL syntax;
 check the manual that corresponds to your MySQL server version
 for the right syntax to use near
 'where '39438_h' not exists in (select mls_number from prope' at line
32
 
 ???
 
 Thanks,
 
 Rick
 
 
 



~|
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:306897
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Get length of .WAV file

2008-06-02 Thread Burns, John D
You may look out there at some java classes and see if you can find
something that can read the attributes of the wav file or even load the
whole wav into memory and then pull the length or something. I don't
know of any specific classes that do it for wav but I know I've used
some for mp3s and ID3 tagging and such. If you can find one, anything
you can do in java you can do in CF. Hope that gets you going in the
right direction.

John Burns

-Original Message-
From: Dave Phillips [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 01, 2008 9:24 PM
To: CF-Talk
Subject: Re: Get length of .WAV file

As a follow up, I installed the CFX tag and it is returning 0 seconds on
my .WAV files, so it doesn't seem to work anyway.  I really need to find
a way to identify the length in time of a .WAV file.  Please let me know
if you know how.

Thanks!

Dave 



~|
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:306556
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


LDAP Query for group members

2008-02-22 Thread Burns, John D
I'm trying to find out if there's a simpler way to do this than what I'm
doing. Currently, I'm querying a group from LDAP and retrieving the
attribute called Member which gives me this ugly result set of one
record with all of these domain users' distinguished names instead of
just the AD username. I can parse this, but it's a mess because the
names look like this: CN=User.Name, OU=Users, OU=Location,
OU=Organization, DC=domain, DC=com, CN=User2.Name, OU=Users,.

The ldap code looks like this currently:

cfldap action=QUERY
   name=GetGroupMembers
   attributes=Member
   start=dc=[domain],dc=com
   scope=subtree
   filter=((objectclass=group)(samaccountname=[groupI'mTryingtoGet]))
   server=[myDomainController]
   username=[username]
   password=[password]

I'd like to find a way to query the names and have them return as a
result set with one row for each user. Obviously, the parsing of the
file would be difficult because of all the commas in a single record but
it's possible because of each record starting with CN. Anyone have a
better way of doing this? Is there some sort of LDAP function you can
pass to get it to return just the username instead of the full DN?
Eventually, I'm assuming I'll hit the same roadblock on querying a
user's groups to see if they're in a specific group. Any information to
make my life easier would be greatly appreciated. Thanks!

John Burns


~|
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:299695
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: LDAP Query for group members

2008-02-22 Thread Burns, John D
Michael-

AWESOME! Thank you so much for the help. Is it as simple to add users to
the group using the same method? Did you come up with this on your own
or find this info somewhere? Any other tips of things I can look out for
as I'm working with CFLDAP?

John

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 12:08 PM
To: CF-Talk
Subject: RE: LDAP Query for group members

There are a couple of solutions to this issue, however, one is the best.
I'll save that for last, of course.

Member is a multi-value attribute in Active Directory.  By default, it
is a comma-delimited value.  As you have found, distinguished names are
also comma-delimted by nature.

You can solve this issue by using CFLDAP's SEPARATOR attribute.  If you
specify a tab char, chr(9), you will get back a tab-separated list of
member distinguished names.  You can then use CFLOOP to loop over each
member.  However, if you want to know the member's first name, you would
have to perform another LDAP query for each member.  That could, and
will, be very slow, if you have a large group.

You will also have a limitation of 1000 members.  Active Directory
returns only 1000 values in a multi-value attribute.  There is a
workaround for this, but it really sucks.  I don't even want to talk
about it.

Basically, this will get you close to what you are doing now, with the
only improvement of a tab-separated list of members.

The best solution comes now...  It is so simple, it will make you
giggle.

Rather than query a group's members, you are better off querying all
users who are a member of a group.

Basically, you will set your filter to be:
((objectCategory=Person)(memberOf=DN=GroupName, OU=Org, DC=domain,
DC=com))

Also, you need to specify the DELIMITER attribute in the CFLDAP tag.
Set it to a tab character chr(9).  You won't be passing any tabs in your
filter, however, this prevents any errors because of the commas in the
group's distinguished name.

Then, in your CFLDAP tag, you can specify all of the user attributes
that you need: givenName, sn, title, department, telephoneNumber, etc.
You will get it all back in one CF query object.

The best part is that you are not limited to the 1000-value limit that
you would have hit by using the first method.

However, you may hit another limit in the number of records that Active
Directory returns via LDAP queries.  By default, I think it may be 1000,
but you can modify your domain controllers to increase that limit.  I
increased our limit to 10,000 records.

If you have this problem, Google ntdsutil and maxpagesize or just
click here: http://support.microsoft.com/kb/315071

m!ke

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 9:30 AM
To: CF-Talk
Subject: LDAP Query for group members

I'm trying to find out if there's a simpler way to do this than what I'm
doing. Currently, I'm querying a group from LDAP and retrieving the
attribute called Member which gives me this ugly result set of one
record with all of these domain users' distinguished names instead of
just the AD username. I can parse this, but it's a mess because the
names look like this: CN=User.Name, OU=Users, OU=Location,
OU=Organization, DC=domain, DC=com, CN=User2.Name, OU=Users,.

The ldap code looks like this currently:

cfldap action=QUERY
   name=GetGroupMembers
   attributes=Member
   start=dc=[domain],dc=com
   scope=subtree
   filter=((objectclass=group)(samaccountname=[groupI'mTryingtoGet]))
   server=[myDomainController]
   username=[username]
   password=[password]

I'd like to find a way to query the names and have them return as a
result set with one row for each user. Obviously, the parsing of the
file would be difficult because of all the commas in a single record but
it's possible because of each record starting with CN. Anyone have a
better way of doing this? Is there some sort of LDAP function you can
pass to get it to return just the username instead of the full DN?
Eventually, I'm assuming I'll hit the same roadblock on querying a
user's groups to see if they're in a specific group. Any information to
make my life easier would be greatly appreciated. Thanks!

John Burns



~|
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:299740
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: LDAP Query for group members

2008-02-22 Thread Burns, John D
AWESOME! Thank you so much for the help. Is it as simple to add users to
the group using the same method? Did you come up with this on your own
or find this info somewhere? Any other tips of things I can look out for
as I'm working with CFLDAP?

John

-Original Message-
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 22, 2008 12:08 PM
To: CF-Talk
Subject: RE: LDAP Query for group members

There are a couple of solutions to this issue, however, one is the best.
I'll save that for last, of course.

Member is a multi-value attribute in Active Directory.  By default, it
is a comma-delimited value.  As you have found, distinguished names are
also comma-delimted by nature.

You can solve this issue by using CFLDAP's SEPARATOR attribute.  If you
specify a tab char, chr(9), you will get back a tab-separated list of
member distinguished names.  You can then use CFLOOP to loop over each
member.  However, if you want to know the member's first name, you would
have to perform another LDAP query for each member.  That could, and
will, be very slow, if you have a large group.

You will also have a limitation of 1000 members.  Active Directory
returns only 1000 values in a multi-value attribute.  There is a
workaround for this, but it really sucks.  I don't even want to talk
about it.

Basically, this will get you close to what you are doing now, with the
only improvement of a tab-separated list of members.

The best solution comes now...  It is so simple, it will make you
giggle.

Rather than query a group's members, you are better off querying all
users who are a member of a group.

Basically, you will set your filter to be:
((objectCategory=Person)(memberOf=DN=GroupName, OU=Org, DC=domain,
DC=com))

Also, you need to specify the DELIMITER attribute in the CFLDAP tag.
Set it to a tab character chr(9).  You won't be passing any tabs in your
filter, however, this prevents any errors because of the commas in the
group's distinguished name.

Then, in your CFLDAP tag, you can specify all of the user attributes
that you need: givenName, sn, title, department, telephoneNumber, etc.
You will get it all back in one CF query object.

The best part is that you are not limited to the 1000-value limit that
you would have hit by using the first method.

However, you may hit another limit in the number of records that Active
Directory returns via LDAP queries.  By default, I think it may be 1000,
but you can modify your domain controllers to increase that limit.  I
increased our limit to 10,000 records.

If you have this problem, Google ntdsutil and maxpagesize or just
click here: http://support.microsoft.com/kb/315071

m!ke

~|
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:299741
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Adding password security to a pdf upload on the fly

2007-05-15 Thread Burns, John D
No, I mean actually including a password on the PDF itself. So, if
someone downloads it and saves it to their computer and then tries to
open it they will be prompted for a password within their PDF reader.

John

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 14, 2007 1:28 PM
To: CF-Talk
Subject: RE: Adding password security to a pdf upload on the fly

I've passworded the DOWNLOAD of the file. Is that what you mean?

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 14, 2007 1:03 PM
To: CF-Talk
Subject: Adding password security to a pdf upload on the fly

Anyone ever mess with receiving PDF uploads from users and having CF
automatically password protect the PDF so that anyone downloading them
would need the password to be able to view them? I don't need to be able
to make any other adjustments to the PDFs and for the most part the
password will be the same on all of them. I'm trying to figure out if
there are any Java utils to do this or if I'd need to look into a 3rd
party software. Either way, if you have experience with this and
wouldn't mind lending your input, that'd be great.

 

John Burns







~|
ColdFusion MX7 and Flex 2 
Build sales  marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Adding password security to a pdf upload on the fly

2007-05-14 Thread Burns, John D
Anyone ever mess with receiving PDF uploads from users and having CF
automatically password protect the PDF so that anyone downloading them
would need the password to be able to view them? I don't need to be able
to make any other adjustments to the PDFs and for the most part the
password will be the same on all of them. I'm trying to figure out if
there are any Java utils to do this or if I'd need to look into a 3rd
party software. Either way, if you have experience with this and
wouldn't mind lending your input, that'd be great.

 

John Burns



~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


CFDocument image issue

2007-03-27 Thread Burns, John D
I've been looking around at various answers online for this issue where
the X shows up in the PDF generated using CFDOCUMENT when referencing an
image. I've tried all of the fixes and I'm still having the issue. I'm
wondering if anyone has any more things to try. I've attempted to call
the URL of the image from directly on the server via a browser and it
loads the way it should. I'm assuming that rules out the firewall issue
but am I wrong on that? When I generate the PDF and look at the web
server logs for that site, I do not see an entry for the image request
so it seems that the request is never making it to the webserver. Where
can I look in the Java or CF logs to see what's going on or what I need
to fix? I also tried putting a local address (D:\websites...) as the URL
for the image but no luck with that either. Any help would be greatly
appreciated.

 

John Burns



~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


RE: CFDocument image issue

2007-03-27 Thread Burns, John D
I'm not using tbody or any odd tags. All I'm using is
tabletrthtd and the respective closing tags. My image call is
using a full url. Here's info if you guys wanna test:

http://www.smafl.com/admin/schedule.cfm?teamid=26 (this is the page
generating the pdf)

The image reference is to http://www.smafl.com/images/SMAFLLogo.gif


Here's my code to generate the page (with the appropriate queries
outside the cfdocument

cfdocument format=pdf   
img src=http://www.smafl.com/images/SMAFLLogo.gif; width=450
height=100 /br /

cfoutput
h1#getmiscInfo.seasonName#/h1
h2#getMiscInfo.teamName#/h2
/cfoutput

table border=0 cellpadding=2 cellspacing=1 width=700
 tr
thDate/th
thTime/th
thField/th
thHome/th
thVisitor/th
thResult/th
 /tr
 cfoutput query=getTeamSchedule
tr class=cfif gameDateTime gt
now()tablerowactivecfelsetablerowinactive/cfif
td#dateFormat(gameDateTime,mmm d)#/td
td#timeFormat(gameDatetime,h:mm)#cfif
gameDoubleHeader eq 1 amp;
#timeFormat(dateAdd(h,1,gameDatetime),h:mm)#/cfif/td
td#gameLocation#/td
td cfif homeTeamID eq
teamIDstyle=font-weight: bold;/cfif#homeTeamName#/td
td cfif visitorTeamID eq
teamIDstyle=font-weight: bold;/cfif#visitorTeamName#/td
tdnbsp;/td
/tr
/cfoutput
/table
/cfdocument

~|
Create Web Applications With ColdFusion MX7  Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


RE: CFDocument image issue

2007-03-27 Thread Burns, John D
Jochem-

That worked using your file prefix and the file system path. Any ideas
on how to troubleshoot why CF is having issues with the HTTP call? Right
now all my images are on my server but I may run into an instance where
that's not the case. I appreciate the help!

John

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7  
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


RE: CFDocument image issue

2007-03-27 Thread Burns, John D
Yeah, and per earlier emails, others have had issues with relative URLs
and cfdocument. That's why I tried it that way. 

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 27, 2007 11:26 AM
To: CF-Talk
Subject: RE: CFDocument image issue

Have you tried a simpler relative url instead of a full one?

Chris 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


WYSIWYG File/Image managers

2007-02-08 Thread Burns, John D
Hey everyone. I've used FCKEditor quite a bit but I had some problems
from time to time with the file/image manager in it with CF. Do TinyMCE
or any of the other editors have a better CF file/image manager? I am
working on a project and need a very basic WYSIWYG editor to allow
bold,italic,underline,images and that's about it. Any suggestions or
plugins that anyone may have or know about for any of the popular
WYSIWYG editors would be appreciated. Thanks!

 

John Burns



~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: WYSIWYG File/Image managers

2007-02-08 Thread Burns, John D
Yeah, I saw that cffm could integrate with FCKEditor and TinyMCE...at
least I see the example. What I don't see is how to actually make that
happen. Anyone know of documentation for that?

John

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 10:17 AM
To: CF-Talk
Subject: RE: WYSIWYG File/Image managers

Rick Root's CFFM integrates quite well with CFKEditor I believe.

http://www.opensourcecf.com/


andy

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 9:11 AM
To: CF-Talk
Subject: WYSIWYG File/Image managers

Hey everyone. I've used FCKEditor quite a bit but I had some problems
from
time to time with the file/image manager in it with CF. Do TinyMCE or
any of
the other editors have a better CF file/image manager? I am working on a
project and need a very basic WYSIWYG editor to allow
bold,italic,underline,images and that's about it. Any suggestions or
plugins
that anyone may have or know about for any of the popular WYSIWYG
editors
would be appreciated. Thanks!

 

John Burns







~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2  MX7 integration  create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: webcam software

2006-12-19 Thread Burns, John D
PySoft has a product called Active Webcam that I've used and it works
well. Supports multiple cams including Ethernet cams and directly
connected cams.

www.pysoft.com



-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 10:34 AM
To: CF-Talk
Subject: RE: webcam software

I LOVE TinCam.

http://www.tincam.com/

...:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
 

 


-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 19, 2006 10:33 AM
To: CF-Talk
Subject: webcam software

Can anyone recommend a decent webcam software with the ability to push 
(via FTP) still images to a web site?

Rick





~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Certification

2006-12-15 Thread Burns, John D
I strongly agree. The one other thing to point out is that it's just
like college degrees and even high school diplomas. In reality, they're
really not that hard to get. They don't mean you're really all that
smart because I've seen plenty of morons with Masters degrees and even
PhDs but it's the fact that they did it. I work in the gov't world and
they base a lot on the degrees you have. I wouldn't ever claim that a CF
certification will get you paid more, but in the mind of a manager (who
may not know much) it probably looks pretty impressive.

John Burns

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 15, 2006 1:59 PM
To: CF-Talk
Subject: Re: Certification

On 12/15/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 And indeed, as you said they do/can show you what you did and do not
know
 and are a great teaching tool but the actual cert is meaningless.

meaningless is subjective.

You and me and everyone else on this list know that the cert is
meaningless when it comes to determining who is a better programmer.

But let's ask someone who's job hunting...and a particular company has
narrowed their search down to two candidates... our friend and one
other person.  EVERYTHING between the two is equal (years of
experience, skill level, education)...except the other person has
their cert, and in this instance, that is enough to tip the scales in
favor of the other person, who gets the job.  Ask them if it's
meaningless.

I've got my cert in MX 6 and MX 7.  It's never helped me.  But I don't
regret having it for one simple fact.  It will NEVER hurt me.


-- 
Charlie Griefer


...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must
catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed.



~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Convert PDF to HTML

2006-11-09 Thread Burns, John D
Anyone know of a good reliable software to convert fairly large PDF
documents to HTML? We have tried one or two but the one keeps crashing
the machines it's being run on (via the gui) because it fills up the
memory and dies. We had to run it on a desktop with 2GB of RAM so it
wouldn't crash. The end result goal is to do this with either a CFX tag
or making a CFEXECUTE call to a command line implementation of the
software. This has to be done on a nightly basis on some pretty large
pdf files in order to get them into HTML to then be indexed by a google
indexing server. The problem is that when indexing the PDFs, apparently
the google appliance limits the files being indexed to 30MB. The
software can be free or cost (as long as it's nothing outrageous) but
definitely has to be reliable. Thanks for any insights or experiences.

 

John Burns



~|
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.
http://www.fusionauthority.com/quarterly

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


RE: CF Print coupon one time - STUMPER

2006-11-09 Thread Burns, John D
Well, this solution wouldn't work for extremely smart people, but if you
look into CSS you'll see that you have some options for media types. One
type is screen and one is print (I think). You could have a div on the
page that shows up blank on the screen and has a background image (the
coupon) when printed. You could just do a pop-up window, use javascript
to call the print() function of the browser and then close the window
after the print function completes. I'd think that should work fairly
well.

John

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Thursday, November 09, 2006 2:06 PM
To: CF-Talk
Subject: CF Print coupon one time - STUMPER

All,

We use MeadCo's ScriptX ActiveX control on our Cold Fusion site for
printing coupons 
from a hyperlink without prompting the print dialog box.  This restricts
the user from printing
coupons twice bu using the back button and with a little Javascript they
never see the coupon
so they can't to a print screen either.  However, it only works with IE.

Does anyone know of any solutions or have any ideas how to implement
this for Mac, Firefox etc.?

Whoever creates the firefox entension for this will make some cash. We'd
pay at least a few hundred
dollars for it.


D



~|
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.
http://www.fusionauthority.com/quarterly

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


RE: CF Print coupon one time - STUMPER

2006-11-09 Thread Burns, John D
You could make people enter their mailing address and physically send
them just one :-)

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 09, 2006 1:38 PM
To: CF-Talk
Subject: Re: CF Print coupon one time - STUMPER

Great feedback everyone.  

Yes the goal is for eveyone to print the coupon once. You're right you
could make copies of the coupon. We're just trying to limit the ways
folks could get more than one copy.

As far as the earlier post about using Javascript to call the popup
window and print, the user can control the number of copies to print
from the print dialog box.

Right now, for IE users, the ScriptX ActiveX control sends the print job
to the  printer without the print dialog box showing up or disaplaying
the coupon image at all. It's as tight as we can get it for IE users, it
just doesn't work on other browsers or a Mac.

I told you it was a STUMPER. 8-)

How about a reward for anyone that can come up with a solution? Name
your price, within reason of course. 8-)

D



Your goal is for the end user only to print the coupon once, correct?

What stops the end user from printing it once, then using a copier to 
copy it multiple times? Not able to control that. 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]

Sent: Thursday, November 09, 2006 2:06 PM
To: CF-Talk
Subject: CF Print coupon one time - STUMPER

All,

We use MeadCo's ScriptX ActiveX control on our Cold Fusion site for
printing coupons from a hyperlink without prompting the print dialog
box.  This restricts the user from printing coupons twice bu using the
back button and with a little Javascript they never see the coupon so
they can't to a print screen either.  However, it only works with IE.

Does anyone know of any solutions or have any ideas how to implement
this for Mac, Firefox etc.?

Whoever creates the firefox entension for this will make some cash.
We'd
pay at least a few hundred dollars for it.


D



~|
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.
http://www.fusionauthority.com/quarterly

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


RE: CF Print coupon one time - STUMPER

2006-11-09 Thread Burns, John D
I'm not 100% sure but would a Java Applet allow the same sort of
functionality, just cross browser?

John

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 09, 2006 1:48 PM
To: CF-Talk
Subject: Re: CF Print coupon one time - STUMPER

I agree under normal circumstances.  However, it's for a major retailer
and even though the coupons are  $1.00 off, the amount of
downloads/prints it a cost control issue that has to be as tight as
possible.

Is there any other technology besides ActiveC controls of Firefox
entensions
that I'm not thinking of that would allow me to bypass the print dialog
box?

Thoughts?

Great feedback. Thanks.

I totally agree. For your run of the mill Grocery store coupons,
Not worth the effort, but something more vital, yes.



~|
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.
http://www.fusionauthority.com/quarterly

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


CFCONTENT and CFHEADER to download a file on CF 5

2006-08-18 Thread Burns, John D
I've got a .mht (multipart html) that I generated from powerpoint. My end 
result is to be able to fill in pieces of a powerpoint slide on the fly with CF 
to generate the appropriate .mht file to a user. However, if I pass it to the 
user as an .mht, it tries to open in the browser. I added a cfcontent and 
cfheader to the top of the page to try to get it to force the filename to go 
back to the browser as a ppt so they can save it or open it. The code works 
fine on MX 6.1 but I can't get it to work on CF5. Anyone have any gotchas or 
reasons why I can't do it?
 
Snippet:
 
cfheader name=Content-Type value=application/powerpoint
cfheader name=Content-Disposition value=inline; filename=test.ppt
 
I also tried to use a cfcontent type=application/powerpoint reset=yes and 
all the combinations I could think of but it just wouldn't work. Like I said I 
copied the exact same code to 6.1 and all works well.
 
John Burns


~|
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.
http://www.fusionauthority.com/quarterly

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


RE: Select * in a view needs recompiled

2006-08-16 Thread Burns, John D
Your problem is that your SQL server basically stores a query map of the
original query. Even though you pass it * when it actually runs the
query it has to map out which queries that actually is. The next time
you call it, it runs based on the last map. It's usually a good practice
to stay away form * for several reasons. One is just readability for
other developers who see your queries. Another is that there's no sense
in grabbing data you don't need. Another is what you've pointed out.
This is a known issue with SQL server and the only way to make it
refresh the map is to restart the SQL service as far as I know.  I'd
recommend staying away from the * if you can.

John Burns

-Original Message-
From: Brent Shaub [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 16, 2006 12:39 PM
To: CF-Talk
Subject: Select * in a view needs recompiled

Using MS SQL Server, I have a view that pulls a table with a *.  I
added a column to that table, and the view's data did not reflect the
new column right away.  In Query Analyzer, if I ran the view after
adding the column from right-click Open View, the new column wasn't
there.  If I went into design mode and clicked the !, the new column
was there.  So in design mode, I added a space and deleted it in the SQL
then saved the view.  Now I can see the new column from right-click
Open View.  I'm a bit let down the * isn't as dynamic as it seems.



~|
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.
http://www.fusionauthority.com/quarterly

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


RE: Select * in a view needs recompiled

2006-08-16 Thread Burns, John D
As far as I know, there is no such setting. I believe that's part of
what makes SQL perform quickly. If you turned that off it would have to
recompile the query every time and that may add up. It's a common
problem that people complain about but I don't think there's really a
way to fix it. Again, there are other reasons to stay away from select
* so you may want to consider those before trying to find a work around
for the views problem.

John

-Original Message-
From: Brent Shaub [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 16, 2006 12:50 PM
To: CF-Talk
Subject: Re: Select * in a view needs recompiled

I was just thinking that there might be a setting in SQL Server that was
geared for optimization and cached the view definition.  Perhaps there
is a way to reconfigure it to check for changes more often.  I might not
change it because it's a small extra step to re-save each view (there
aren't many) when I change a table that is referenced by a * in that
view.  It's a question of SQL-processing performance vs development-time
performance.

Just thinking out loud.

Brent



~|
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.
http://www.fusionauthority.com/quarterly

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


RE: CF position in Greenville, SC

2006-07-27 Thread Burns, John D
I believe this belongs on the CF Jobs list. Speaking of which, I have a
job offer to post but was curious how many people are on the CF Jobs
list. If Mike or anyone else knows please let me know.

John

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 27, 2006 11:02 AM
To: CF-Talk
Subject: CF position in Greenville, SC

ColdFusion Web Programmer Analyst needed in Greenville, SC for short
term
contract (3 month minimum) to do modifications and testing for an
upgrade
from CF 6.0 to CF 7.0 and provide enhancements, maintenance and new CF
development to support business needs as defined by the IT department of
a
large corporation.

Contact Kevin Wilmot
[EMAIL PROTECTED]
864 467 2223




~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247873
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Programmically ending a CF application?

2006-07-25 Thread Burns, John D
I think setting your application timeout to 0 is the best. You don't
have to do it programmatically through the cfapplication you have in
your application.cfm. You could have a endApplication.cfm that simply
has a cfapplication tag in it with the timeout set to 0 and that will
timeout the app. Then redirect to a normal page and that will trigger
the cfapplication in your application.cfm that will set the timeout
back to normal.

John

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 25, 2006 3:03 PM
To: CF-Talk
Subject: RE: Programmically ending a CF application?

What are you trying to accomplish in the long run? Maybe there is a
different route to take?


Ben Nadel 
www.bennadel.com

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 25, 2006 2:35 PM
To: CF-Talk
Subject: Programmically ending a CF application?

How can one 'end' a CF application so that the OnApplicationStart method
of
an application.cfc will run again?

Something better then the two options I've come up with? One, restarting
the
service.  And two setting the application timeout to 0.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
C code. C code run. Run code run. Please!
- Cynthia Dunning

Confidentiality Notice:  This message including any attachments is for
the
sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any
unauthorized review, use, disclosure or distribution is prohibited. If
you
are not the intended recipient, please contact the sender and delete any
copies of this message. 







~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247666
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


OT: SQL Server Product Key Version Lookup?

2006-07-24 Thread Burns, John D
Anyone know if there is a way to take a given product key and do a
lookup to find out what version of SQL server it is licensed for? I have
a client who has their key but no documentation or licensing
information. I figure it's a long shot, but let me know if you know of
something. Thanks.

 

John Burns



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247546
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Microsoft Virtual PC / Should I be interested, or not?

2006-07-14 Thread Burns, John D
I have kind of a stupid question. Are people using these VM servers for
production use? I've heard of people buying one top of the line piece of
hardware and run multiple production servers on it using VM. This just
scares me because it seems like one more point of possible failure,
possible performance losses, etc. Am I just being antsy of a new thing
or is this really not a good practice for production? I can definitely
see the value in development environments but I'm not sure about
production. Do the VMs have much overhead to them? Are there security
and/or performance concerns that need to be taken into consideration?
Obviously there's the don't put all your eggs in one basket thing with
the hardware but if proper precautions are taken for redundancy and such
is it really a viable solution? Also, how would all of this work when
you get into clustering and such? Would you cluster each VM to the other
VMs and then leave the base OS that all the VMs are running on alone and
not cluster/replicate them? Any experience or knowledge you can lend
would be awesome.

John Burns

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 10:14 AM
To: CF-Talk
Subject: RE: Microsoft Virtual PC / Should I be interested, or not?

Ken, have you used MS's Virtual PC?  I have no experience with either,
so would be interested in how they compare for ease-of-use...

Rick


-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 9:34 AM
To: CF-Talk
Subject: Re: Microsoft Virtual PC / Should I be interested, or not?

...free version of VMWare.

Which is absolutely incredible. I've been playing with the free VMWare
player and server for the last few days and, DAMN! That is freakin'
cool!!!

http://www.vmware.com/products/free_virtualization.html

*
Ken Ferguson
214.636.6126
*






Bobby Hartsfield wrote:
 I'm sure Microsoft's recent change of heart has something to do with a

 free version of vmware.

 They are great ways to test the impact of software updates and try 
 things without causing any damage to your main installation though.

 ..:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

  

  

 -Original Message-
 From: Rick Faircloth [mailto:[EMAIL PROTECTED]
 Sent: Friday, July 14, 2006 7:56 AM
 To: CF-Talk
 Subject: OT: Microsoft Virtual PC / Should I be interested, or not?

 So I get this email that MS has released Virtual PC for free.

 Not having used Virtual PC or anything like it, I have to ask.are any 
 of you using Virtual PC or something similar in you CF work?

 Other ways?  Should I bother?

 Rick





 





~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246552
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Microsoft Virtual PC / Should I be interested, or not?

2006-07-14 Thread Burns, John D
What about licensing? Are OS licenses based solely on physical
processors and such or would you need a separate license for each
instance of the OS that you have installed on the server?

John

-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 11:52 AM
To: CF-Talk
Subject: Re: Microsoft Virtual PC / Should I be interested, or not?

Not quite sure what you mean by hardware agnostic OS and
software...wouldn't
each OS have to be just as aware of the hardware it's running on and
the
software
running on it?

Rick

VMWare and Microsoft emulate hardware to the OS. So no matter what kind
of machine you're on, to the OS it's the exact same machine. So if you
need to move your server instance to a beefer server that is running
VMWare or Microsoft, then nothing will change. You wouldn't have issues
with drivers, none of your software you installed that rely on hardware
will have issues. It will just work. That's one of the beauties of
virtulization.



Bob



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246586
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: sms msg and euent gateways

2006-07-12 Thread Burns, John D
Sprint: [EMAIL PROTECTED]

At least that's what it has been to this point. I came over as legacy
sprint so I'm not sure if Nextel is something different or if they're
going to move everything to one domain or what in the future.

John Burns

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 12, 2006 12:43 PM
To: CF-Talk
Subject: Re: sms msg and euent gateways

I've been compiling a list of the various US telecom providers' email to
sms 
addresses, here it is, this will save you some time.  If anyone has more
to 
add (especially Sprint) please post.

Qwest: [EMAIL PROTECTED]
Verizon: [EMAIL PROTECTED]
Virgin Mobile: [EMAIL PROTECTED]
Cingular: [EMAIL PROTECTED]
Alltel: [EMAIL PROTECTED]
TMobile: [EMAIL PROTECTED]
Sprint: 

-- Josh




- Original Message - 
From: [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Wednesday, July 12, 2006 9:29 AM
Subject: RE: sms msg and euent gateways


 If you don't know where to start, make it simple.

 Almost every SMS provider provides email to SMS conversion. I think
sprint
 is (phone number)@sprint.net (I think).

 Just send an email to whatever address and that will work fine.

 If you want to process INCOMMING SMS messages, that's a bit more
difficult
 and I don't know how to do that.

 Original Message:
 -
 From: B V [EMAIL PROTECTED]
 Date: Wed, 12 Jul 2006 11:23:24 -0500
 To: cf-talk@houseoffusion.com
 Subject: sms msg and euent gateways


 can anyone point me to a good tutorial on sms text messages from
 configuring to sending the actual messages, because i am having so
 many issues i don't even know where to start. thanks;



 



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246290
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


OT: Website crawler and spell checker

2006-07-12 Thread Burns, John D
Anyone know of a web-based or client-based websites crawler/checker that
will crawl an entire site and look for misspellings and broken links?
I'd prefer something free if anyone knows of one.

 

John Burns



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246312
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: MySpace - How they do it: Staff, Software Servers

2006-07-10 Thread Burns, John D
Although, all of this leads to the same result in the end. If
development starts to move to .NET and you have a manger that is bent on
getting things over to .NET the shear fact that anything CF will cost
and extra $1500+ for licensing is a good reason to get rid of it. .NET
already has the huge advantage of coming bundled with Windows and thus
seems like the obvious choice if you're a manager who could care less
about CF.

John Burns

-Original Message-
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 10, 2006 1:40 PM
To: CF-Talk
Subject: RE: MySpace - How they do it: Staff, Software  Servers

 Yeah, but why do you have to use Bluedragon.NET? If you 
 already purchased CF, then what is the point of then buying 
 Bluedragon.NET? From your description it sounds like it would 
 be a seperate app that wouldn't be tied into the other apps, 
 so there wouldn't be a need to integrate into .NET.

First of all, this is just a hypothetical, not my own experience.  But
in the hypothetical, the company does have CF already, but this manager
is hell-bent on moving to .Net.  There is no logic here, I agree with
you that it doesn't make sense to move/integrate to .Net.  I'm just
saying that if you have a choice of staying with CF /because/ you can
tell the manager that it will run on .Net, BlueDragon could save your CF
app's life.



-

This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law. If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format. Thank you. A1.





~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245979
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: MySpace - How they do it: Staff, Software amp; Servers

2006-07-10 Thread Burns, John D
I agree with Vince as well. The only problem I see is that .NET comes
integrated with Windows servers which most managers would probably
assume is better regardless of any real facts just because they hear the
hype from Microsoft. If you're in a shop that has Java/J2EE development
going on your managers are probably a little better balanced and realize
each language has it's place. I think that the problem is that while CF
runs on .NET it is also a peer to .NET in terms of web development. I
know Java can also be used as a web development tool but I'm assuming
it's not as widespread as .NET.  It's the managers that are the problem
in all of this. Let's just eliminate them and we'll all be ok :-)

John Burns

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 10, 2006 2:35 PM
To: CF-Talk
Subject: Re: MySpace - How they do it: Staff, Software amp; Servers

Vince Bonfanti wrote:
 I would strongly disagree that there's no point in Bluedragon.NET
except as a stepping stone to get off of ColdFusion to go to .NET. Is
CFMX just a stepping stone to get off ColdFusion to go to JSP/Java/J2EE?
Of course not.
 
 Macromedia completely rewrote CFMX because Java/J2EE is a better
platform than the C/C++ codebase of CF 1.0 through CF5, whether you
choose to use the Java/J2EE integration features or not. We wrote
BlueDragon.NET because .NET is a better platform than Java/J2EE on
Windows, whether you choose to use the .NET integration features or not.
See this blog entry for an elaboration:

I just wanted to say that I agree totally with Vince.

the original statement (which I missed) is totally off-base, unless you 
also believe that going with Coldfusion is just a stepping stone to 
going full blown java.

It's just a different integration method, that's all.  Coldfusion and 
Bluedragon JX folks can itnegrate lots of java classes and objects and 
third party tools for doing stuff that the CFML language itself can't 
necessarily handle.

Bluedragon.NET users can natively integrate .NET objects for doing stuff

that CFML itself can't necessarily handle.

Rick



~|
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.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:245984
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: tracking which templates are in use

2006-06-28 Thread Burns, John D
Yeah, that sounds like you basically have it figured out. You just need
to go through the debug output of which templates were used and log
them. I wish there was some sort of CF log, almost like a web server log
to show you which templates have been used. One thing to consider is
that if a template hasn't been viewed, does that really mean it can be
gotten rid of? You may want to find something to crawl the content of
your pages to make sure there aren't links to pages that maybe haven't
been accessed in the last 6 months but might still be live and available
pages.

John Burns

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 28, 2006 1:16 PM
To: CF-Talk
Subject: tracking which templates are in use

We have a huge app with over 10k coldfusion templates.  A lot of them
are no
longer being used, but we are not entirely sure which ones.  Is there
somewhere I can stick a piece of code (OnRequestEnd.cfm maybe?) that
would
examine the debug output (through possibly some cfadmin functions) and
figure out which templates were used?  This way I can log that to a
database, and after running it for a while get a good sense of what
templates are being used and how often. 

 

Russ





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245011
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Which version of CF should I download?

2006-06-16 Thread Burns, John D
They're both the same as far as I've ever seen. When you go to install
is when you choose whether you want developer, trial or full (with
serial number). I think they display it that way so that you can see
your options but I believe the installer is exactly the same for
everything. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 1:44 PM
To: CF-Talk
Subject: Which version of CF should I download?

CF MX 7 Developer or CF MX 7 Trial?

Rick





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243771
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Which version of CF should I download?

2006-06-16 Thread Burns, John D
You don't have to install a separate web server if you don't want. CF
has its built in one. It just depends on how you want things configured.
You could install IIS if you want to be able to do the sorts of things
in your webserver that are beyond the scope of the CF webserver. You
could also install apache. It all depends on how you want things setup
and how much control you want. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 2:02 PM
To: CF-Talk
Subject: RE: Which version of CF should I download?

XP Pro should have IIS. If not go to Control Panel, Add Remove Programs,
select Windows Components You can add it in there.

-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 1:58 PM
To: CF-Talk
Subject: RE: Which version of CF should I download?

I'm installed CF 7 on a laptop with Windows XP Pro on it...do I need to
install IIS or anything else?



-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Friday, June 16, 2006 1:49 PM
To: CF-Talk
Subject: Re: Which version of CF should I download?

Trial gets you the 30 day full version, then reverts to developer after
that.

So, I'm guessing Trial, since why not?

Rick Faircloth wrote:
 CF MX 7 Developer or CF MX 7 Trial?
 
 Rick
 
 
 
 







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243778
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Which version of CF should I download?

2006-06-16 Thread Burns, John D
Great points Dave. I agree completely. I was just explaining more
because Rick sound inexperienced. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 16, 2006 2:32 PM
To: CF-Talk
Subject: RE: Which version of CF should I download?

 That is true. It does have its own web server. I just feel it is 
 better As a developer to use IIS. Personal choice is all.

Well, Rick's question was do I need to install IIS, not is IIS a
better choice than the JRun web server for development, which is why I
gave the answer I did.

But going back to that, for most developers, I think that the JRun web
server is a better choice, for two reasons. First, unless you actually
need to learn how to manage an external web server, why bother? And
second and more important, unless you can use the same web server that
you're going to manage, the value of using an external server is
diminished a lot. The version of IIS that comes with Windows XP is not
the same as IIS on Windows 2000 or Windows Server 2003.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta, Chicago,
Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243812
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF-based photo sharing app?

2006-06-14 Thread Burns, John D
Rick-

I've been tinkering with the same kind of thing. I haven't gotten very
far though. My thing is that I take a ton of pictures and have people
ask me if they can get copies. I'd like to do something where I could
upload via ftp or something and then have galleries created where people
can view thumbnails, a large view and then have the option to download
the full photo if they'd like so that they can get prints made. I was
thinking it'd be cool to have multiple accounts as well so other
people could do the same. It all makes sense in my head, just hasn't
made it into CF yet. Let me know if you find anything good. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 11:30 AM
To: CF-Talk
Subject: Re: CF-based photo sharing app?

Paul Hastings wrote:
 Rick Root wrote:
 
I'd like to build a web site allowing many users to upload and share
photos.
 
 have a look at seth duffey's photoblog:
 
 http://www.leavethatthingalone.com/projects/CFCPhotoBlog/
 
 it's pretty cool.

Damn that is pretty sweet..  doesn't do quite what I want but could
probably be modified to do so... I want many users to be able to upload
photos to a single photo share without having the ability to mess with
anything else.  But I'll try this, it looks pretty cool.

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243475
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: virtual directory in IIS?

2006-06-14 Thread Burns, John D
There are scripts in the inetpub/adminscripts directory that can do some
of that. Just call them via cfexecute. I have seen some other products
out there that can do this as well but can't think of any off the top of
my head. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rob Wilkerson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 11:31 AM
To: CF-Talk
Subject: Re: virtual directory in IIS?

Sort of, but not the way you're thinking.  You need to write a VB script
to handle that kind of interaction.  At least, that's the only way I
know to handle it.  CF could then execute the VB script, of course.

On 6/14/06, Johnny Le [EMAIL PROTECTED] wrote:
 Is there a way to add a virtual directory to the IIS through CF code
or Java?

 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243479
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF-based photo sharing app?

2006-06-14 Thread Burns, John D
Because I can't host it myself and because it costs money. I was
thinking flickr is a good example of what I want. The big thing that I'd
like it to do that it can't is to be able to read the directories I have
on my server at home (where CF is also running) and build galleries and
such automatically from that without having to upload. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 12:02 PM
To: CF-Talk
Subject: Re: CF-based photo sharing app?

And you can't just use flickr because...

On 6/14/06, Burns, John D [EMAIL PROTECTED] wrote:

 Rick-

 I've been tinkering with the same kind of thing. I haven't gotten very

 far though. My thing is that I take a ton of pictures and have people 
 ask me if they can get copies. I'd like to do something where I could 
 upload via ftp or something and then have galleries created where 
 people can view thumbnails, a large view and then have the option to 
 download the full photo if they'd like so that they can get prints 
 made. I was thinking it'd be cool to have multiple accounts as well 
 so other people could do the same. It all makes sense in my head, just

 hasn't made it into CF yet. Let me know if you find anything good.


 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer


 -Original Message-
 From: Rick Root [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 14, 2006 11:30 AM
 To: CF-Talk
 Subject: Re: CF-based photo sharing app?

 Paul Hastings wrote:
  Rick Root wrote:
 
 I'd like to build a web site allowing many users to upload and share
 photos.
 
  have a look at seth duffey's photoblog:
 
  http://www.leavethatthingalone.com/projects/CFCPhotoBlog/
 
  it's pretty cool.

 Damn that is pretty sweet..  doesn't do quite what I want but could 
 probably be modified to do so... I want many users to be able to 
 upload photos to a single photo share without having the ability to 
 mess with anything else.  But I'll try this, it looks pretty cool.

 Rick



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243483
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF-based photo sharing app?

2006-06-14 Thread Burns, John D
Well, the free edition limits the number of albums or photos or
something. Plus, as others have mentioned, then you can't integrate it
into another site. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 14, 2006 12:47 PM
To: CF-Talk
Subject: RE: CF-based photo sharing app?

For the record (AFAIK) flickr is free for base users. You only have to
pay if you want the Pro edition.

I personally don't use Flickr because I wrote a photo gallery system for
my own site. Why use something on someone else's site if you can do it
yourself.

!//--
andy matthews
web developer
certified advanced coldfusion programmer ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 11:15 AM
To: CF-Talk
Subject: RE: CF-based photo sharing app?


Because I can't host it myself and because it costs money. I was
thinking flickr is a good example of what I want. The big thing that I'd
like it to do that it can't is to be able to read the directories I have
on my server at home (where CF is also running) and build galleries and
such automatically from that without having to upload.


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer


-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 14, 2006 12:02 PM
To: CF-Talk
Subject: Re: CF-based photo sharing app?

And you can't just use flickr because...

On 6/14/06, Burns, John D [EMAIL PROTECTED] wrote:

 Rick-

 I've been tinkering with the same kind of thing. I haven't gotten very

 far though. My thing is that I take a ton of pictures and have people 
 ask me if they can get copies. I'd like to do something where I could 
 upload via ftp or something and then have galleries created where 
 people can view thumbnails, a large view and then have the option to 
 download the full photo if they'd like so that they can get prints 
 made. I was thinking it'd be cool to have multiple accounts as well 
 so other people could do the same. It all makes sense in my head, just

 hasn't made it into CF yet. Let me know if you find anything good.


 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer


 -Original Message-
 From: Rick Root [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 14, 2006 11:30 AM
 To: CF-Talk
 Subject: Re: CF-based photo sharing app?

 Paul Hastings wrote:
  Rick Root wrote:
 
 I'd like to build a web site allowing many users to upload and share
 photos.
 
  have a look at seth duffey's photoblog:
 
  http://www.leavethatthingalone.com/projects/CFCPhotoBlog/
 
  it's pretty cool.

 Damn that is pretty sweet..  doesn't do quite what I want but could 
 probably be modified to do so... I want many users to be able to 
 upload photos to a single photo share without having the ability to 
 mess with anything else.  But I'll try this, it looks pretty cool.

 Rick











~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243541
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: if/switch cf:set/param

2006-06-01 Thread Burns, John D
If you're doing a large comparison set, my understanding is that switch
is better for performance.

As for cfset vs cfparam, cfset sets the variable and overwrites and
previous value that the variable held. Cfparam sets the variable if it
doesn't already exist. Basically, cfparam ensures that the variable has
a value when you try to use the variable, however, if the variable is
set elsewhere prior to the cfparam, the cfparam is ignored. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Paul Ihrig [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 01, 2006 3:55 PM
To: CF-Talk
Subject: cf:if/switch cf:set/param

ok.
just looking at a bunch of code.

most pages use a combo of if  switch
what are the reasons to use one over the other.

also what is the difference between cfset  cfparam.
i know cfset sets the variable you want to be but dosnt cfparam also do
this?

also what should i know about variable pools?

thanks
-paul



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241976
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


OT: CF jobs listings?

2006-05-22 Thread Burns, John D
Ok, I know it's off topic but I figured you all would know. My company
is looking to hire some new CF developers and are planning to post to
the CF-Jobs list but we were wondering if anyone knows of other good
places to post CF job openings. Anyone with experience or information
would be extremely helpful. You can reply off-list to me unless you
think it's pertinent to keep on the list for others.
 
John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241125
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: CF jobs listings?

2006-05-22 Thread Burns, John D
We are in the Southern Maryland area. About an hour and half south of
DC. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 22, 2006 9:29 AM
To: CF-Talk
Subject: RE: CF jobs listings?

Where in the country are you? My CFUG posts job listings, but they have
to be in the Nashville area.

!//--
andy matthews
web developer
certified advanced coldfusion programmer ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, May 22, 2006 8:19 AM
To: CF-Talk
Subject: OT: CF jobs listings?


Ok, I know it's off topic but I figured you all would know. My company
is looking to hire some new CF developers and are planning to post to
the CF-Jobs list but we were wondering if anyone knows of other good
places to post CF job openings. Anyone with experience or information
would be extremely helpful. You can reply off-list to me unless you
think it's pertinent to keep on the list for others.

John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer








~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241130
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: embed image in cfmail

2006-05-18 Thread Burns, John D
Look at CFMAILPARAM, especially the CONTENTID attribute of it in CFMX 7.
You give it a contentID and use that in your source for your html.

Look at
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/comm
on/html/wwhelp.htm?context=ColdFusion_Documentationfile=part_cfm.htm

And there's a section entitled To display a file inline in a mail
message that tells you all about it. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: kurt schroeder [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 18, 2006 9:59 AM
To: CF-Talk
Subject: Re: embed image in cfmail

that get's me to a general docs help page. is there a specific area that
has the answer i'm looking for?
thanks
kes 
 check out
 http://livedocs.macromedia.
 com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.
 htm?context=ColdFusion_Documentationfile=part_cfm.htm
 
 DK
 
 On 5/17/06, kurt schroeder [EMAIL PROTECTED] wrote:
  Is there a way to embed an image in a cfmail without using a web
 reference.
 
  Thanks
  KES
 
  



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240893
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Generate MS Word Document from ColdFusion

2006-05-04 Thread Burns, John D
Yeah, this works for most applications. It even works for powerpoint
though I haven't figured out how to make separate slides. It's not too
bad at doing a single slide though. The only oddity that I've had is if
you're using style sheets some of the styles tend to screw with the
output in Powerpoint. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 8:23 AM
To: CF-Talk
Subject: Re: Generate MS Word Document from ColdFusion

I don't know if this has been brought up, but since you can generate an
html table and save it with an .xls extension and open it in Excel, I
decided to try to create an html file, save it with a .doc extension,
and open it in Word, and it worked great.

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239481
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Generate MS Word Document from ColdFusion

2006-05-04 Thread Burns, John D
I had not tried that yet. In the instance that I was doing it, I
actually had to remove all CSS because there was some stuff blowing it
up. I can't remember off hand what exactly was causing the issue but it
ended up being easier to use font tags and such to adjust the looks.
Also, the other thing to keep in mind is that if you're including images
and such, when it pulls into the application, the image is still pulling
from the webserver. It doesn't get downloaded and embedded into the
file. This causes issues if you generate a document from an internal
server and try to display it externally or if you're not online when
you're looking at it. I haven't found a work around for that problem
yet. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 8:42 AM
To: CF-Talk
Subject: Re: Generate MS Word Document from ColdFusion

On 5/4/06, Rick Root [EMAIL PROTECTED] wrote:
 I don't know if this has been brought up, but since you can generate 
 an html table and save it with an .xls extension and open it in Excel,

 I decided to try to create an html file, save it with a .doc 
 extension, and open it in Word, and it worked great.


Did you try forcing css page breaks?  I would be curious to know if it
recognizes those...which would make the method even more powerful.

--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239484
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Generate MS Word Document from ColdFusion

2006-05-04 Thread Burns, John D
That works in Powerpoint? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 9:09 AM
To: CF-Talk
Subject: Re: Generate MS Word Document from ColdFusion

Jim Wright wrote:
 On 5/4/06, Rick Root [EMAIL PROTECTED] wrote:
 
I don't know if this has been brought up, but since you can generate 
an html table and save it with an .xls extension and open it in Excel,

I decided to try to create an html file, save it with a .doc 
extension, and open it in Word, and it worked great.
 
 Did you try forcing css page breaks?  I would be curious to know if it

 recognizes those...which would make the method even more powerful.

Is this what you mean?  If so, then yes it works.

br clear=all style='page-break-before:always'

rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239488
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Web Cam

2006-05-04 Thread Burns, John D
Panasonic has a similar cam. I have one of them and it's really nice.
Has pan/tilt capabilities and all sorts of stuff. It's ethernet as well
and they even have wireless cams now that do the same thing. All of the
ones that I've seen have a built in webserver and dynamic dns. It's a
pretty nice solution. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Larry Lyons [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 11:28 AM
To: CF-Talk
Subject: Re: Web Cam

 I work for a student government association.  We want to broadcast the

 senate meetings over the internet. What would be the most affordable
solution?

You might want to try D-Links' DCS-900 Internet Camera. It costs around
$100. As long as you have a 10/100 ethernet connection this will stream
video over the internet. See
http://www.dlink.com/products/?sec=0pid=270 for more info.

From the website:

The D-Link Securicam NetworkTM DCS-900 Internet Camera combines the
functionality of video surveillance with the reliability and scalability
of Fast Ethernet. With its compact, all-in-one design, the DCS-900
Internet Camera is a low-cost remote monitoring solution ideal for home
use.

The DCS-900 Internet Camera connects quickly and easily to your existing
Fast Ethernet network and a setup wizard will guide you through the set
up process to get you up and running in a matter of minutes.

The DCS-900 Internet Camera features a built-in Web server which means
that it can stream video images directly to the Internet. Video images
captured by the DCS-900 can be viewed remotely by typing the IP address
of the DCS-900 into a Web browser. With its easy-to-use Web-based
interface, the DCS-900 can be managed and configured from anywhere in
the world.

By signing up with one of the many free Dynamic DNS services available
on the web, you can assign an easy-to-remember name and domain (e.g.
www.mycamera.myddns.com). This allows you to remotely access your camera
without having to remember the IP address, even if it has been changed
by your Internet Service Provider.

The included Windows-based software provides even more features,
allowing you to archive streaming video straight to your hard drive,
monitor up to 4 cameras on a single screen, enable motion detection, and
update the firmware on your DCS-900 Internet Camera.

hth,

larry

--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
http://www.beiresources.org
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239534
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Generate MS Word Document from ColdFusion

2006-05-04 Thread Burns, John D
Rick-

I just tried using the br page break code you gave and it doesn't give
me separate cells in powerpoint. Did you test it yourself? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 9:09 AM
To: CF-Talk
Subject: Re: Generate MS Word Document from ColdFusion

Jim Wright wrote:
 On 5/4/06, Rick Root [EMAIL PROTECTED] wrote:
 
I don't know if this has been brought up, but since you can generate 
an html table and save it with an .xls extension and open it in Excel,

I decided to try to create an html file, save it with a .doc 
extension, and open it in Word, and it worked great.
 
 Did you try forcing css page breaks?  I would be curious to know if it

 recognizes those...which would make the method even more powerful.

Is this what you mean?  If so, then yes it works.

br clear=all style='page-break-before:always'

rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239543
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Generate MS Word Document from ColdFusion

2006-05-04 Thread Burns, John D
Lol, ok that would explain it. I guess we got off topic with powerpoint
and then you took it back to word :-) It's been a long day. Anybody had
experience with how to brake slides in powerpoint via html? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 2:26 PM
To: CF-Talk
Subject: Re: Generate MS Word Document from ColdFusion

Burns, John D wrote:
 That works in Powerpoint? 


Maybe, but we were discussion MS Word =)
 
 
 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer
  
 
 -Original Message-
 From: Rick Root [mailto:[EMAIL PROTECTED]
 Sent: Thursday, May 04, 2006 9:09 AM
 To: CF-Talk
 Subject: Re: Generate MS Word Document from ColdFusion
 
 Jim Wright wrote:
 
On 5/4/06, Rick Root [EMAIL PROTECTED] wrote:


I don't know if this has been brought up, but since you can generate 
an html table and save it with an .xls extension and open it in 
Excel,
 
 
I decided to try to create an html file, save it with a .doc 
extension, and open it in Word, and it worked great.

Did you try forcing css page breaks?  I would be curious to know if it
 
 
recognizes those...which would make the method even more powerful.
 
 
 Is this what you mean?  If so, then yes it works.
 
 br clear=all style='page-break-before:always'




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239545
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Put yourself on the map

2006-05-04 Thread Burns, John D
That just proves we all need to be doing more work! :-) 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 04, 2006 3:07 PM
To: CF-Talk
Subject: RE: Put yourself on the map

Wow! It jumped from 89 when I signed up earlier to over 130 now.

Awesome!

!//--
andy matthews
web developer
certified advanced coldfusion programmer ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-

-Original Message-
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 04, 2006 1:58 PM
To: CF-Talk
Subject: Re: Put yourself on the map


Should have given credit to Neil and Feed Squirrel when I posted. For
further credit, I picked it up from Sean Corfield's blog (corfield.org).

On 5/4/06, Neil Middleton [EMAIL PROTECTED] wrote:

 Sorry, I did google for an existing map before creating this one, but 
 couldn't find one.

 Hopefully,now though, we've got a good one going.For all you guys
with
 sites/blogs/podcasts etc, please spread the word.  The more people 
 there are, the more useful it is.

 Neil

 http://www.feed-squirrel.com

 On 5/4/06, Crow T. Robot [EMAIL PROTECTED] wrote:
 
  OK, I take that back.  Yours is, um, bigger than ours.  :)
 
  Matt Williams wrote:
   http://www.frappr.com/cfdevelopers
  
  
  
 
 







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239553
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cffile and files starting with '0'

2006-04-27 Thread Burns, John D
Do you need to close the stream you have open in java in order to copy
it? By the way, I'm not sure if this was asked, but does this work for
all of the files other than the ones that begin with 0? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Patrick Forsythe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 10:47 AM
To: CF-Talk
Subject: Re: cffile and files starting with '0'

Here is the code for those that have asked for it. permissions on the
folder are all good.

cfdirectory action=list name=getfiles 
directory=e:\renamedatafile\ filter=*.csv cfloop query=getfiles
  cfoutput---#Name#---br /
  /cfoutput
 
  cfscript
 fileReader = CreateObject(java, java.io.FileReader);
fileReader.init(e:\\renamedatafile\\#name#);
 br = CreateObject(java, java.io.BufferedReader);
br.init(fileReader); /cfscript

  cftry
cfloop condition=true
 
cfscript
line = br.readLine();
/cfscript
 
  cfoutput
 cfif imagename neq Thumbs.db
  cfquery datasource=imagevault
UPDATE photo SET photostatusid = 2, digloc = 19, photoname =
'#listgetat(line,2)#' WHERE imagenum =#imagename#
  /cfquery
/cfif
  /cfoutput
  
/cfloop
  
cfcatch type=coldfusion.runtime.UndefinedVariableException
  !--- this indicates end of file, ok to ignore error ---
/cfcatch
   
  /cftry


  cffile action=move source=e:\renamedatafile\#name# 
destination=e:\renamedatafile\done\#name#  nameconflict=overwrite 
/cfloop




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238877
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: http://www.fullasagoog.com/

2006-04-27 Thread Burns, John D
I got a . when I looked. Viewing source makes it look like no content
is displaying except some p tags and stuff. No text or anything. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Kay Smoljak [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 11:09 AM
To: CF-Talk
Subject: Re: http://www.fullasagoog.com/

On 4/27/06, Chris Tilley [EMAIL PROTECTED] wrote:
 What's wrong with this site?  http://www.fullasagoog.com/

Nothing that I can see. What do you get?


--
Kay Smoljak
http://kay.zombiecoder.com/



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238883
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Solved Re: cffile and files starting with '0'

2006-04-27 Thread Burns, John D
Glad it worked. That seems odd that it gave you the error that it did.
It seems that it would have given you a this file is in use error or
something. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Patrick Forsythe [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 27, 2006 11:22 AM
To: CF-Talk
Subject: Solved Re: cffile and files starting with '0'

Burns, John D wrote:

Do you need to close the stream you have open in java in order to copy 
it? By the way, I'm not sure if this was asked, but does this work for 
all of the files other than the ones that begin with 0?
  



Bingo. Closing the stream allowed it to be able to copy the file. I
really should have seen that earlier. This list is great. I raise a beer
or your beverage of choice to everyone that helped out.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238958
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image resizing on the fly?

2006-04-26 Thread Burns, John D
Rick-

I agree and that's what I'm leaning toward. The only thing I don't like
is that if I want to change dimensions of all the images for some
reason, I have to go back through and run everything over again. The big
thing that prompted this question was that I saw .Net people using
image.ashx (do a google search on it) and it seems they do it on the fly
everytime. I'm not sure if .net is just better at doing it with very
little overhead or if the people doing it are a timebomb waiting to
explode on their server if they ever get significant traffic. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 1:16 PM
To: CF-Talk
Subject: Re: Image resizing on the fly?

John,

Since you don't want to always be resizing on the fly every time someone
views an image, you might try something like this:

img src=showImage.cfm?foo=myImage.jpg

and in showImge.cfm just use imageCFC to read the image dimensions.  If
the image hasn't been resized, resize it and save it back.  Then use
cfcontent to send the image.

That way every time you display the image, the only added overhead would
be getting the image dimensions.

ALTERNATIVELY, save the resized image with a different filename like
myImage_resized.jpg and then have showImage.cfm check for the
existence of the file - if it's not there, resize the original image and
save it.

Then you're not even calling java to get image dimensions, you're only
checking for the existence of a file with a specific name.

ultimately, you're better off not doing any of this dynamic stuff cuz it
won't scale.  You'd be better off using some kind of event gateway
directory watcher and just resizing the images as they appear.

rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238791
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cffile and files starting with '0'

2006-04-26 Thread Burns, John D
Umm, this is a shot in the dark, but is there any chance that you're
missing a d in the folder name. Currently, it looks like it's rename
data file minus the spaces. I'm thinking maybe it is really named
renameD data file or something like that. Could be off, but just
figured I'd throw it out. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 26, 2006 4:03 PM
To: CF-Talk
Subject: RE: cffile and files starting with '0'

Call me crazy, but tryin doing a 

cfdump var=#FileExists(  File path  )# / cfabort / 

Before the CFFile... Make sure that that is YES. If not, then maybe
something else is going wrong.



Ben Nadel
www.bennadel.com
-Original Message-
From: Patrick Forsythe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 26, 2006 3:30 PM
To: CF-Talk
Subject: cffile and files starting with '0'

Has any one seen any weirdness with trying to do a move using cffile
with files that start with '0' (zero)?

It keeps telling me that The value of the attribute source, which is
currently e:\renamedatafile\0508302.csv, is invalid.  

but I know the file is there.
Server CF MX
Windows 2000

Thanks

--
Patrick Forsythe
Tech Support
Smallville Communications
http://www.toto.net






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238825
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: cffile and files starting with '0'

2006-04-26 Thread Burns, John D
You should try moving the file to somewhere like
C:\filetest\filename.csv and try copying it to C:\filetest2\filename.csv
and try to narrow down that it's the filename causing issues and not
something else in the path. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Patrick Forsythe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 26, 2006 4:20 PM
To: CF-Talk
Subject: Re: cffile and files starting with '0'

Burns, John D wrote:

Umm, this is a shot in the dark, but is there any chance that you're 
missing a d in the folder name. Currently, it looks like it's 
rename data file minus the spaces. I'm thinking maybe it is really 
named renameD data file or something like that. Could be off, but 
just figured I'd throw it out.
  

I rechecked and it is rename data file

--
Patrick Forsythe
Tech Support
Smallville Communications
http://www.toto.net




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238831
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Image resizing on the fly?

2006-04-25 Thread Burns, John D
I've been using ImageCR3 to do some image resizing and in the past I've
used imagemagick and alagad's image component. I've always done it where
I've done file resizing at the time of upload. However, I'm facing a
situation of having to display an unknown amount of directories of
photos that are being uploaded into folders via FTP. Rather than forcing
someone to go fire off a page that goes out and does all the resizing,
I'm wondering if it would be feasible to resize the images as needed.
I'm not sure what the overhead would be on something like that. I've
seen some .NET developers doing it with something called image.ashx
where they call their images like img
src=image.ashx?file=/myfiles/photo1.jpgwidth=600height=400 and it
appears to just do the resizing everytime someone hits that image. I was
thinking of writing a CFM that did the same thing by resizing the photo
and pass it back to the browser using cfcontent but I wasn't sure if
the overhead is too much. This isn't a large site and there won't be a
ton of people hitting it at once, but even 2 or 3 people on there
pulling up a page of 20-30 thumbnails with each image being resized on
the fly sounds a little scary to me. I'm just looking for some more
knowledge and expertise on the subject. Thanks!
 
John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238619
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Image resizing on the fly?

2006-04-25 Thread Burns, John D
Interesting. Have you run into performance issues? Do you then delete
the cached file or do you leave it for future requests? That was the
second thing I was wondering if I should save then the first time and
mark those as resized so I don't run it again next time. The only
benefit I see with doing it each time is that you can specify a
different file size whenever you'd like and it doesn't have to recreate
anything into a cache. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 25, 2006 12:29 PM
To: CF-Talk
Subject: RE: Image resizing on the fly?

I've done this before.  Basically what I do is create a Image proxy

Assuming you have W, H, and ImageFilename variables, and that you pretty
much want a specific dimension most of the time 

You can create imageProxy.cfm?file=/myfiles/photo.jpgw=600h=400

ImageProxy.cfm will do a
 CFIF NOT fileExists(expandpath(.#w#_#h#/#imagefilename#))
CFLOCK name=some-derivative-of-the-filename
CF_RESIZE_IMAGE_TO_THAT_PATH
/cflock
 /CFIF
 Cfset pageContext.forward(.#w#_#h#/#imagefilename#

This is the general idea, so 9 times out of 10 it just forwards your
request onward... 

Dov

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 25, 2006 12:19 PM
To: CF-Talk
Subject: Image resizing on the fly?

I've been using ImageCR3 to do some image resizing and in the past I've
used imagemagick and alagad's image component. I've always done it where
I've done file resizing at the time of upload. However, I'm facing a
situation of having to display an unknown amount of directories of
photos that are being uploaded into folders via FTP. Rather than forcing
someone to go fire off a page that goes out and does all the resizing,
I'm wondering if it would be feasible to resize the images as needed.
I'm not sure what the overhead would be on something like that. I've
seen some .NET developers doing it with something called image.ashx
where they call their images like img
src=image.ashx?file=/myfiles/photo1.jpgwidth=600height=400 and it
appears to just do the resizing everytime someone hits that image. I was
thinking of writing a CFM that did the same thing by resizing the photo
and pass it back to the browser using cfcontent but I wasn't sure if
the overhead is too much. This isn't a large site and there won't be a
ton of people hitting it at once, but even 2 or 3 people on there
pulling up a page of 20-30 thumbnails with each image being resized on
the fly sounds a little scary to me. I'm just looking for some more
knowledge and expertise on the subject. Thanks!
 
John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer
 
 






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238637
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: protect downloaded files?

2006-04-20 Thread Burns, John D
I don't think you can unless you use the embedded features to protect
the documents. However, as with all items, anytime there's security
there's usually some way around it. Setting the file Read only
attribute would not really do much if someone knew how to turn it off,
or they could just save it as a different filename. For things like
Powerpoint, you could save it as a .pps file which is just the show
without editing capabilities. However, I'd imagine there's some sort of
utility to make it editable again. Same thing with PDFs. You can set a
password on it but there's probably a way around it. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 20, 2006 4:42 PM
To: CF-Talk
Subject: protect downloaded files?

Anyone know if there is a surefire way to make all downloaded files
read-only?  We have a client that wants to have files available to
download, but the original author doesn't want to have them be able to
be edited.  We're talking PowerPoint, Word, PDF files here, BTW.

Any advice on how to make this happen would be appreciated.  We've found
that even using the Read Only attribute in the file properties doesn't
persist once a copy has been downloaded to the client.

TIA

Ray



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238327
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: adobe certification site

2006-04-12 Thread Burns, John D
= is an assignment operator, not a comparison operator. EQ and IS are
comparison operators. I wouldn't say it's an inconsistency. It actually
makes a little more sense. With that said, I screw it up all the time.
However, one thing that's helped me is that at MAX in New Orleans we
covered some performance tips and if you use EQ on numerical comparisons
and IS on string comparisons, the performance will be better. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 12, 2006 10:49 AM
To: CF-Talk
Subject: Re: adobe certification site

The one that annoys me is the use of eq in a CFIF, but = in a
CFSET.Does anyone know if there is a reason for the difference, or
is it that they were written by different people or something?

Cheers
Mike Kear
Windsor, NSW, Australia
Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 4/13/06, Andy Matthews [EMAIL PROTECTED] wrote:
 A PHP programmer I work with said needle, haystack.

 It actually helps me remember. It's really irritating that MM wasn't 
 consistent with the argument ordering across their variables. It 
 should ALWAYS be variable first.

 !//--
 andy matthews
 web developer
 ICGLink, Inc.
 [EMAIL PROTECTED]
 615.370.1530 x737
 --//-



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237525
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: adobe certification site

2006-04-12 Thread Burns, John D
That's probably a good point because once it is compiled down to a java
class it all looks the same. I think the speed was probably only in the
compiling of the file while CF took all of the non-typed language and
turned it into java matching the appropriate variable types necessary.
Therefore, it's probably not a huge increase in performance but it
probably makes CF's initial compiling job a little easier. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 12, 2006 1:33 PM
To: CF-Talk
Subject: RE: adobe certification site

 = is an assignment operator, not a comparison operator. EQ and IS are 
 comparison operators. I wouldn't say it's an inconsistency. It 
 actually makes a little more sense. With that said, I screw it up all 
 the time.
 However, one thing that's helped me is that at MAX in New Orleans we 
 covered some performance tips and if you use EQ on numerical 
 comparisons and IS on string comparisons, the performance will be 
 better.

I remembered someone saying this had been debunked as something that was
true at one point in time but no longer true with recent versions of CF,
like the idea that cfscript is faster than tags or the fact that iif()
is slow compared to equivalent cfif and cfset statements.
Both of these two latter examples are items which were true once upon a
time, but not with recent versions. Or so I've heard.

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237628
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: adobe certification site

2006-04-12 Thread Burns, John D
True. I just tend to do it to stay more consistent with data types even
though CF isn't a typed language. Plus, in case it ever moves more
towards a typed language, it helps me to be that much closer to being
ready. If nothing else, it makes me feel like I'm a better coder :-) 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 12, 2006 5:23 PM
To: CF-Talk
Subject: RE: adobe certification site

 That's probably a good point because once it is compiled down to a 
 java class it all looks the same. I think the speed was probably only 
 in the compiling of the file while CF took all of the non-typed 
 language and turned it into java matching the appropriate variable 
 types necessary.
 Therefore, it's probably not a huge increase in performance but it 
 probably makes CF's initial compiling job a little easier.

It's possible. Although that's the point at which I stop worrying about
optimization -- I only worry about optimization if I see something on a
human scale (i.e. more than a few milliseconds). In some cases the
optimization turns out to be a collection of smaller optimizations, but
I've never found it to be anything as small as choice of evaluation
operators.

s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237631
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: maximum number of files in directory

2006-04-11 Thread Burns, John D
This begs another question that I haven't run into a problem with yet
but makes me feel uneasy. What about folders within a folder? I have a
folder where I create a new folder for every user on the site and then
anything they upload goes into their folder. This is working well so far
as we only have around 1000 users. We're using a Windows 2003 Server. As
it grows am I going to hit the same kind of limitations or does windows
handle the folders well enough that it won't be a problem? Just curious
because I've never dealt with the issue before when it comes to folder.
Definitely had some headaches with the number of files (especially
images) in a folder. Anyone have experiences or thoughts?


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Ken Ferguson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 11, 2006 12:01 PM
To: CF-Talk
Subject: Re: maximum number of files in directory

A customer of mine had a Windows 2K server on a cheesy little box. It
had about 15,000 images in one folder and was still serving them up
without much if any problem. However, I made the mistake of trying to
open the folder in Explorer one day and the machine laughed maniacally
then went unconscious. After the reboot, I used the command line to move
some things about and reorganize, changed the code in the application
and it's continued to work very well to this day with that load spread
over about 20 directories arranged by product line and category. A
couple of the categories still have folders with 600-700 images in them,
but nothing more than that.

--Ferg

Mike Klostermeyer wrote:
 I've served images from a Windows 2000 Server that was fine until it 
 reached 20,000-30,000, at which point it became unstable.

 Mike

 -Original Message-
 From: Gilbert Midonnet [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 11, 2006 10:19 AM
 To: CF-Talk
 Subject: RE: maximum number of files in directory

   




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237431
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: DB Pagination Question

2006-03-27 Thread Burns, John D
I believe this was talked about a couple of months back and some people
suggested using a method of selecting not only max rows but to find do a
hack to get the start row by using the IN keyword to somehow filter out
the ones for the pages you're already past. That would do it on the DB
side instead of passing the whole dataset to CF and then using the
startrow and maxrows attributes of CF. May want to search the archives. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 27, 2006 1:49 PM
To: CF-Talk
Subject: Re: DB Pagination Question

Jim Curran wrote:

what is the most efficient way to paginate through the results, without

hogging memory or re-running the entire query for each page view?
  

Unfortunately, I believe those are your only two options. You either
cache the query into resident memory (memory hog) or you run the query
at each request.

You can do little things like adding the MaxRows attribute to your
query (which will lessen the amount of memory used per query), or using
views instead of joins (to improve query speed), but I know of no other
way to  accomplish what you're trying to do then with query caching or a
query on every page.

HTH!

--
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED] 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236255
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Multiple file upload - flash forms?

2006-03-14 Thread Burns, John D
I would imagine that you'd have to build it directly in flash. Even
then, I'm not sure you could do a multiple upload with a drag-and-drop
type control. You could do multiple file selects and that sort of thing,
but I don't know that there's a mass file select option in flash. I
could be wrong as I have just brushed the surface of the new file
controls in flash. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: muzl hed [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 14, 2006 10:44 AM
To: CF-Talk
Subject: Multiple file upload - flash forms?

I'm working on a photo gallery application and need to provide a user
friendly way of uploading multiple image files. 

I would prefer to NOT use an ActiveX or Java widget so a Flash based
solution  seems ideal.

Can ColdFusion Flash Forms be used to allow users the ability to select
multiple files at once? Would I need to build this in Flash rather than
Coldfusion? Does anybody have any ideas or inspiration?






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235318
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A very specific message board/forum question...

2006-02-22 Thread Burns, John D
There's definitely a market. Just no one has stepped up and met the
need. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 22, 2006 9:10 AM
To: CF-Talk
Subject: RE: A very specific message board/forum question...

I'm all for using the best product as well... but it would be *cool* if
it were CF. And honestly, I'm kind of surprised that none exist. The
fact that there is no equivalent to phpBB or vBulletin may demonstrate
the fact that there is no market for one.

And yes, Ray's Galleon rocks!

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 21, 2006 5:49 PM
To: CF-Talk
Subject: Re: A very specific message board/forum question...


Che Vilnonis wrote:

 I wish an entrepreneurial CF company would create a CF board that 
 matched feature to feature and then some! I'd buy it.

I started to with cfmbb (www.cfmbb.org)... but I went down a path I
wasn't prepared to go down (making it multilingual) which caused the
code to be REALLY hideous.

It actually does support some of the phpbb features, but it's so very
far from being good.  I just fixed the BBML support in it.

Honestly, if I decided i wanted to go back to working on a message
board, I'd probably scrap cfmbb and use Ray's Galleon Forums as the base
product.

Rick





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233078
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A very specific message board/forum question...

2006-02-22 Thread Burns, John D
Ray-

Sorry, I didn't mean to bash yours. Personally, I think yours is great.
The issue that I have is that I have clients who have used PHPBB, YABB,
etc. for years and think that's how a forum SHOULD look and act.
Anything outside of that, they think it's wrong. Even other PHP boards
get scoffed at from the people I deal with.  The UI is the biggest
piece. I agree with you about not putting all of the frills and the
stupid rankings and stuff on the boards, but they seem to find that
stuff important, even if it is over complicated. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 22, 2006 9:29 AM
To: CF-Talk
Subject: Re: A very specific message board/forum question...

I have to say I'm really surprised by this. I don't mean to say my
product is the best, there are other good forums apps out there. But do
folks truly think that the only good CF forum would be a phpBB clone?
Maybe it's just personal bias, but I've never liked forums built upon
it. I don't think they are bad per se - just a bit over complicated.

On 2/22/06, Burns, John D [EMAIL PROTECTED] wrote:
 There's definitely a market. Just no one has stepped up and met the 
 need.


 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer


 -Original Message-
 From: Che Vilnonis [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, February 22, 2006 9:10 AM
 To: CF-Talk
 Subject: RE: A very specific message board/forum question...

 I'm all for using the best product as well... but it would be *cool* 
 if it were CF. And honestly, I'm kind of surprised that none exist. 
 The fact that there is no equivalent to phpBB or vBulletin may 
 demonstrate the fact that there is no market for one.

 And yes, Ray's Galleon rocks!

 -Original Message-
 From: Rick Root [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 21, 2006 5:49 PM
 To: CF-Talk
 Subject: Re: A very specific message board/forum question...


 Che Vilnonis wrote:
 
  I wish an entrepreneurial CF company would create a CF board that 
  matched feature to feature and then some! I'd buy it.

 I started to with cfmbb (www.cfmbb.org)... but I went down a path I 
 wasn't prepared to go down (making it multilingual) which caused the 
 code to be REALLY hideous.

 It actually does support some of the phpbb features, but it's so very 
 far from being good.  I just fixed the BBML support in it.

 Honestly, if I decided i wanted to go back to working on a message 
 board, I'd probably scrap cfmbb and use Ray's Galleon Forums as the 
 base product.

 Rick





 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233090
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A very specific message board/forum question...

2006-02-21 Thread Burns, John D
Last I heard, someone on the list was working on a direct Open Source
port of phpbb to CF. I believe it was being called cfmbb or cfbb or
something like that. Not sure what the status is or if it's being
continued, but it was an idea at one point.

John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jeff Small [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 3:08 PM
To: CF-Talk
Subject: A very specific message board/forum question...

Does anyone have any recommendations for Message Boards/Forums that are
CF based that are as close to being like phpBB as possible? I'm in the
process of possibly being tasked to take over and redesign a site, and
one of the things they've asked for is message board/forum continuity,
and they're currently using phpBB.

Now, the reason I want to find a CF alternative and hopefully port over
their users, is because one of the things they're doing is creating lots
of login type stuff sitewide, and I'm naturally going to use CFLogin and
the CFLogin framework to validate users sitewide and provide security
via that way, tying in session management for a shopping cart, little
games, user persistence, etc, and I'd LOVE for the message board to be
tied to that user persistence.

I'm looking at this board www.phpbb.com and would love to hear from
anyone in the CF community who has experience with a CF equivalent.

Jeff




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233027
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: A very specific message board/forum question...

2006-02-21 Thread Burns, John D
Even easier than passing a username and password would be to generate a
session key and set the cookie automatically. PHPBB just generates the
key and stores in a cookie and stores it in the database. I've looked
into making some CF code to do this, but we're currently having problems
with PHPBB on the site we're using and so it hasn't been worth my time
since we may not stick with it. The only thing to keep in mind here is
that you need to find everywhere on PHPBB where they can control their
usernames/passwords and remove those links or point them to your CF
pages so that they can't change their PHPBB usernames/passwords to stuff
different than your normal site because that will just get confusing.
The other way to come at it would be to rewrite the php portions to
login based on the scheme you're using on the CF side. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Robert Everland III [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 2:25 PM
To: CF-Talk
Subject: Re: A very specific message board/forum question...

I just started using PHPbb on one of my sites and I am quite impressed
with it. I don't see anyreason why you wouldn't be able to use the
database that PHPbb uses and either import the usernames and passwords
into what you're doing in CF or just feed off of the usernames and
passwords directly. You could even do something where when they log into
ColdFusion and they try to go to the forums that you pass the username
and password into a page you create in PHP so that they are
automatically logged on. Why reinvent the wheel if you got a nice
performance tire ready and willing to be used.


Bob



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233031
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Null Null Error?

2006-02-16 Thread Burns, John D
I've got a cferror tag in my application.cfm to catch errors and email
me with the error information as well as display some text to the user.
I've noticed lately that I've got a few errors happening where I get an
email and the error diagnostics is something along the lines of :null
null brThe error occurred on line 79.  I'm looking at the code and
can't find a problem. I know that in one instance for sure, the person
actually doesn't see an error. Another high-level user of the site is
one of the people generating the errors so I finally asked her if she'd
been seeing errors and she said she hasn't ever had a problem. So,
what's causing me to get an email if the error is empty and nothing is
happening to the user? Any ideas?
 
John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232443
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Null Null Error?

2006-02-16 Thread Burns, John D
Yeah, I didn't see anyone with a clear answer so I was curious. FYI, my
configuration is:

Windows 2003
IIS 6
CFMX 7 Updater 1
This is the only site on the server and the page the error seems to be
generated from the most is one of the admin pages that is not hit very
often. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 11:32 AM
To: CF-Talk
Subject: Re: Null Null Error?

Burns, John D wrote:
 I've got a cferror tag in my application.cfm to catch errors and 
 email me with the error information as well as display some text to
the user.
 I've noticed lately that I've got a few errors happening where I get 
 an email and the error diagnostics is something along the lines of 
 :null null brThe error occurred on line 79.  I'm looking at the 
 code and can't find a problem. I know that in one instance for sure, 
 the person actually doesn't see an error. Another high-level user of 
 the site is one of the people generating the errors so I finally asked

 her if she'd been seeing errors and she said she hasn't ever had a 
 problem. So, what's causing me to get an email if the error is empty 
 and nothing is happening to the user? Any ideas?

I've seen this come up before.. I'm too lazy to read your entire message
though, and thus also too lazy to read any of the house of fusion posts
on the topic of null null, but this might help =)

http://www.google.com/search?hl=enq=%22null+null%22+%2Bsite%3Ahouseoffu
sion.com

Rick



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232495
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: lincense on a test server?

2006-02-16 Thread Burns, John D
Obviously, you'd be limited to the 1 IP address to access the Testing
server though. Not sure how you do testing, but it may not be the best
way to do it. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232508
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: problems installing 6.1 on windows 2003

2006-02-16 Thread Burns, John D
That's right DEP. I knew mine looked funny. Yeah, sorry, I can't help
you with the ODBC services since I haven't seen that error before. Any
chance that maybe the ODBC service is already installed or something? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Plunkett, Matthew [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 16, 2006 11:30 AM
To: CF-Talk
Subject: RE: problems installing 6.1 on windows 2003

I ran into that DEP problem, and got past it.  The installer ran
successfully.  It is failing in the administrator portion that
configures the ODBC service.  

-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 11:12 AM
To: CF-Talk
Subject: RE: problems installing 6.1 on windows 2003


Is this failing during the actual windows installer or the web
configuration? I know I've run into problems trying to install CF on a
windows 2003 box because of windows blocking that type of installer.  I
think it's called DES but for some reason that doesn't sound right to
me. Someone else should be able to give more details.


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer
 

-Original Message-
From: Plunkett, Matthew [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 16, 2006 10:59 AM
To: CF-Talk
Subject: problems installing 6.1 on windows 2003

I'm used to Windows 2000, so this may just be a server question.

I got the 6.1 installer to install ColdFusion, but I cannot get the
administrator wizard to set up the ODBC services.

For debugging purposes, I have added Everyone: FC to the website root
that holds the administrator and the CFusionMX directory.  The Windows
firewall is currently stopped.  Nothing is showing up in the event log.
What could stop the ODBC setup from happening?

Thanks,
Matthew







~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232509
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: coldfusion and SQL2005

2006-02-16 Thread Burns, John D
To add to Dave's point, you may get by with this sort of technical
thinking for the time being, but in future versions if your budgeting
isn't accounting for paying for right amount of licensing, you're gonna
be screwed when things like activation kick in. Imagine if you're
getting by with a single cal right now for say $200 for a site running
thousands of users a day and then the next version requires activation
and it tells you that you need a per processor license for your dual
processor and now you've suddenly jumped into a 2-4k range for
licensing. A 1000% increase doesn't seem like good business. It may not
be a big deal if you're in a large corporate environment, but it's an
issue if you're a smaller shop. Don't get in bed with a technology you
may not be able to afford in a couple of years. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:232545
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


SMS Gateways

2006-02-03 Thread Burns, John D
I heard some stuff when Macromedia first came out with the gateways for
CFMX about the costs of SMS Gateways. Does anyone have round about
figures for that? Pricing for the gateway account and then prices per
message? I thought that it was pretty expensive but wanted to know if
it's changed or if anyone knows more details. I don't need exact
numbers, just an idea. Thanks!
 
John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 
 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231267
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Load Balancing issues

2006-02-03 Thread Burns, John D
Down these lines, does anyone have a recommendation for a good hardware
load balancer? Doesn't have to be top of the line or have a ton of
features. Just something reliable with decent features at a good price. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Nathan Strutz [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 03, 2006 1:50 PM
To: CF-Talk
Subject: Re: Load Balancing issues

On 2/3/06, Russ [EMAIL PROTECTED] wrote:
 The load balancer has to specifically support sticky sessions.  I 
 think it does this via some sort of cookie, but I'm not entirely sure.

Yes, depending on your HWLB device, it can set a cookie, go by IP
address or segment, URL params, etc., aka, literally anything that can
be used to identify the end-user. Smart ones will use a combination of
these tricks.


 Now, session replication in CF is enterprise only, but I've been able 
 to get it to work with CF7 Standard.  This is not documented or 
 supported by Macromedia AFAIK, but I don't think it's against the 
 EULA.  I am planning to write an article on it sometime soon.  Look 
 for it in the next few issues of Fusion Authority.

You've peaked my interest. I'm wondering how it would be possible...
of course there are always workarounds like client variables (yuck!) or
other DB storage mechanisms, and at one point i'd thought up a plan to
allow web service session lookups between servers. In any event, I'd
love to hear what you've got. :)

-nathan strutz
http://www.dopefly.com/



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231269
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: db eamil cleaner

2006-02-02 Thread Burns, John D
I don't have a script but the basic idea would look like this:

Select distinct email addresses and the id with it. Then delete all
records whose ID is not in that list. Then, I'd use a regex to loop over
the emails, compare them to the regex and if it's not valid, delete the
record. I hope that helps. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 02, 2006 3:18 PM
To: CF-Talk
Subject: Re: db eamil cleaner

really only 2 fields: id (primary) and tbl_email, pretty simple

~Dave the disruptor~
google will pay you money to getting rid of ie :)
http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ 


From: Rick Root [EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 3:15 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: Re: db eamil cleaner 

dave wrote:
 anyone have a good script to run through a mysql db and remove
duplicate(but leave 1) and improper emails?

That would totally depend on your database design =)

Rick





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231188
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: db eamil cleaner

2006-02-02 Thread Burns, John D
Hmm, good point. I should look before writing. I know I've done
something to that effect but I can't remember the specifics. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: dave [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 02, 2006 3:45 PM
To: CF-Talk
Subject: RE: db eamil cleaner

The problem with that is when you use distinct and then add the ID field
it no longer grabs only one email because the id field is a distinct
number as well so you get all the records back not just one of each.

~Dave the disruptor~
google will pay you money to getting rid of ie :)
http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ 


From: Burns, John D [EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 3:25 PM
To: CF-Talk cf-talk@houseoffusion.com
Subject: RE: db eamil cleaner 

I don't have a script but the basic idea would look like this:

Select distinct email addresses and the id with it. Then delete all
records whose ID is not in that list. Then, I'd use a regex to loop over
the emails, compare them to the regex and if it's not valid, delete the
record. I hope that helps. 

John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 02, 2006 3:18 PM
To: CF-Talk
Subject: Re: db eamil cleaner

really only 2 fields: id (primary) and tbl_email, pretty simple

~Dave the disruptor~
google will pay you money to getting rid of ie :)
http://explorerdestroyer.com/ http://www.killbillsbrowser.com/ 


From: Rick Root
Sent: Thursday, February 02, 2006 3:15 PM
To: CF-Talk
Subject: Re: db eamil cleaner 

dave wrote:
 anyone have a good script to run through a mysql db and remove
duplicate(but leave 1) and improper emails?

That would totally depend on your database design =)

Rick





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231206
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Suggestions For dedicated Server hosting

2006-01-31 Thread Burns, John D
Glad I'm not the only one with that experience. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jennifer Gavin-Wear [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 30, 2006 6:33 PM
To: CF-Talk
Subject: RE: Suggestions For dedicated Server hosting

I've always stuck with Pentiums and it has saved me a few times when
Application providers have tried to blame the processor, hard for them
to say they didn't test on an Intel.  My impression of Celeron is that
they are terribly slow.

Jenny

-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED]
Sent: 30 January 2006 22:19
To: CF-Talk
Subject: Re: Suggestions For dedicated Server hosting


Burns, John D wrote:

Ewww, a celeron! :-) I don't think I could bear to host anything on 
that. That's just me though. Lots of bad experiences with celeron 
processors.

So what CPU type do you prefer? Just a curiosity question really. I see
a lot of celerons in low-end servers these days - you can get them
almost anywhere and their prices are hard to beat.

--
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED]





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230822
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Including a remote aspx page

2006-01-31 Thread Burns, John D
You'd still have to use cfhttp or something to make a call to the aspx
page over http to make the code execute and then the results would be
passed back to the cf page in the cfhttp struct. As others have
mentioned, you'd have to have BlueDragon .NET to locally just include
an aspx file and have it execute. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Eric Roberts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 31, 2006 8:20 AM
To: CF-Talk
Subject: RE: Including a remote aspx page

What about a cfc...aren't you supposed to be able to make an object that
can communicate between cf and other web dev languages?

Eric 

-Original Message-
From: Robert Munn [mailto:[EMAIL PROTECTED]
Sent: Monday, 30 January 2006 13:54
To: CF-Talk
Subject: Re: Including a remote aspx page

You would need to use BlueDragon .NET edition to execute .aspx pages
inside your .cfm pages.


Pedro wrote:

 I wonder if this is possible:
 
 I need to use several include files on my .cfm pages. These files are 
 in aspx, and are located on a different server in the network. I've 
 tried using a mapping, but I guess it only works with local files.
 
 It is possible to include a remote file, isn't it? Thanks in advance. 
 This may be obvious, but I just can't see it :-)
 





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230825
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Suggestions For dedicated Server hosting

2006-01-30 Thread Burns, John D
Ewww, a celeron! :-) I don't think I could bear to host anything on
that. That's just me though. Lots of bad experiences with celeron
processors. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jim Davis [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 30, 2006 4:55 PM
To: CF-Talk
Subject: RE: Suggestions For dedicated Server hosting

 -Original Message-
 From: applemicro [mailto:[EMAIL PROTECTED]
 Sent: Monday, January 30, 2006 3:32 PM
 To: CF-Talk
 Subject: Suggestions For dedicated Server hosting
 
 Does anyone have any suggestions for a dedicated hosting provider?

I like www.CrystalTech.com - I have a dedicate Celeron 2.26Ghz, 80 Gig
disk and 512 Meg of Ram from them (with shared SQL server and lots of
extras) for $80 a month.

I've not seen anybody else even remotely as economical and you get
quality service to boot.

Jim Davis





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230777
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Suggestions For dedicated Server hosting

2006-01-30 Thread Burns, John D
I've used rackspace. Great support and such. Prices are a little higher,
but it's kind of a hybrid of you having full control of the server and
them maintaining it 100%. Their support is awesome. The real money comes
when you start upgrading stuff. Everything is priced per month and it
adds up quick. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: applemicro [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 30, 2006 3:32 PM
To: CF-Talk
Subject: Suggestions For dedicated Server hosting

Does anyone have any suggestions for a dedicated hosting provider?

Thanks




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230778
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Suggestions For dedicated Server hosting

2006-01-30 Thread Burns, John D
Yeah, my dedicated servers are Pentium. I would prefer Xeon, but I at
least feel comfortable with pentium. Most of my experience with Celerons
were in the desktop environment and I could have a Pentium 800 mhz
machine and a Celeron 800 mhz machine sitting side by side with the same
setup and the pentium would blow it away. I don't know all of the
technical aspects as to why, but I've just equated the word celeron with
bad in my memory. I could be wrong though. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Jordan Michaels [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 30, 2006 5:19 PM
To: CF-Talk
Subject: Re: Suggestions For dedicated Server hosting

Burns, John D wrote:

Ewww, a celeron! :-) I don't think I could bear to host anything on 
that. That's just me though. Lots of bad experiences with celeron 
processors.

So what CPU type do you prefer? Just a curiosity question really. I see
a lot of celerons in low-end servers these days - you can get them
almost anywhere and their prices are hard to beat.

--
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED] 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230781
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scope Woes Virtual Directories

2006-01-25 Thread Burns, John D
Can you set the variables that need to be shared in a scope that can be
shared? Like the server scope? The only other option would be to handle
your sessions manually in my mind. Have a table where you generate
unique session keys and assign those to the user via a cookie or url
variable. Keep track of last accessed time and that sort of thing. Then
you can save whatever variables you want into another table and
reference by the session key and variable name. It's more DB intensive
but it gives the flexibility you want as long as db datatypes can handle
the data you're wanting to shared. You can also let CF manage your
sessions, but store the vars you want to share in a table with the
session key and variable name so you can query it out from any app. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: jonese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 2:55 PM
To: CF-Talk
Subject: Re: Scope Woes  Virtual Directories

Howard: Nice idea but the SQL cost is more than we want to deal with.

John: Our applications have to have unique names so that we don't have
application scoped vars over written (thinks like DSN, file paths etc
are stored in the application scope).

Any other ideas or thoughts??

I wish CF would just see this directory as a sub directory of each of my
sites.

Eric Jones

On 1/24/06, Burns, John D [EMAIL PROTECTED] wrote:
 You don't need unique application names.  Lets say you have one site 
 and at the top of it you have cfapplication name=myApp then you 
 set some application variables somewhere in there.  Then, you have 
 another site on the same server, you can put cfapplication 
 name=myApp in that site and it will have access to the variables 
 that are set in the first site.  However, keep in mind, you want to be

 careful about multiple sites setting and getting variables to make 
 sure that you're not relying on a variable that may not have been set.

 Especially when the server is rebooted or something like that.  Many 
 people have the misconception that the cfapplication tag has to go 
 in the Application.cfm but that's not true. It can go at the top of 
 each individual page and you could leave out the Application.cfm 
 altogether. The Application.cfm just makes it easier because it gets
called everytime.


 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer


 -Original Message-
 From: jonese [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 24, 2006 10:59 AM
 To: CF-Talk
 Subject: Re: Scope Woes  Virtual Directories

 right but how can we do this and still maintain the fact that these 
 files are shared among 50 other sites, with 50 unique application
names?

 On 1/24/06, Burns, John D [EMAIL PROTECTED] wrote:
  It depends on the scope you're using. If you're talking application 
  and session variables, you need cfapplication to define that these

  pages are part of the application, thus allowing it to access the 
  scoped variables.
 
 
  John Burns
  Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. |

  Web Developer
 
 
  -Original Message-
  From: jonese [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 24, 2006 9:59 AM
  To: CF-Talk
  Subject: Scope Woes  Virtual Directories
 
  Ok here's the scenario.
 
  We have 50 sites on a server using our CMS.
  Each of these sites has an IIS virtual Directory called global.
  global is a mapped directory in CF Admin.
 
  The problem we are having is when a person referances 
  http://theresite.com/global/ticket/index.cfm the code doesn't have 
  access to many of the scoped variables.
 
  Any ideas how we can get global to see all the scoped variables?
 
  jonese
 
 
 
 



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230407
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scope Woes Virtual Directories

2006-01-25 Thread Burns, John D
James-

Very good idea. I didn't think of that one but that would work very well
if we're understanding his needs correctly.

John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 11:52 PM
To: CF-Talk
Subject: Re: Scope Woes  Virtual Directories

Create a common app name for all your shared application scope
variables. In each site's Application.cfm file, use a CFAPPLICATION tag
to get the variables from this scope and put them in the request scope.
Then use a second CFAPPLICATION tag to swap the application to the
unique one for that site. When you need to write to the common
application scope, swap back again with a new CFAPPLICTION tag, etc etc.
It will be far quicker that the DB calls.

On 1/24/06, jonese [EMAIL PROTECTED] wrote:
 Howard: Nice idea but the SQL cost is more than we want to deal with.

 John: Our applications have to have unique names so that we don't have

 application scoped vars over written (thinks like DSN, file paths etc 
 are stored in the application scope).

 Any other ideas or thoughts??

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230408
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: convert windows media file to flash video on the fly

2006-01-24 Thread Burns, John D
Yeah, that was my thought. They could upload it and when the upload
finishes, it could fire off a scheduled task or something. Does the
package have command-line calls? Does it allow resizing and bitrate
changing or does it just reencode at the current settings as a different
file type? 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 4:49 PM
To: CF-Talk
Subject: Re: convert windows media file to flash video on the fly

 FFMPG
 http://ffmpeg.sourceforge.net/index.php

This is used by many viedo re-encoding packages out thereI use for
AVI to MPG conversion...works great!!

I would not want this to be an on-the-fly process while the user
waits.

AVI to MPG conversion takes as long to convert as it does to play the
videoupt to twice as long or a bit more...

..so a user is not going and sit and wait all that time whilea video
is converted.

Of course this conversion may take place at a different time...in which
case ignore me ;-)

Cheers

Bryan Stevenson B.Comm.
VP  Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230301
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: from 6 to 7

2006-01-24 Thread Burns, John D
Even mySQL would be an upgrade if you can't afford the SQL upgrade. At
least it's reliable. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 5:17 PM
To: CF-Talk
Subject: Re: from 6 to 7

Aha!

After they finally escalated the issue to the higher-ups, I found the
issue.

There are two DB apps running in background.  They have the server set
up so that only one connection can be open at a time when connecting to
Access DB's.  So, the scripts are timing out when concurrent requests
are being made to two different Access DB's.  They claim that they
worked with Macromedia and this was the solution to a stability issue
with Win2003.

Whatever - I guess it's time to upgrade to a SQL Server DB.

Thanks for the help and suggestions, guys.

Russ wrote:
 Well we all know how bad access can get under load... is it possible 
 that they mapped it using the wrong db type?  I believe CF7 introduced

 MS Access vs MS Access Unicode.  Also are persistent connections to
the db enabled?
 How big is the access file?  
 
 If it's a big file, and persistent connections are not enabled, I can 
 see it timing out form time to time.
 
 Russ
 
 
-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 4:55 PM
To: CF-Talk
Subject: Re: from 6 to 7

Sorry, was out shoveling snow.  :(

Nope, this is an Access DB.  I know that's not the best situation, but

like I said, it was my first project, and it worked fine on the other 
server.

And, just so it's known, I'm on a shared host, so there is no access 
to anything outside my web root, including the administrator.

Ray

Jim Wright wrote:

That was where I was going...I just wanted to eliminate a local db 
like Access.  I don't think this is a shot in the dark...a lot of 
hosts out there these days are just renting equipment in others co-lo

facilities...and often in more than one co-lo facility.  You want to 
make sure they are not pulling your data from one datacenter to 
anothernot just different segments of their network.

On 1/23/06, Burns, John D [EMAIL PROTECTED] wrote:


As well as the question other have asked about which database are 
you using, I also wonder if this server sits in a different segment 
of the network than the previous one. If the server and the database

are further removed, they could have network issues that are causing

longer delays in the calls to the database. You may want to ask if 
there is a database server in the same segment as your server that 
you could use instead of your old one. That's a shot in the dark, 
but you may want to research it.


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. |

Web Developer


-Original Message-
From: Ray Champagne [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 3:26 PM
To: CF-Talk
Subject: from 6 to 7

Hey all:

I'm having an issue with my hosting company that I wanted to run by 
everyone.

I've had a site up and running fine at this particular host for 
quite a while now.  While it is not the most elegantly coded site 
(one of my first large projects), it works fine.  To take advantage 
of newer hosting options (more disk space), we migrated this site 
from a CF6Win2000 server to a CF7 Win2003 server.  Now it seems like

even the most menial database queries are sometimes timing out.  
Mind you, this is not occurring all the time with the same query, it

seems to be happening with different queries at different times.

I'm now in a debate with said host - they are telling me that it's 
because of my coding in general, they say I need to upgrade my 
coding to adapt to CF7.  I say this is pure BS, a copout answer.  
From what I know, the release of CF7 was more a features release, 
so this shouldn't matter, right?

Ray









 
 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230303
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: convert windows media file to flash video on the fly

2006-01-24 Thread Burns, John D
Bobby-

That would work exactly the way I want. Our video conversions would only
happen 1 time for account holders and wouldn't be something that would
happen a lot. It's just that right now, I have to do them by hand and
that sucks. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 5:19 PM
To: CF-Talk
Subject: RE: convert windows media file to flash video on the fly

From what I gather, FFmpeg is a command line utility though I've never
used it, I have used Riva... which uses FFmpeg to do its conversions. As
for CF, no. you'd probably have to write your own if that's the way you
wanted to go with it. But encoding video files can be pretty strenuous
on a machine and take quite a while.

You'd probably be better off keeping a directory of the video files and
use schedules to fire off a nightly task to convert video files from a
specific directory or something.

...:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com


-Original Message-
From: Burns, John D [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 4:47 PM
To: CF-Talk
Subject: RE: convert windows media file to flash video on the fly

Bobby-

Is this accessible via command line or something? I can't find any info
on that or any way that it could be called from CF.


John Burns
Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web
Developer
 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 4:38 PM
To: CF-Talk
Subject: RE: convert windows media file to flash video on the fly

http://www.flashstreamworks.com/archive.php?post_id=1095873165

Riva just updated their free FLV Video encoder to version 1.2. The
encoder is based on the FFMPEG video conversion command line tool (GNU
LGPL).

FFMPG
http://ffmpeg.sourceforge.net/index.php


.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com



-Original Message-
From: Jason Rogoz [mailto:[EMAIL PROTECTED]
Sent: Monday, January 23, 2006 4:31 PM
To: CF-Talk
Subject: convert windows media file to flash video on the fly

Are they any plugings available that would allow one to upload a windows
media file and convert it to a flash video file?


Jason Rogoz
Programmer / Analyst

Zoom Communications Inc.
Calgary, Alberta, Canada

Office: (403) 229-2511
Fax: (403) 229-4211
Toll Free: 1-866-698-8932

www.zoomcom.ca http://www.zoomcom.ca/ 
 










~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230304
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scope Woes Virtual Directories

2006-01-24 Thread Burns, John D
It depends on the scope you're using. If you're talking application and
session variables, you need cfapplication to define that these pages
are part of the application, thus allowing it to access the scoped
variables. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: jonese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 9:59 AM
To: CF-Talk
Subject: Scope Woes  Virtual Directories

Ok here's the scenario.

We have 50 sites on a server using our CMS.
Each of these sites has an IIS virtual Directory called global.
global is a mapped directory in CF Admin.

The problem we are having is when a person referances
http://theresite.com/global/ticket/index.cfm the code doesn't have
access to many of the scoped variables.

Any ideas how we can get global to see all the scoped variables?

jonese



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230312
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Scope Woes Virtual Directories

2006-01-24 Thread Burns, John D
You don't need unique application names.  Lets say you have one site and
at the top of it you have cfapplication name=myApp then you set some
application variables somewhere in there.  Then, you have another site
on the same server, you can put cfapplication name=myApp in that
site and it will have access to the variables that are set in the first
site.  However, keep in mind, you want to be careful about multiple
sites setting and getting variables to make sure that you're not relying
on a variable that may not have been set. Especially when the server is
rebooted or something like that.  Many people have the misconception
that the cfapplication tag has to go in the Application.cfm but that's
not true. It can go at the top of each individual page and you could
leave out the Application.cfm altogether. The Application.cfm just makes
it easier because it gets called everytime. 


John Burns
Certified Advanced ColdFusion MX Developer
Wyle Laboratories, Inc. | Web Developer
 

-Original Message-
From: jonese [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 10:59 AM
To: CF-Talk
Subject: Re: Scope Woes  Virtual Directories

right but how can we do this and still maintain the fact that these
files are shared among 50 other sites, with 50 unique application names?

On 1/24/06, Burns, John D [EMAIL PROTECTED] wrote:
 It depends on the scope you're using. If you're talking application 
 and session variables, you need cfapplication to define that these 
 pages are part of the application, thus allowing it to access the 
 scoped variables.


 John Burns
 Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | 
 Web Developer


 -Original Message-
 From: jonese [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 24, 2006 9:59 AM
 To: CF-Talk
 Subject: Scope Woes  Virtual Directories

 Ok here's the scenario.

 We have 50 sites on a server using our CMS.
 Each of these sites has an IIS virtual Directory called global.
 global is a mapped directory in CF Admin.

 The problem we are having is when a person referances 
 http://theresite.com/global/ticket/index.cfm the code doesn't have 
 access to many of the scoped variables.

 Any ideas how we can get global to see all the scoped variables?

 jonese



 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230329
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   3   4   5   6   7   8   9   >