RE: RFC: CFMX Runtime Server

2007-01-06 Thread Snake
So do u still get a cfadmin if u do this ? 

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: 06 January 2007 11:20
To: CF-Talk
Subject: Re: RFC: CFMX Runtime Server

AJ Mercer wrote:
 If the EAR contains the CF engine, wouldn't this require a license too 
 (for each server it is deployed on)?

That is what the ISV does. He delivers a complete application that can be
deployed on any standard J2EE server with a license for X CPUs. The hosting
party does not have to know anything about CF, they don't have a have any
licenses for CF, they just deploy the EAR/WAR.

Jochem



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


RE: RFC: CFMX Runtime Server

2007-01-05 Thread Snake
They already have something to complete with Railo/Smith/BD
Its called ColdFusion MX

Russ 

-Original Message-
From: AJ Mercer [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 03:01
To: CF-Talk
Subject: Re: RFC: CFMX Runtime Server

Yep - something for Adobe to release - to compete with Railo/smith/BD.


On 1/5/07, Claude Schneegans [EMAIL PROTECTED] wrote:

 I guess the free/trail developer edition should not be able to
 produce the
 package that can be deployed to the runtime version.

 Oh, your idea is that Adobe would develop this tool? I thought you had 
 this idea for yourself ;-)

 --
 ___
 REUSE CODE! Use custom tags;
 See http://www.contentbox.com/claude/customtags/tagstore.cfm
 (Please send any spam to this address: [EMAIL PROTECTED]) 
 Thanks.


 



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


RE: RFC: CFMX Runtime Server

2007-01-05 Thread Snake
Nothing would stop you doing that, and I presume that is why CF has this
feature.
I believe you need CFMX Enterprise to actually do the sourceless deployment
though.

Russ 

-Original Message-
From: Neil Middleton [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 10:02
To: CF-Talk
Subject: Re: RFC: CFMX Runtime Server

OK, well working on that basis - what is to stop me from buying only one
server for building my WAR files and deploying them to a whole host of j2ee
containers in my test and production environments?  Even more than that, do
I even have to pay for CFMX is dev edition is free (assuming it can also do
WAR deployment - haven't got a copy to hand)?

Neil

On 1/5/07, Jochem van Dieten [EMAIL PROTECTED] wrote:

 AJ Mercer wrote:
  I have an idea for a free ColdFusion server product that would I 
  like to
 put
  out there for discussion : A CF runtime server
 
  The runtime server is like the CF server, but with no compiler.
  You develop and compile your web application on a licensed product, 
  and
 then
  package it up as a sourceless deploy. This could then be put on a 
  server with the CF runtime product.

 Your runtime server already exists. Just compile your application into 
 an EAR file in your development environment and deploy it to any J2EE
server.

 Jochem

 



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


RE: Richest ColdFusion E-Commerce Site

2007-01-05 Thread Snake
Perhaps the best solution would be to develop it in the way you are most
comfortable with, and provide an API for everyone else to make
modifications.

Russ 

-Original Message-
From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 01:50
To: CF-Talk
Subject: Re: Richest ColdFusion E-Commerce Site

Port it to FB 4 or 5 and it'll be the sexiest EVER! Is it in an MVC 
pattern in FB3?

No way! A large percentage of my users struggle with just the FB, MVC would
shatter their brains. LOL Seriously, the number of people that buy my
software that even have a clue about stuff like MVC and OO is so low that it
just isn't even a consideration to go there. That's assuming I had a year or
more to kill and completely reprogram it that way. Ecommerce buyers
generally care about two main things...the features the software has, and
how easy it will be for them to go in and make modifications. I try very
hard to cover both bases well, and moving to MVC really would not serve
either. Honestly, I do get far more people that complain that FB is too
confusing than ones that want something like MVC. Granted, there are
*definitely* some users that would like this, but it's a very small
minority. In a recent survey of my users, less than 20% even cared about
converting the software from FB3 to 4. They cared *way* more about the
actual feature set. So I've spent over a year making it the best, most
feature-rich software that I could. And I do believe I have that...I just
have to get all the last bits of code completed, everything beta-tested,
update all the docs, write all those complicated update scripts, etc. No
problem, I just won't sleep this month. ;-) And even after this release is
done, I have a pretty long list of even more feature and code improvements I
want to make and I hope to do another major release in a relatively short
time (1 year as opposed to typically several years.) E-commerce is still a
rapidly growing field and everytime people see something cool on Amazon.com,
they want it too. ;-) 


I think there are some experts around with alot of experience porting 
apps from FB3 to 4 or 5.

Sure, if I had thousands of dollars to pay them for it. Believe me, it would
be a pretty big undertaking to do, because it's not just a matter of
converting the basic code (which is difficult enough.) It has to be done in
a way that I don't have to make my current users completely redo all their
store layouts (the current system for product/category/store pages, etc. is
very tied into a FB3 layout system) and it has to deal with converting my
entire role permissions and content access system that is based on the Hal
Helms security model for FB3. The security system has been extended to do
all kinds of things in the software, from selling memberships to the store
to controlling which products an admin can edit, so it's going to be very
tricky to deal with and to update existing sites as well. It's a very
different matter to take an off-the-shelf software product and convert from
FB3 to FB5 than it is to take an individual site and do it, because I can't
leave all my current customers in the dust.


I bet if you gave a few licenses away to some Fuseboxers you'd get all 
the help you need. I would help out.

Oh, I have offered, to the ones that have bought my software. And a number
have offered to help in the past, but once they look at what *really* is
involved and the hurdles that have to be cleared, it usually scares them
off. After all, even a couple licenses doesn't go far in paying a
developer's salary. ;-) 

Still, if the CF community continues to grow and my new version is as
successful as I hope it will be, it may be more feasible for me to pay a
really top-notch Fuseboxer to help convert the code. I agree that the
improvements in FB4/5 are nothing to sneer at, and even though I do believe
it's a fair amount harder for newcomers to understand than 3, it's still a
goal of mine to get there at some point. But I still am proud of having one
of the few e-commerce products out there that follows *any* kind of
framework. It may not be the latest and greatest framework...but even if I
did get it converted, it would just be out-of-date again in a few years any
way! 


Mary Jo Sminkey
http://www.cfwebstore.com
CFWebstore, ColdFusion E-commerce




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


RE: ColdFusion OOP Security Framework

2007-01-05 Thread Snake
I have the following roles based security model.

Every resource in my applications have a permission. Use use actual plain
text permission names so they are easy to remember, but a unique UUID can be
generated instead.

E.G.

USERS
 -View Users
 -Edit Users
 -Delete Users
 -Create users

I have a permission configuration tool that is part of my framework admin
interface.
I create my resources and then create all the permissions.

I then Create Groups (roles), and assign resources/permissions to those
groups.
A user is then assigned to a group.

When a user logs in, all their permissions are read in and stored in their
session.

I then have a UDF that checks permissions for each page for each user.

E.g.

cfif request.HasPermissions('permission required')
 process as normal
cfelse
 call my access denied module
/cfif

The UDF can easily be replaced by a CFC for your OOP type application.

--
Russ
 
 

-Original Message-
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 14:33
To: CF-Talk
Subject: Re: ColdFusion OOP Security Framework

What does your security manager need from your generic Authenticator? Got a
quick uml of methods and variables from each? Im not sure what side of the
fence im on yet as far as cf needing interfaces. I am testing bd out right
now because their beta has interfaces.

On 1/5/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Friday 05 January 2007 13:28, Dan Vega wrote:
  II have some notes on a new security model I am working on. Any 
  feedback
 is
  welcome.

 We inject a project specific 'Authenticator' CFC into a generic 
 'SecurityManager' using ColdSpring.
 And it'd look a lot nicer with cfinterface too :-)

 --
 Tom Chiverton
 Helping to apprehensively mesh viral initiatives

 

 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 St James's Court Brown Street Manchester M2 2JF.  
 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 Law Society.

 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 8008.

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


 



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


RE: RFC: CFMX Runtime Server

2007-01-05 Thread Snake
And how would they compile your CFML pages into Java ?
You need ColdFusion server for that. 

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 15:24
To: CF-Talk
Subject: Re: RFC: CFMX Runtime Server

Snake wrote:
 I believe you need CFMX Enterprise to actually do the sourceless 
 deployment though.

No, you need a J2EE server (like the free JBoss and Glassfish) or a Servlet
engine (like Tomcat).

Jochem



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


RE: TinyMCE editor problem

2007-01-05 Thread Snake
I guess this is normal, cozz it happens on mine too. 

-Original Message-
From: Chad McCue [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 18:01
To: CF-Talk
Subject: TinyMCE editor problem

I am using TinyMCE theme Simple on some of my pages, but when I submit the
form (Using ColdFusion MX 7) the textarea the TinyMCE is attached to clears
out. 
 
The correct information in the textbox before I click the Submit
button is sent to the submit page. I can't have the textbox clear out
because people are thinking the text they enter is being erased and not
saved.




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


RE: RFC: CFMX Runtime Server

2007-01-05 Thread Snake
Correct!

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 18:46
To: CF-Talk
Subject: Re: RFC: CFMX Runtime Server

Snake wrote:
 And how would they compile your CFML pages into Java ?
 You need ColdFusion server for that. 

The developer needs CF to create the EAR file. At the place you are
deploying all you need is a J2EE server.

Jochem



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


RE: Query of Queries question

2007-01-05 Thread Snake
Or even easier, without the loop.

cfset list_id = ValueList(qMyQuery.id)
cfquery dbtype=query
 SELECT * 
 FROM qMyQuery 
 WHERE id IN (#list_id#)
/cfquery

--
Russ
 

-Original Message-
From: Terry Sta. Maria [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 20:52
To: CF-Talk
Subject: Re: Query of Queries question

You don't necessarily have to create a query from scratch.  Instead, if
there is a column (with a simple datatype) that uniquely identifies each
row, this can be done with a list and a query of queries.

If qMyQuery.id is such a column, then you can get those all into a list:

cfset list_id = ''
cfloop query=qMyQuery
 cfif qMyQuery.currentRow gte int_rowStart and qMyQuery.currentRow lte
int_rowEnd
  cfset list_id = listAppend(list_id, qMyQuery.id)
 cfelseif qMyQuery.currentRow gt int_rowEnd
  cfbreak
 /cfif
/cfloop

Then you can do your query of queries with this list:
cfquery dbtype=query
 SELECT * 
 FROM qMyQuery 
 WHERE id IN (#list_id#)
/cfquery

If your id column isn't numeric, you can loop through the list creating
LIKE clauses for string, or similar comparisons for other simple data
types.


Hope this helps.



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


RE: Basic Level CMS Solution?

2007-01-05 Thread Snake
ActiveEdit is not a CMS solution, it is just the WYSIWYG component that you
would use in a CMS solution.

Take a look at savvy CMS from www.besavvy.com 

There are also some even more basic ones such as Sparkplug

Russ

-Original Message-
From: Paul Henderson [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 22:22
To: CF-Talk
Subject: Basic Level CMS Solution?

I'm trying to find a very basic level CMS solution for small businesses that
would allow the user to edit images and text on a page, any recommendations?
I've spent today figuring out Farcry and it seems to be a little more
complex of a solution than I need. Or maybe there is an easy way to apply
Farry to a CF site that is already built and I am missing it?

 

I also tried out activsoftware's ActiveEdit but I wasn't impressed.

 

Thanks in advance.

-Paul





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


RE: Question on CFC's

2007-01-05 Thread Snake
You can do that with a single table.

[categories]
categoryID int primary key
CategoryName varchar
parentCat  int default (0)

If parentCat is 0, then it is a parent Category, if it has a value, then it
is a subCategory of the specified parent.

Then your query would be for example

cfquery name=categories
SELECT categoryID, CategoryName, parentCat
FROM categories
Order by parentCat
/cfquery

Then to display it you just do a nested loop to get all subcategories for
each parent category.
This will only work if you have nested 1 level.
Otherwise your better off to write a UDF or custom tag to output the list
and then you can infinitely nest by calling itself.

cfoutput
ul
cfloop query=categories
cfset currentCat = categoryID
cfif parentCat EQ 0
  li#CategoryName#
cfloop query=categories
  cfif parentCat EQ currentCat
li#CategoryName#/li
  /cfif
/cfloop
  /li 
/cfif
/ul
/cfoutput

 
--
Russ
-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 06 January 2007 00:36
To: CF-Talk
Subject: Question on CFC's

I am not overly familiar with CFC's and need a little help with something.

I have two tables that hold categories and sub categories.

[categories]

categoryID
categoryName

[sub_categories]
SCategoryID
categoryID
SCategoryName


I have a query pulling the main categories, and now I need to pull all the
sub categories that are related to the main ones. What I would like to do is
have a page like so dispursed into 3 or 4 seperate colums

MainCategory
sub,sub,sub,sub,
sub,sub,sub,sub


Here is where I am getting my main cats

CFFUNCTION name=InitGetAllMCats access=public returntype=query
output=no hint=Get All Main Categories
  CFSET var GetAllMCats = 
  CFQUERY name=GetAllMCats datasource=#APPLICATION.DB#
username=#APPLICATION.UN# password=#APPLICATION.PW#  SELECT
CategoryID,CategoryName,CategoryImage,CatStatus,pricePerAd
 FROM #APPLICATION.DBPRE#Categories
 ORDER BY CatPos ASC
  /CFQUERY
  CFRETURN GetAllMCats
/CFFUNCTION




Doug B.



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


RE: Modifying an existing PDF

2007-01-04 Thread Snake
Also, the latest version of PDF now uses XML schemas, so I believe you can
now use this to insert dynamic data and text too.  

-Original Message-
From: Richard Kroll [mailto:[EMAIL PROTECTED] 
Sent: 04 January 2007 18:24
To: CF-Talk
Subject: RE: Modifying an existing PDF

 Is it possible, using the built in features of CF, to modify and add 
 information on top of an existing pdf file?

What do you mean by modify and add information?  Are you referring to
filling in PDF Forms?  Adding additional pages to the end of an existing
page?  Modifying existing text inside an existing PDF?

The reason I ask is that I've done some work in this area.  We had a
requirement to populate pre-existing PDF's with dynamic data, and a later
requirement to dynamically add additional pages to the end of these
pre-configured PDF documents and insert user defined text.

The solution I found (which can be tricky depending on your java
knowledge) was to use the iText Java library.  An older version of iText
ships with CF and is what powers CFDocument from what I understand.
Using the iText library you can get to virtually every part of a PDF, but
some are a lot harder to manipulate than others.

The link to the home of iText is http://www.lowagie.com/iText/

Depending what you are trying to do I might be able to provide some code
samples of how to manipulate PDFs within CF.

HTH

Rich Kroll



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


RE: CFMX Runtime Server

2007-01-04 Thread Snake
There are already quite a number of alternatives to CFMX, some of which are
FREE, and I know at least one of them pretty much does that, even allows you
to deploy form a CD.

Russ 

-Original Message-
From: AJ Mercer [mailto:[EMAIL PROTECTED] 
Sent: 05 January 2007 02:41
To: CF-Talk
Subject: RFC: CFMX Runtime Server

I have an idea for a free ColdFusion server product that would I like to put
out there for discussion : A CF runtime server

The runtime server is like the CF server, but with no compiler.
You develop and compile your web application on a licensed product, and then
package it up as a sourceless deploy. This could then be put on a server
with the CF runtime product.

ISPs would then be able to provide Free CF hosting and be able to compete
with PHP and ASP, and Adobe would still get to sell licenses.


Cheers,
Andrew




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


RE: Combo Box in CF

2007-01-03 Thread Snake
You mean like this?

http://webfx.eae.net/dhtml/combobox/combobox.htm

Russ 

-Original Message-
From: Varun Dixit [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 16:12
To: CF-Talk
Subject: Re: Combo Box in CF

Brian, 

Thanks for your reply. I came up with a combobox too yesterday, and its
using javascript which as you said is indeed very reponsive. The was I have
it set up is a text box seating on top of Select inside a DIV. Than, i got
few javascript functions googling, and kinna of created a hybrid which does
what I have been looking for. Its close to what you have on your page, I can
send you the functions or put them here. Let me know, how would you like to
have it. If you do at all.

Thanks, Varun 
 Varun,
 
 I came up with something that simulates a combo box, but I don't think 
 it quite meets what you're looking for.  It gives the user a text box 
 control and a select control.  At first, the select control contains 
 all of the options in the list, but as the user types text in the text 
 box, the options in the select box that don't match what's being typed 
 are essentially removed, leaving only similar entries.  If the user 
 clicks on an option in the select box, the value of that option is 
 copied to the text box.
 
 I've posted a page with this control up on my website at http://www.
 swartzfager.org/combo_box_demo.cfm.  You can see all of the code 
 involved by viewing the page source.  It's JavaScript-powered but does 
 not use Ajax, so it's very responsive.
 
 Like I said, I don't think it's quite what you're looking for, but 
 maybe the techniques/functions involved will be of some help.
 
--Brian



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


RE: Using Eclipse/CFEclipse

2007-01-03 Thread Snake
What would be handy is a quick tips list of how to do all the common things
in CFE that you do in homesite, rather than having to hunt around for the
solution.
What I really miss is the right click context menu - insert tag or insert
Expression.
I often cannot remember all the CF functions/tags as I don't use all of them
all the time, and it was a handy way to view a list of them all and their
parameters. 

Russ

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 17:46
To: CF-Talk
Subject: Re: Using Eclipse/CFEclipse

On 1/3/07, Andy Matthews [EMAIL PROTECTED] wrote:
 from EP to Eclipse who could give me some pointers? Secondly, are 
 there some good basic tutorials on using Eclipse?

Robert Blackburn did some articles for Fusion Authority:
http://fusionauthority.com/Techniques/4599-CFEclipse-CFExplained-Part-I.htm
http://fusionauthority.com/Techniques/4607-CFEclipse-CFExplained-Part-II.htm

Mark Drew (the man himself) has some video podcast tutorials:
http://www.markdrew.co.uk/blog/index.cfm/2006/5/2/podcast_01


FWIW, i tried to get into Eclipse (and CFEclipse) after using CF Studio/HS+
for ages.  I quit after about a week and went back to HS+.

A lil' while later, people were still talking about Eclipse and CFE so I
forced myself to go back.  And it took a good few weeks of forcing myself.

Now, I couldn't even imagine using another IDE.  Love the plugins (using
CFEclipse (obviously), Aptana plugin for CSS, and JSEclipse for JavaScript).

Takes getting used to, but I think it's well worth the investment.



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


RE: Using Eclipse/CFEclipse

2007-01-03 Thread Snake
I still use homesite for quick edits for that very purpose, so I can double
click a file and edit it.
I also still use DWMX to deploy files via FTP cozz the right click put
file is very quick and handy for that.

Russ 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 19:01
To: CF-Talk
Subject: RE: Using Eclipse/CFEclipse

I agree...

I honestly think that not being able to open a file in Eclipse by double
clicking on it is a complete deal breaker. If I'm working on a site, I
generally like to open a Windows Explorer window to the working directory
and use that as a reference.

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 03, 2007 12:26 PM
To: CF-Talk
Subject: RE: Using Eclipse/CFEclipse

What would be handy is a quick tips list of how to do all the common things
in CFE that you do in homesite, rather than having to hunt around for the
solution.
What I really miss is the right click context menu - insert tag or insert
Expression.
I often cannot remember all the CF functions/tags as I don't use all of them
all the time, and it was a handy way to view a list of them all and their
parameters. 

Russ

-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED]
Sent: 03 January 2007 17:46
To: CF-Talk
Subject: Re: Using Eclipse/CFEclipse

On 1/3/07, Andy Matthews [EMAIL PROTECTED] wrote:
 from EP to Eclipse who could give me some pointers? Secondly, are 
 there some good basic tutorials on using Eclipse?

Robert Blackburn did some articles for Fusion Authority:
http://fusionauthority.com/Techniques/4599-CFEclipse-CFExplained-Part-I.htm
http://fusionauthority.com/Techniques/4607-CFEclipse-CFExplained-Part-II.htm

Mark Drew (the man himself) has some video podcast tutorials:
http://www.markdrew.co.uk/blog/index.cfm/2006/5/2/podcast_01


FWIW, i tried to get into Eclipse (and CFEclipse) after using CF Studio/HS+
for ages.  I quit after about a week and went back to HS+.

A lil' while later, people were still talking about Eclipse and CFE so I
forced myself to go back.  And it took a good few weeks of forcing myself.

Now, I couldn't even imagine using another IDE.  Love the plugins (using
CFEclipse (obviously), Aptana plugin for CSS, and JSEclipse for JavaScript).

Takes getting used to, but I think it's well worth the investment.



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


RE: Using Eclipse/CFEclipse

2007-01-03 Thread Snake
So do u edit your CFML in Aptana as well?
Is it like cfclipse, or a plugin so you can still use the cfeclipse
features? 

-Original Message-
From: Dan Skaggs [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 20:12
To: CF-Talk
Subject: Re: Using Eclipse/CFEclipse

I grabbed the Aptana plug-in last week and am seriously enjoying the FTP
upload features it gives.  It's almost as easy as the DW upload.  You still
have to do a configuration for each project, but once that is done you right
click on a file, hover over the Synchronize item in the menu and then
click Upload (however I do wish I could turn off the confirmation message
that insists on popping up when it's complete).

I still use homesite for quick edits for that very purpose, so I can 
double click a file and edit it.
I also still use DWMX to deploy files via FTP cozz the right click put 
file is very quick and handy for that.

Russ



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


RE: Using Eclipse/CFEclipse

2007-01-03 Thread Snake
So how would u use the FTP deployment, just setup the same project in both
cfeclipse in Aptana and toggle between the 2 ? 

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 22:11
To: CF-Talk
Subject: Re: Using Eclipse/CFEclipse

You can edit it just like an html file, you do not get the intellisense as
far as I am aware.

I use Aptana for Ajax work and sometimes JS but on the whole for the latter
I use Interakts plugin for that.






This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Snake
To: CF-Talk
Sent: Wed Jan 03 21:39:05 2007
Subject: RE: Using Eclipse/CFEclipse

So do u edit your CFML in Aptana as well?
Is it like cfclipse, or a plugin so you can still use the cfeclipse
features? 

-Original Message-
From: Dan Skaggs [mailto:[EMAIL PROTECTED]
Sent: 03 January 2007 20:12
To: CF-Talk
Subject: Re: Using Eclipse/CFEclipse

I grabbed the Aptana plug-in last week and am seriously enjoying the FTP
upload features it gives.  It's almost as easy as the DW upload.  You still
have to do a configuration for each project, but once that is done you right
click on a file, hover over the Synchronize item in the menu and then
click Upload (however I do wish I could turn off the confirmation message
that insists on popping up when it's complete).

I still use homesite for quick edits for that very purpose, so I can 
double click a file and edit it.
I also still use DWMX to deploy files via FTP cozz the right click put 
file is very quick and handy for that.

Russ







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


RE: Not sure what it is call. Textbox Thingy?

2007-01-03 Thread Snake
Here you go.

http://binnyva.blogspot.com/2006/01/dynamic-form-field-generation-in.html

Russ 

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 23:07
To: CF-Talk
Subject: Not sure what it is call. Textbox Thingy?

Hello all.

I have a form that I am going to want the user to be able to fill out but
the number of rows of text boxes is never going to be known, so I am going
to want to give them an option of filling out the first row, then if they
want to they can add subsequent rows. The trick is that the information in
the rows filled out needs to be retained. I found some JS to do something
close, but it wants you to enter in how many rows you want and then submit a
button to generate these rows, but the information is not retained. Is there
a CF script out there that can do this, or is there some built in function
of CF that can do this? I am using CF 7.

 

Thanks,

 

Bruce Sorge

Contractor

City of Los Angeles

Department of Neighborhood Empowerment





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


RE: Can cflogin help me block basic http authentication?

2007-01-03 Thread Snake
Yes you can, here is an example.

http://www.peej.co.uk/articles/http-auth-with-html-forms.html

Russ 

-Original Message-
From: Jonathan Block [mailto:[EMAIL PROTECTED] 
Sent: 03 January 2007 23:08
To: CF-Talk
Subject: Can cflogin help me block basic http authentication?

If I know the username + password for an area of my site that requires basic
http auth, can i use a cf tag to preset the authentication credentials that
the browser will be passing when the user logs into my site so that when
they hit the locked pages, that they never see the prompt?

Jon




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


RE: HostMySite Followup

2007-01-02 Thread Snake
If your concerned about the security of the files and other people
downloading them, why not password protect the download folder, so that
users need a password to get the files.
I'm sure HMS must provide such a facility.
We use IISPASSWORD for this.

Russ 

-Original Message-
From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] 
Sent: 02 January 2007 21:56
To: CF-Talk
Subject: HostMySite Followup

Just wanted to drop a quick note on how things ended up with the timeout
issues at HostMySite. I was finally able to get them to add an exception
rule for me, after sending them the information that it *was* possible and I
would be able to restrict it to just my download function. However, I still
had some customers running into timeout problems. I won't go into all the
details, and we're still not even sure on whose end the problem is occuring,
and what exactly SeeFusion was doing. But I decided I might as well at this
point just recode the darn download method so I don't have to deal with the
issue any more and so that I can include that code for all my customers in a
future release and not have them run into similar problems on HMS or any
other hosts that sets up similar timeouts. I used the suggestion of moving
the download file to a new temp directory and I appended the date to the
directory name so I can easily go through the list and delete any
directories more than a day old. Seems to work pretty well and while it's
theoretically not as secure, it certainly is less of a drain on the
ColdFusion server. 

Thanks to everyone for their help and suggestions, and to HostMySite for
doing their best to work through this. I'm still concerned about other
things hitting that SeeFusion timeout, but at least I know with enough
insistence on my part that I can get them to set up an exception when
needed. 


--- Mary Jo




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


RE: tool generate sql insert / update statements

2006-12-31 Thread Snake
Dreamweaver. 

-Original Message-
From: Dwayne Cole [mailto:[EMAIL PROTECTED] 
Sent: 31 December 2006 15:00
To: CF-Talk
Subject: tool generate sql insert / update statements

I'm looking for a tool that would alow me select a table and then it
automatically generates a series SQL statements to select, insert, update,
delete records from the taable.  

Any suggestions.



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


RE: handling timeouts

2006-12-31 Thread Snake
Unless you specially want someone to be logged out, you can simply re-create
the session after it expires and carry on as normal.
If you do want the user to be logged out, then you could save the current
form data in a cookie, or alternately save the submitted data and post it to
the the login page and then return the user including the data back to where
they were after they login again. 

-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: 31 December 2006 14:41
To: CF-Talk
Subject: handling timeouts

hi, i am just configuring my system to handle timeouts for the first time.

i was just wondering if i could get some opinions on the best way to do
this, or how most of the experts do it. 

specifically, i was wondering how to deal with data that needs to be saved.
my system has some features that require the user to think about their
input, maybe for some time so i was thinking that i should set the timeout
to about an hour. but if they extend this time is there a way to
automatically save the data they have not saved before it logs them out. do
i put the save code in the timeout code in the application .cfc?

i would appreciate any general opinions or advice regarding handling
timeouts just so i can get a grasp on how you guys handle it. 

thanks very much for any help



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


RE: CFID and CFToken

2006-12-29 Thread Snake
Checkout UrlSessionFormat()

Russ 

-Original Message-
From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] 
Sent: 29 December 2006 18:00
To: CF-Talk
Subject: CFID and CFToken

Does anyone know of a way to programmatically add the CFID and CFToken
variables to every link within a rendered page (if needed)? Links, form
actions, etc., via some regex or something.

Cutter



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


RE: CFID and CFToken

2006-12-29 Thread Snake
Because no everyone has cookies enabled. 

-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
Sent: 29 December 2006 18:23
To: CF-Talk
Subject: Re: CFID and CFToken

I'm not sure why you'd want to do that, (and there may be security risks in
doing so), but the CFID and CFToken are typically stored in the cookie
scope. You could get them from there to add them to all your links.

Cheers,
Chris

Cutter (CFRelated) wrote:
 Does anyone know of a way to programmatically add the CFID and CFToken 
 variables to every link within a rendered page (if needed)? Links, 
 form actions, etc., via some regex or something.

 Cutter

 



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


RE: HostMySite Issue

2006-12-29 Thread Snake
We also apply max timeouts with fusionreactor that causes similar problems,
but if a client has a page that needs to run longer, we ad dit to the
exclusion list.
Perhaps u can ask HMS to do the same.

Russ 

-Original Message-
From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] 
Sent: 29 December 2006 17:13
To: CF-Talk
Subject: HostMySite Issue

I recently moved my site to HostMySite and am now having major problems as a
result. Here's the issue: I use a cfcontent tag to send downloaded software
down to the client, as is commonly done so the file can be kept in a secure
location. The file is around 10 megs so can take anywhere from 10-15 seconds
to a minute or two to download. The problem is that HMS is using SeeFusion
and has recently set it to end any threads running more than 50 seconds.
This is a major problem because it overrides normal ColdFusion behavior that
allows tags like cfcontent and cfftp to run to completion. And it even
overrides use of a cfsetting tag for pages you expect to take awhile to run
so I have no way to override this. So now my customers go to download the
software and for many, it keeps timing out on them, and the customer tries
again and again until they run out of download attemptsand then of
course I get an annoyed email and have to deal with sending them the file
another way. HostMySite's suggestion? Use ASPUpload instead! They say they
have no problem with the setting causing problems for some people if it
keeps the servers running better for everyone else.

So this post is for two reasons...to warn anyone that might be considering
using HMS shared hosting that they better not ever need a ColdFusion page to
run more than 50 seconds. And to see if anyone knows of a way to get the
cfcontent to complete faster. Is there any way to get the thread to run to
completion without it having to wait for the client to receive the entire
file? Any other options I could look at that will integrate into ColdFusion?


I hope that when the improved server monitoring with Scorpio comes out that
will allow for better handling of things like this. I totally appreciate the
need to kill hanging threads and keep the server up and running. But I
totally disagree with being able to override normal use of ColdFusion like
this. 


--- Mary Jo



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


RE: HostMySite Issue

2006-12-29 Thread Snake
While I understand their need ot do this (we do it too), 50 seconds is just
too low.

Russ 

-Original Message-
From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] 
Sent: 29 December 2006 22:13
To: CF-Talk
Subject: Re: HostMySite Issue

We also apply max timeouts with fusionreactor that causes similar 
problems, but if a client has a page that needs to run longer, we ad 
dit to the exclusion list.
Perhaps u can ask HMS to do the same.

I'm trying! But as others in the thread have mentioned, this seems to be
their policy on shared servers, no exceptions or exclusions.

Oh, just thought of another instance where my customers will be effected by
this...those that use verity searching on their stores, the indexing often
will take a couple minutes to run if they have a lot of pages and products.
So this will kill that process as well.


--- Mary Jo



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


RE: CFC vs Customtag performance.

2006-12-28 Thread Snake
Dan,

The reason for the decrease in performance is when CF must instantiate the
CFC each time, I.E. when using cfinvoke or createobject.
The solution is to cache the CFC by storing it in a persistant scope such as
application scope, so it only needs to be instantiated once. 
One solution is to use an object factory like this 
http://www.nictunney.com/index.cfm?mode=entryentry=6DACBE6F-65B8-F252-76EC1
06E89049009

-
Russ Michaels

-Original Message-
From: Dan Singerman [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 13:47
To: CF-Talk
Subject: CFC vs Customtag performance.

I was lead to believe that CFC performance (apart from instantiation) should
beat custom tag performance, partly due to posts like this:
http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_of_cus
tom_tag_vs_cfc_for_output.cfm

However my own experiments tell me otherwise. See:
http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/

What's going on there, and who's right?



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


RE: CFC vs Customtag performance.

2006-12-28 Thread Snake
You are getting  your TickCount value prior to instantiating the CFC and
also including the init method in the caluclation.

cfset reset()

cfset stringAppendCFC = createObject(component,string_append).init()

If you want to get a representation of time to call an already instantiated
CFC, then you should move your cfset reset() after the createobject.

-
Russ

-Original Message-
From: Dan Singerman [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 14:05
To: CF-Talk
Subject: Re: CFC vs Customtag performance.

Hi Russ,

If you look at the code what you say is valid for the case of the
uninstantiated CFC (i.e. where createObject is called within the loop)

However, in the instantiated CFC case, where createObject is only called
once, and hence will be in memory for that request (to that file anyway) I
don't think that applies.

Please correct me if I am wrong

Cheers,

Dan



Dan,

The reason for the decrease in performance is when CF must instantiate 
the CFC each time, I.E. when using cfinvoke or createobject.
The solution is to cache the CFC by storing it in a persistant scope 
such as application scope, so it only needs to be instantiated once.
One solution is to use an object factory like this
http://www.nictunney.com/index.cfm?mode=entryentry=6DACBE6F-65B8-F252-
76EC1
06E89049009

-
Russ Michaels

-Original Message-
From: Dan Singerman [mailto:[EMAIL PROTECTED]
Sent: 28 December 2006 13:47
To: CF-Talk
Subject: CFC vs Customtag performance.

I was lead to believe that CFC performance (apart from instantiation) 
should beat custom tag performance, partly due to posts like this:
http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_o
f_cus
tom_tag_vs_cfc_for_output.cfm

However my own experiments tell me otherwise. See:
http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance
/

What's going on there, and who's right?



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


RE: how do I reunite 2 separate requests

2006-12-28 Thread Snake
This is a pretty standard callback method, most systems will use it.
When you sent the request, you should have the option of sending a custom
value, such as your own generated transaction or invoiceID. If not then you
could always send the CFID and CFTOKEN.
This is what you need to use on the callback page to process the returned
data and validate the transaction.

So if your orginal request page needs to wait for approval and then do
something, you could simply check the database for the data saved by your
callback page and then you will know if it failed or was successful.

Russ
 

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 15:45
To: CF-Talk
Subject: how do I reunite 2 separate requests

Need a bit help - my poor ol' brain is struggling with how best to impelment
this...

I am just starting to integrate this payment service provider into our
system to handle credit card payments for our customers in the Asia Pacific
region.

I already use a PSP here in the UK and I have a cfc which nicely implements
the process - I feed in credit card, expiry date, amount currency etc etc
and after an cfhttp call the cfhttp.filecontent contains the response as an
XML packet... nice.

For paydollar the implementation is slight different - I still do an cfhttp
call but then I have to declare a URL to 'receive the results in realtime'
and in addition declare 3 separate pages to display in case of error,
decline or success. So paydollar in effect spawn a separate request to pass
me the results and all I get back in the cfhttp.filecontent is one of the
three pages I nominated.

So I know broadly if it has been authorised, declined or some error - but
the details are in another request!

Any ideas on the best way to tie the requests together again? Can the
results page know about the correct CF session scope?

The nominated 'results URL' is not dynamic with each request by the way -
just declared to them once. When it is run however it has access to the
transactio details in the form scope.

I really want to abstract the whole credit card payment so that it will pass
to the appropriate PSP behind the scenes and pass back a standard response
and codes.

confused of UK

--
Mike T
Blog http://www.socialpoints.com/




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


RE: CFC vs Customtag performance.

2006-12-28 Thread Snake
The instantiation of a CFC does in fact add execution time, so it will be
having an impact on his reults.
If instantiating a CFC took no time at all, then there would be no reason to
cache them in a persistent scope.

There may of course be other factors involved too.

Russ

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 14:56
To: CF-Talk
Subject: Re: CFC vs Customtag performance.

Snake wrote:
 You are getting  your TickCount value prior to instantiating the CFC 
 and also including the init method in the caluclation.
 
 cfset reset()
 
 cfset stringAppendCFC = 
 createObject(component,string_append).init()
 
 If you want to get a representation of time to call an already 
 instantiated CFC, then you should move your cfset reset() after the
createobject.

That is not his problem. I bet I know where his problem is but since he is
disinclined to share his code and configuration to debug it I am disinclined
to share the solution. 

If you post incomplete questions, you get incomplete answers.

Jochem



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


RE: how do I reunite 2 separate requests

2006-12-28 Thread Snake
Well there is a potential problem with that method. What if the users
browser crashes, they close the browser,  their internet connection drops,
the page times out etc. Then the data will never be returned. Thus why
having a separate callback that happens behind the scenes is useful.

Russ

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 16:30
To: CF-Talk
Subject: Re: how do I reunite 2 separate requests

Thanks Russ,

Yes I guess getting the callback page to write to the database, and then the
original request read and wait for that database value is a way to solve
this. And yes we do pass a unique transaction reference to identify the
value - its just a bit clunky compared to it all being in one request which
is how our other PSP, 'datacash' (who I highly recommend BTW) handle things.



On 12/28/06, Snake [EMAIL PROTECTED] wrote:

 This is a pretty standard callback method, most systems will use it.
 When you sent the request, you should have the option of sending a 
 custom value, such as your own generated transaction or invoiceID. If 
 not then you could always send the CFID and CFTOKEN.
 This is what you need to use on the callback page to process the 
 returned data and validate the transaction.

 So if your orginal request page needs to wait for approval and then do 
 something, you could simply check the database for the data saved by 
 your callback page and then you will know if it failed or was successful.

 Russ


 -Original Message-
 From: Michael Traher [mailto:[EMAIL PROTECTED]
 Sent: 28 December 2006 15:45
 To: CF-Talk
 Subject: how do I reunite 2 separate requests

 Need a bit help - my poor ol' brain is struggling with how best to 
 impelment this...

 I am just starting to integrate this payment service provider into our 
 system to handle credit card payments for our customers in the Asia 
 Pacific region.

 I already use a PSP here in the UK and I have a cfc which nicely 
 implements the process - I feed in credit card, expiry date, amount 
 currency etc etc and after an cfhttp call the cfhttp.filecontent 
 contains the response as an XML packet... nice.

 For paydollar the implementation is slight different - I still do an 
 cfhttp call but then I have to declare a URL to 'receive the results 
 in realtime'
 and in addition declare 3 separate pages to display in case of error, 
 decline or success. So paydollar in effect spawn a separate request to 
 pass me the results and all I get back in the cfhttp.filecontent is 
 one of the three pages I nominated.

 So I know broadly if it has been authorised, declined or some error - 
 but the details are in another request!

 Any ideas on the best way to tie the requests together again? Can the 
 results page know about the correct CF session scope?

 The nominated 'results URL' is not dynamic with each request by the 
 way - just declared to them once. When it is run however it has access 
 to the transactio details in the form scope.

 I really want to abstract the whole credit card payment so that it 
 will pass to the appropriate PSP behind the scenes and pass back a 
 standard response and codes.

 confused of UK

 --
 Mike T
 Blog http://www.socialpoints.com/




 



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


RE: random cfc

2006-12-28 Thread Snake
That brings back some memories.
I actually wrote a banner system once, and I believe the method I used back
then, was to query all the primary keys, then pick a random row from the
query, extract the primary key and selectthat record.
This was many years ago back in the days of CF4 though :-)

Russ

-Original Message-
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 22:17
To: CF-Talk
Subject: Re: random cfc

Christopher,
Please remember that I am asking these same questions so there is no such
thing as ignorance just different perspectives. With that being said I would
read the two posts because even if you do not need the random cfc they are
very good articles. Here is a situation where you would need a random row.
You could use it in a banner ad program where you just want to display a
random ad, or a shopping cart where you want to show a random product from
the products table. Maybe you would even like to customize it for our
shopping cart application. Lets say we have a featured flag in our products
table, you could add to that

and featured = 1

Now on our home page instead of writing a featuredProduct rotator component
we can just grab a random row. These are just ideas but who knows, maybe
someone else can make use of it. I needed it for a specific reason that I am
not at liberty to share. Feedback is always welcome so thank you for your
thoughts Christopher!

Dan Vega

On 12/28/06, Christopher Jordan [EMAIL PROTECTED] wrote:

 Okay. I'm gonna show some ignorance here. Ready?  Good. :oP

 I read your blog entry, Dan, and the entire CFC. I did not read either 
 of the other two blog articles you mentioned (so maybe that's where 
 this ignorance is coming from).  I understand how your code works. 
 That's not my problem.

 uh... what's the point? Why would you want to get a random row from a 
 table?

 Okay, to be fare, I just thought of one reason. So maybe there are more.
 Are there folks out there clamoring for the ability to get a random 
 rows, random directories and random colors?

 Random strings and numbers I see more use for, but there are already 
 plenty of UDFs written that can obtain a random string of characters 
 (numbers included).

 I guess I just don't understand. There must be a reason I'm missing.
 Help me. :o)

 Cheers,
 Chris

 Dan Vega wrote:
  All,
  I just created a quick and dirty random cfc component and a quick
 posting to
  go with it. I could really use some feedback on how to split it up 
  if
 anyone
  gets a chance.
 
  http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
 
 
 
 

 --
 http://www.cjordan.info



 



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


Access denied

2006-12-27 Thread Snake
On one of our CFMx7 enterprise servers, we have in the last 6 months or so
started getting access denied Coldfusion errors.
This is caused by the fact that we use sandboxing, and if the client enables
session variables in their application.cfm, then the entire site is denied
access to itself.
The solution is to create a sandbox for the site, and the problem goes away.
 
But I am at a loss as to why a sandbox is required just to use session
variables. This never used to be the case on any other server or on this
one, and a sandbox was only required to use disabled tags.
 
Can anyone shed any light on this ?
It is rather anoying having to create a sandbox for every site that doesn't
really need one.
 
Russ


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


RE: How to determine if zipfile has been fully uploaded by FTP?

2006-12-27 Thread Snake
The file will not exist in the destination folder until it has fully
uploaded as CF moves the file from the TEMP folder to the destination.
So in that case you only need to use fileExists().
I presume your dealing with the files via another process, otherwise you
wouldn't need to test if the file has uploade dyet, as you would simply
process it after the cffile upload completes. 
Youc ould always store the filenames into the database afte rthe upload
completes, and have your other process check the database for new files.

Russ

-Original Message-
From: David [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 02:19
To: CF-Talk
Subject: How to determine if zipfile has been fully uploaded by FTP?

Hi all,

I have a question about testing a zipfile in CF.

We currently have a client's application that lets them use CFFile via a
form to upload a zip file to process, then unzips and imports etc, one file
at a time.
We now want to allow user to FTP (or other ways) as many zipfiles as they
want, and CF will check which are fully uploaded, and process them.
It's CF7 Standard, so directory watcher gateway isn't an option.

FTP uploads using the same name (no temp name while it's on the way), so we
need to tell if it's complete. (BTW, does the directorywatcher gateway fire
only on complete files?)

My thinking is to test the zipfile; if any errors, not fully uploaded so
ignore. Would this throw an error in the FTP upload, or should that be safe?

One way is to use CFX_Zip's Test action. Short of that, is there a way using
java.util.zip (maybe starting with Massimo Foti's tmt_zip.cfc) to test the
zipfile? Found code to enumerate the entries (shouldn't be more than 2 in
this case), but how to test each included file without trying to extract?

Thanks,
- David



~|
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:265187
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 Gets Slammed at Christmas Breakfast

2006-12-26 Thread Snake
Hey she started it, it would only have been fair :-) 

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: 26 December 2006 13:21
To: CF-Talk
Subject: Re: CF Gets Slammed at Christmas Breakfast

LOL,

I would have just laughed and laughed at her and said only people who 
don't understand it don't like it, so I guess its you that sucks, at
programming.


LOL! Even at Christmas breakfast??? Sheeesh! 

I do think I remember telling her, you don't know what the hell you're
talkin about! It's like a blur, like a car accident or somethin. My
adrenaline kicked in when she opened her mouth. 

:)

Will



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


RE: Image display question?

2006-12-24 Thread Snake
If you load them all into a JS array then they will all have to load with
the page, with rather defeats the purpose of having a thumbnail.

Just have the palce holder with a blank 1px image and then reload it when
clicking on the thumb

E.g.
img name=placeholder id=placeholder src=blank.gif 
img src=thumb.gif onclick=document.getElementById('placeholder').src =
'newimage.gif'

russ

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 24 December 2006 14:39
To: CF-Talk
Subject: Image display question?

I have a page that I am working on, and am using imageCR3 for resizing and
displaying the thumbnail images, but what I would like to do, is not have to
load another page to show the larger version of the thumbnail images. I
would like a placeholder for the larger image and then the thumbnails below
where they can be clicked on and load the larger images into the
placeholder. I would imagine I would need to place all the larger images in
an array to do this, and do not have much experience with arrays. Can anyone
give me a little guidance in this?







Doug B.



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


RE: web servers - apache or IIS

2006-12-23 Thread Snake
Unless you have any very specific reason to use Apache, as in a feature that
IIS does not support, then there is no reason not to use IIS if your running
on windows, it will do everything you need.
The most common reason people always had to use Apache was mod_rewrite, but
this now exists for IIS in the form of IISREWRITE among others.


Russ
 

-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: 23 December 2006 09:10
To: CF-Talk
Subject: web servers - apache or IIS

hi, i am about to deploy my first coldfusion application within my clients
site but have been asked the question in regard to the best web server. 

I havent really done alot of research on web servers, am doing some now but
would be extremely grateful of some expert advice.

I know my client would prefer to use an IIS web server, in order for it to
sit on a windows server platform. Do most people use IIS with Coldfusion?
can anybody tell me if this is adequate or whether i should really be
pushing for a different environment?

I asked a question on here a long time ago in regard to web servers and was
told that apache may be the best one to use. This question is more in regard
to whether IIS is good enough or whether i need to consider other factors.
Pardon my ignorance but I dont really know the difference between any of the
web servers.

thanks very much for any advice

merry xmas to all and a very prosperous new year :)



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


RE: web servers - apache or IIS

2006-12-23 Thread Snake
Only if you leave your server wide open, don't have a hav a firewall and
never patch it.
 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 23 December 2006 13:09
To: CF-Talk
Subject: Re: web servers - apache or IIS

Is there not alot more security concern for IIS as compared to Apache? I
have always heard this, so have always ran Apache on my windows server.
Things may have changed in IIS with the release of windows 2003 server.



Doug B.




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


RE: Thumbnail gallery custom tag?

2006-12-21 Thread Snake
There are loads of tags that will resize images and create thumbnails, look
at Ricks ImageCFC
There are also things like cfx_image, cfx_jpegresize etc

Russ 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 21 December 2006 13:07
To: CF-Talk
Subject: Thumbnail gallery custom tag?

I was wondering if someone has or knows of a good thumbnail gallery custom
tag. What I want to do is have users upload there images and then in the
display I would like to have a larger image with thumbnails below that they
can click on to show them a larger version of the thumbnail.

Doug B.



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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Ah ok. Well I'll try that.
We have found the cause of the problem, but why is still a mystery.
It seems that a new cfm file was deployed, which connects to an external non
cf web service to collect some data.
Whenever this file is executed it somehow screws up OUR web service, but
only when the toolbar calls it, we can still call our web service via a CF
page just fine.
I have no idea how or why as the two things are totally separate files, do
not even access the same tables in the database, so how one can affect the
other I do not know, very odd

Russ



-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 01:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Actually that is not true, if the webservice is coldfusion then you can
debug the request:-) Have done it already myself.


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 20 December 2006 12:29 PM
To: CF-Talk
Subject: RE: Web services being called by non cf source

Alas fusion debug wont help me here as it is a VB application.
The web service is returning nothing to the app, no response at all. Neithe
rthe VB app or the web service has been changed, which is the odd thing, yet
the problem occurs on both dev and live servers.

Russ 




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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Well I consider this, but it is only the toolbar that is getitng no response
from the cfc. I fI call the cfc via a cfm test page, it works fine.
So the only difference here is whether it is being called via CFM or via the
tooobar (VB) 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 15:44
To: CF-Talk
Subject: RE: Web services being called by non cf source

so how one can affect the other I do not know, very odd

Just some random thoughts.

Can one be using up some resource when it is running; bandwidth, cpu,
threads, something.  So that the toobar is not waiting and timing out, while
the cf version is more patient and waits for the resource to become
available and returns the desired result.




--
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. 






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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
No, otherwise the toolbar would never work.
There is no way a cfm page on a server can access the clients firewall
setitngs.

I think you don't quite understand the scenario.

We have mywebservice.cfc, which is called by the toolbar, all workds fine.
This toolbar is used by hundreds of different people on different pc's in
different locations.
We then have callremoteservice.cfm, this page has nothing to do with the
above one. IT invokes another webservice on another site that is nothing to
do with us. 
When callremoteservice.cfm is run, it somehow breaks mywebservice.cfc and
the toolbar can no longer get a response from it.

I have been using a http packet sniffer to watch what happens, and the
result is this.

The toolbar will be calling mywebservice.cfc
After callremoteservice.cfm is executed
The sniffer then shows that the url being called by the toolbar changes to
mywebservice.cfc?wsdl, and thus the response it gets back is the WSDL
schema, and the cfc never executes. The toolbar itself doesn't change the
url, as it would have no knowledge of callremoteservice.cfm and if it has
been executed.
So I'm wondering if CF is somehow redirecting or something?

Russ




-Original Message-
From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 12:17
To: CF-Talk
Subject: Re: Web services being called by non cf source

Snake wrote:
 Yet calling the same web service in the same way via a CFM page causes 
 no problems, even when the toolbar cannot get any response, the cfm 
 page gets a response from the web service just fine.

Is it possible that you have a software firewall that is blocking calls from
that app?



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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Having been monitoring the http traffic more, I have noticed this.

The toolbar normally does a POST to mycfc.cfc
As soon as we run the CFM file that calls the other web service, the toolbar
then mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is
failing.

I have no idea how this could happen. There is no prior communication to
this happening, no data sent back that could force the toolbar to use GET
instead of POST, i.e. no redirection header or anything.

Very weird
 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 16:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

So the only difference here is whether it is being called via CFM or via the
tooobar (VB)

That's why I was suggesting, probably a long shot, that the VB code maybe
very impatient.  That it is not waiting long enough for a delayed response
where as the CFM page is more patient and waits.


--
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. 






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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.

wsdl:message name=getLoginRequest

  wsdl:part name=GUID type=xsd:string/

  wsdl:part name=UserName type=xsd:string/

  wsdl:part name=Password type=xsd:string/

/wsdl:message

After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.

wsdl:message name=getLoginRequest

  wsdl:part name=GUID type=soapenc:string/

  wsdl:part name=UserName type=soapenc:string/

  wsdl:part name=Password type=soapenc:string/

/wsdl:message

Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

 Having been monitoring the http traffic more, I have noticed this.
 
 The toolbar normally does a POST to mycfc.cfc As soon as we run the 
 CFM file that calls the other web service, the toolbar then 
 mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
 failing.
 
 I have no idea how this could happen. There is no prior communication 
 to this happening, no data sent back that could force the toolbar to 
 use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

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!



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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
Solved it.

It is some screwed up problem with the encoding that AXIS does. For whatever
reason the encoding method is changed from XSD to SOAPENC after calling an
external web service.
Upgrading to 7.0.2 resolves this, presumably due to an updated AXIS driver.

Russ

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 23:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.

wsdl:message name=getLoginRequest

  wsdl:part name=GUID type=xsd:string/

  wsdl:part name=UserName type=xsd:string/

  wsdl:part name=Password type=xsd:string/

/wsdl:message

After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.

wsdl:message name=getLoginRequest

  wsdl:part name=GUID type=soapenc:string/

  wsdl:part name=UserName type=soapenc:string/

  wsdl:part name=Password type=soapenc:string/

/wsdl:message

Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

 Having been monitoring the http traffic more, I have noticed this.
 
 The toolbar normally does a POST to mycfc.cfc As soon as we run the 
 CFM file that calls the other web service, the toolbar then 
 mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
 failing.
 
 I have no idea how this could happen. There is no prior communication 
 to this happening, no data sent back that could force the toolbar to 
 use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

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!





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


RE: Web services being called by non cf source

2006-12-20 Thread Snake
I guess I missed that, easy to do on this list :-) 

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 21 December 2006 00:56
To: CF-Talk
Subject: RE: Web services being called by non cf source

Seems strange that I told you to update to 7.02 if you hadn't in my first
post to that there where some bug fixes with webservices:-)



Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273


-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Thursday, 21 December 2006 11:02 AM
To: CF-Talk
Subject: RE: Web services being called by non cf source

Solved it.

It is some screwed up problem with the encoding that AXIS does. For whatever
reason the encoding method is changed from XSD to SOAPENC after calling an
external web service.
Upgrading to 7.0.2 resolves this, presumably due to an updated AXIS driver.

Russ

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 23:31
To: CF-Talk
Subject: RE: Web services being called by non cf source

Dave,

OK I missed the fact that it did an initial GET, this wasn't showing in my
packet sniffer, but I can now see it. The endpoint does resolve
successfully, you can browse the cfc?wsdl via the browser.

I have now noticed the following.

The first time round, the response to the GET has the following data types
in the response.

wsdl:message name=getLoginRequest

  wsdl:part name=GUID type=xsd:string/

  wsdl:part name=UserName type=xsd:string/

  wsdl:part name=Password type=xsd:string/

/wsdl:message

After we run our VRN page that contacts the other remote web service, the
toolbar then starts doing GETS again (not sure why), but stops posting. But
I noticed that CF has now changed the data types it sends back in the
response, which I presume is the problem.

wsdl:message name=getLoginRequest

  wsdl:part name=GUID type=soapenc:string/

  wsdl:part name=UserName type=soapenc:string/

  wsdl:part name=Password type=soapenc:string/

/wsdl:message

Does this shed any light on the situation.

Russ
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 20 December 2006 19:41
To: CF-Talk
Subject: RE: Web services being called by non cf source

 Having been monitoring the http traffic more, I have noticed this.
 
 The toolbar normally does a POST to mycfc.cfc As soon as we run the 
 CFM file that calls the other web service, the toolbar then 
 mysteriously starts doing a GET to mycfc.cfc?wsdl, thus why it is 
 failing.
 
 I have no idea how this could happen. There is no prior communication 
 to this happening, no data sent back that could force the toolbar to 
 use GET instead of POST, i.e. no redirection header or anything.

I'm a bit confused. Normally, if you publish a SOAP web service, the URL
given to the client is that of the WSDL file, so your toolbar appears to be
doing the right thing. The client GETs the WSDL, and learns the details of
your service from it. It can't POST to the actual service endpoint without
this information.

So, these questions come to mind:
Why were you expecting something different? 
Is the client able to retrieve the WSDL successfully?
Can you resolve the endpoint URL successfully from one of the clients in
question?

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!









~|
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:264680
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 7.02 won't install ond Windows Server Enterprise 2003, Service Pack

2006-12-19 Thread Snake
Did any part of the install fail, it would have told you when it completed
if there were any errors. Check the install log. 
Is the service running.


-Original Message-
From: Tom Hines [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 05:18
To: CF-Talk
Subject: CF 7.02 won't install ond Windows Server Enterprise 2003, Service
Pack

CF 7.02 won't install on Windows Server Enterprise 2003, Service Pack 1, IIS
6.0. When I run the Administrator the message indicates that MX has been
installed but when I open the page with the web browser the message is
Service Unavailable.



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


RE: Application.cfc vs cfm

2006-12-19 Thread Snake
While on this subject. Considering CFC's are slower to instantiate compared
to regular .cfm files, how does this affect application.cfm, has anyone
tested? Is it slower than using application.cfm and onrequestend.cfm

Russ 

-Original Message-
From: Gert Franz [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 15:11
To: CF-Talk
Subject: Re: Application.cfc vs cfm

Hi Ray,

in Railo 1.1 you can configure this setting. In the Railo administrator you
will be able to set the Application Listeners as follows:

Type:
none - No Application.cfm and Application.cfc will be included classic -
First look for Application.cfm and after the request for OnRequestEnd.cfm
(like  CF7) modern - Look only for Application.cfc mixed - Looks for
Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm
(Like = CF7)

Mode:
Current: Look only in the current directory for one of the files above
Root: Look only in the root directory for one of the files above
Curr2Root: Like CF

So you can configure Railo in the way you like...

Greetings / Grüsse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



Ray Champagne schrieb:
 Say I have the following directory/file structure:

 

 /root

 -  Application.cfc

 -  Index.cfm

 /subdirectory

 o Application.cfm

 o index.cfm

  

 My question is, since there is an Application.cfc in the parent 
 directory, will the Application.cfm file be processed when calling 
 /root/subdirectory/index.cfm, or will the Application.cfc be read? I 
 know when a .cfm and a .cfc reside in the same directory, the .cfc is 
 used, but I'm not sure about the above situation.

  

 Thanks,

  

 Ray

  



 



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


RE: Application.cfc vs cfm

2006-12-19 Thread Snake
Should read 

how does this affect application.cfc

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 15:48
To: CF-Talk
Subject: RE: Application.cfc vs cfm

While on this subject. Considering CFC's are slower to instantiate compared
to regular .cfm files, how does this affect application.cfm, has anyone
tested? Is it slower than using application.cfm and onrequestend.cfm

Russ 

-Original Message-
From: Gert Franz [mailto:[EMAIL PROTECTED]
Sent: 19 December 2006 15:11
To: CF-Talk
Subject: Re: Application.cfc vs cfm

Hi Ray,

in Railo 1.1 you can configure this setting. In the Railo administrator you
will be able to set the Application Listeners as follows:

Type:
none - No Application.cfm and Application.cfc will be included classic -
First look for Application.cfm and after the request for OnRequestEnd.cfm
(like  CF7) modern - Look only for Application.cfc mixed - Looks for
Application.cfc and if not existing for Application.cfm/OnRequestEnf.cfm
(Like = CF7)

Mode:
Current: Look only in the current directory for one of the files above
Root: Look only in the root directory for one of the files above
Curr2Root: Like CF

So you can configure Railo in the way you like...

Greetings / Grüsse
Gert Franz
Customer Care
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List / Treten Sie unserer Mailingliste bei:
deutsch: http://de.groups.yahoo.com/group/railo/
english: http://groups.yahoo.com/group/railo_talk/



Ray Champagne schrieb:
 Say I have the following directory/file structure:

 

 /root

 -  Application.cfc

 -  Index.cfm

 /subdirectory

 o Application.cfm

 o index.cfm

  

 My question is, since there is an Application.cfc in the parent 
 directory, will the Application.cfm file be processed when calling 
 /root/subdirectory/index.cfm, or will the Application.cfc be read? I 
 know when a .cfm and a .cfc reside in the same directory, the .cfc is 
 used, but I'm not sure about the above situation.

  

 Thanks,

  

 Ray

  



 





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


RE: Application.cfc vs cfm

2006-12-19 Thread Snake
Well I have noticed that the time to instantiate a CFC, using cfinvoke or
createobject is slower than using a customtag, a clinclude or a UDF.
And the only way to avoid this is to cache the cfc in a persistent scope,
such as application.

When I first tried out the Model-Glue framework I found the speed to be
dire, the pages took seconds to load, compared to milliseconds for the same
site not done using CFC's

Russ 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 17:09
To: CF-Talk
Subject: RE: Application.cfc vs cfm

 While on this subject. Considering CFC's are slower to instantiate 
 compared to regular .cfm files, how does this affect application.cfm, 
 has anyone tested? Is it slower than using application.cfm and 
 onrequestend.cfm

I haven't bothered doing any testing.

However, I haven't seen any evidence that CFCs are inherently slower than
CFM files. I don't see any reason why they would be, either, once compiled.
I can see why they might take longer to compile, since every method is
compiled into a separate class, but this shouldn't be an issue in a busy
production environment.

It is slower to invoke a CFC from within a CFM file than not to. It appears,
in my limited testing, to be slower to use any formal code reuse mechanism
(CFC invocation, CFML custom tags) than to run code inline or to use a
CFINCLUDE.

Finally, even if there were a cost to doing this, you should only have to
pay it once, when Application.cfc is compiled.

So, in summary, I wouldn't avoid Application.cfc because of performance
concerns.

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!



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


RE: Insert an image in a generated MS word

2006-12-19 Thread Snake
You would need to parse the binary file and extract the image data.
If your trying to do this for CMS purposes, there is an editor caleld
Xstandard that doe sthis as default.

Russ 

-Original Message-
From: ibs [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 23:27
To: CF-Talk
Subject: Insert an image in a generated MS word

I am trying to insert an image in a generated MS word file. I am using css
to generate the file. 

Thanks,

AB




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


RE: Insert an image in a generated MS word

2006-12-19 Thread Snake
Sorry I thought u were doing the reverse and working with a MS word file and
trying to extract the image.
 

-Original Message-
From: ibs [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 23:35
To: CF-Talk
Subject: RE: Insert an image in a generated MS word

What do you mean by parsing the binary image file? I am creating the MS word
file by inserting p elements. 

AB 

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 19, 2006 6:32 PM
To: CF-Talk
Subject: RE: Insert an image in a generated MS word

You would need to parse the binary file and extract the image data.
If your trying to do this for CMS purposes, there is an editor caleld 
Xstandard that doe sthis as default.

Russ

-Original Message-
From: ibs [mailto:[EMAIL PROTECTED]
Sent: 19 December 2006 23:27
To: CF-Talk
Subject: Insert an image in a generated MS word

I am trying to insert an image in a generated MS word file. I am using 
css to generate the file.

Thanks,

AB








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


RE: Web services being called by non cf source

2006-12-19 Thread Snake
Alas fusion debug wont help me here as it is a VB application.
The web service is returning nothing to the app, no response at all. Neithe
rthe VB app or the web service has been changed, which is the odd thing, yet
the problem occurs on both dev and live servers.

Russ 

-Original Message-
From: Andrew Scott [mailto:[EMAIL PROTECTED] 
Sent: 19 December 2006 23:48
To: CF-Talk
Subject: RE: Web services being called by non cf source

What version of CF are you running?

If you are not running cfmx 7.02 I would highly suggest doing that, as there
was a bug fixed in webservices in one of the hotfixes regarding case
sensitivity.

Now if that is all fine, I would suggest you install this toolbar and
FusionDebug and place a break point in the application and step through the
code and see if it is running as expected.

Other than this there is also a web page out there that does tell you what
you need to do when returning different types of variables, structs etc for
other soap related programs.

Natively CF returns a different style of xml called WDDX, so the only
solution here would be to check the wsdl and see if the webservice is
returning the correct style of wsdl?

There might be another reason, but the stepping through the code with
Fusiondebug would be the best bet, because the client might be sending
information or not sending the right information or even expecting something
different when being returned, which the wsdl and stepping through the code
would  or might pick up

HTH


Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273




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


RE: A very unusual HTTP 500 Null Error

2006-12-19 Thread Snake
IIS6 also has a max size of form posts as well. 

-Original Message-
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: 20 December 2006 00:00
To: CF-Talk
Subject: Re: A very unusual HTTP 500 Null Error

 There seems to be some form size limitation in the latest release of 
 CFMX that is causing this error.

I suppose you've played around with the Maximum size of post data setting
in CF admin to no avail?  Although I think it defaults to 100MB, you'd have
to have some HUGE posts to cross that threshhold.

Maybe it's just not expecting unbroken strings such as the ones you posted. 
What is your implementation that requires such long strings in input fields?

-- Josh 




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


RE: Passing file from form to CFC

2006-12-18 Thread Snake
Mike,
That only exists after you have used CFFILE to save the file to the server.
Adrian is referring to the form field that holds the initial file upload,
which his CFC is presumably going to do the CFFILE process for.

It is actually a binary file, for which there is no argument type, so try
ANY.

Russ 

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 04:49
To: CF-Talk
Subject: Re: Passing file from form to CFC

The upload process creates a struct called File containing a whole bunch of
information about the file you just uploaded, and what teh
upload process did with it.file size,   renamed or not,  location,
file type stuff like that.you can pass the whole struct in a
single swoop to the CFC if you like by:

cfinvoke ...
  cfinvokeargument name=filestruct value=#file# /cfinvoke

OR alternatively you can pass the bits of the struct you need in your CFC
like this:

  cfinvokeargument name=filename value=#file.servername#
  cfinvokeargument name=filesize value=#file.filesize#

You can have a look at the kind of information that's in teh file struct by
doing a CFDUMP as in:

cfdump var=#file# label=FILE /  after the upload and see what it
contains.  You might be surprised at how much info is in there.

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


On 12/18/06, Adrian Wagner [EMAIL PROTECTED] wrote:
 Hello,

 I have a form from where the client can upload files to the site. I'm 
 a bit confused about the passing on of the form field to the component 
 here. A regular text field I'd pass on like this:

 cfinvoke ...
  cfinvokeargument name=imageName value=form.imageN /cfinvoke

 And in the cfc:

 cffunction ...
  cfargument name=imageName type=string /cffunction

 Now, there is no type 'file' for cfargument. What am I supposed to do 
 in that case? Or is the variable I'm refering to here just a string 
 anyhow, which refers to a file in the form scope?

 Would be glad about some enlightenment here.

 Adrian




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


RE: Still need help!! (Login cflocation)

2006-12-18 Thread Snake
Save the referer, and send them back to that.

Russ 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 13:57
To: CF-Talk
Subject: Still need help!! (Login  cflocation)

This is totally driving me nuts!! For those of you who missed my troubles, I
will go over it again. I have a page in the root of my site that requires a
user to login. My login page is located in a child directory and I am
needing to force the user back to the page they were originally looking for
prior to login. I cannot seem to be able to cflocation them from the child
folder back to the root folder where that page is at. I have tried the code
below, but it simply does not work, as it is sending them back to the
index.cfm of the current CHILD folder instead of the ROOT folder. I have
also tried setting the return url prior to login, but that simply sets the
login page as the last page in the CGI.SCRIPT_NAME. Has anybody handled this
problem before and may have a simple solution?



CFIF IsDefined(Session.RUserName)
 CFIF Session.RUserName is Guest
  CFPARAM name=attributes.thispage
default=#GetFileFromPath(GetTemplatePath())#
  CFPARAM name=attributes.querystring default=?
  CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING#
  CFSET thispage = attributes.thispage
  CFSET querystring = attributes.querystring
  CFSET variablestring = attributes.variablestring
  CFLOCATION
url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable
string# addtoken=no  /CFIF /CFIF




Doug



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


RE: Still need help!! (Login cflocation)

2006-12-18 Thread Snake
That is because you need to grab the information before you do the
cflocation not after.
So get the refer or the url, store it in a session or wherever then do the
cflocation.

Russ

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 14:37
To: CF-Talk
Subject: Re: Still need help!! (Login  cflocation)

That is not working. What happens is the user clicks a link for a page in
the root directory and if they are not logged in I cflocation them to the
login page. If I use the cgi.http_referrer it sets the last requested page
as the login page from the cflocation



Doug


- Original Message -
From: Snake [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Monday, December 18, 2006 7:17 AM
Subject: RE: Still need help!! (Login  cflocation)


 Save the referer, and send them back to that.

 Russ

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: 18 December 2006 13:57
 To: CF-Talk
 Subject: Still need help!! (Login  cflocation)

 This is totally driving me nuts!! For those of you who missed my 
 troubles,
I
 will go over it again. I have a page in the root of my site that 
 requires
a
 user to login. My login page is located in a child directory and I am 
 needing to force the user back to the page they were originally 
 looking
for
 prior to login. I cannot seem to be able to cflocation them from the
child
 folder back to the root folder where that page is at. I have tried the
code
 below, but it simply does not work, as it is sending them back to the 
 index.cfm of the current CHILD folder instead of the ROOT folder. 
 I
have
 also tried setting the return url prior to login, but that simply sets 
 the login page as the last page in the CGI.SCRIPT_NAME. Has anybody 
 handled
this
 problem before and may have a simple solution?



 CFIF IsDefined(Session.RUserName)
  CFIF Session.RUserName is Guest
   CFPARAM name=attributes.thispage
 default=#GetFileFromPath(GetTemplatePath())#
   CFPARAM name=attributes.querystring default=?
   CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING#
   CFSET thispage = attributes.thispage
   CFSET querystring = attributes.querystring
   CFSET variablestring = attributes.variablestring
   CFLOCATION

url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable
 string# addtoken=no  /CFIF /CFIF




 Doug



 



~|
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:264320
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-18 Thread Snake
Also in a real world environment you don't try and code from memory do you.
You refer to your books and documentation and lists like this one to get a
job done if you don't know how to do it. 

-Original Message-
From: Mike Chabot [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 14:56
To: CF-Talk
Subject: Re: Certification

You seem to be viewing Brainbench certs unfavorably because you can look up
answers in the manual as you take the test. The Brainbench tests are
intended to be open-book and the Adobe test is intended to be closed-book.
So the questions you see on a Brainbench test are much harder than the
questions on the Adobe test. Many of the questions cannot be answered
without looking up the answer. That is what you are being tested on. Can you
look up the correct answer or solve the problem within two minutes. It is
not testing how well you can memorize a study guide.

I would place a higher value on a vendor cert, but I would look favorably on
a Brainbench cert as well. The fact that someone took the time to get
certified is an indication that they are serious about their career and are
interested in professional growth.

-Mike Chabot

On 12/17/06, Nicholas M Tunney [EMAIL PROTECTED] wrote:
 In the staffing portion of my company, we do not pay any attention to 
 Brainbench certs.  You can look every answer up as you take the test.
 Many of our clients require the developers we send out to be CF 
 certified by Adobe.  Just my 2c.

 Robertson-Ravo, Neil (RX) wrote:
  Not really, as the fact they are worthless (not useless) is no doubt 
  the reason they do not take them.  In the professional world whether 
  you are ColdFusion certified or not means nada - certainly from what 
  I have seen in the UK.
 
  I mean, isn't it mostly multiple choice still?!
 
  The Brainbench is good as well a Snake noted. Perhaps better.
 
 
 
 
 
 
 
 
 
 
 
  This e-mail is from Reed Exhibitions (Gateway House, 28 The 
  Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of 
  Reed Business, Registered in England, Number 678540.  It contains 
  information which is confidential and may also be privileged.  It is 
  for the exclusive use of the intended recipient(s).  If you are not 
  the intended recipient(s) please note that any form of distribution, 
  copying or use of this communication or the information in it is 
  strictly prohibited and may be unlawful.  If you have received this 
  communication in error please return it to the sender or call our 
  switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
  Visit our website at http://www.reedexpo.com
 
  -Original Message-
  From: Larry Lyons
  To: CF-Talk
  Sent: Sat Dec 16 19:40:54 2006
  Subject: Re: Certification
 
 
  Agreed, the certs are pretty much worthless in the real world.
 
 
 
 
  This topic come up on a regular basis, almost once every 2 or 3 months.
 
  Ever notice that generally those who say the CFMX certification is 
  useless are those who boast that they don't have it?
 
  just a thought.
 
 
 
 

 



~|
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:264321
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-18 Thread Snake
Well I have to say that I know someone who passed the Macromedia
certification using random selection. He had never done a single line of
CFML in his life.

Russ

-Original Message-
From: Larry Lyons [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 15:38
To: CF-Talk
Subject: Re: Certification

 As for looking up the answer... As noted isn't the Adobe one multiple 
 choice still? where the answer is right in front of you on every Q! 
 As my old Physics teacher used to say, multiple choice is not a 
 test.. a monkey with a stick could get a pass by stroking the page 
 randomly...

Your old physics teacher could stand to brush up on instructional design.
Well-written multiple choice exams will not typically be passed by a 
monkey with a stick.


Given that most universities do not require their instructors or professors
to have any skills at teaching, I'm not surprised that he would have such an
opinion. A well designed multiple choice test cannot be passed by random
selection. Depending on the structure, even getting 25% using random
responses would be surprising.

regards,
larry



~|
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:264322
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-18 Thread Snake
Yes you can, you can view their results online. 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 18:59
To: CF-Talk
Subject: RE: Certification

 You seem to be viewing Brainbench certs unfavorably because you can 
 look up answers in the manual as you take the test.
 The Brainbench tests are intended to be open-book and the Adobe test 
 is intended to be closed-book. So the questions you see on a 
 Brainbench test are much harder than the questions on the Adobe test. 
 Many of the questions cannot be answered without looking up the 
 answer. That is what you are being tested on. Can you look up the 
 correct answer or solve the problem within two minutes. It is not 
 testing how well you can memorize a study guide.

Brainbench certifications are unproctored, so you can't even tell if the
applicant actually took it, can you?

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!



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


RE: Certification

2006-12-18 Thread Snake
The public transcript shows the persons name, all the tests they have done,
their scores, when they took the test etc.

Russ 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 19:31
To: CF-Talk
Subject: RE: Certification

Yes you can, you can view their results online. 

I believe Dave's point was that if you don't proctor the exam, you can tell
if the person who took the test is the one applying for the position.  Maybe
he got his really good friend Ben Forta or somebody to take the examine
for him.




--
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. 






~|
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:264347
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-18 Thread Snake
Well that much may be true, but if someone is idiotic enough to get someone
else to take the test for them, I don't think they are going to keep the job
very long.

Russ 

-Original Message-
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 20:07
To: CF-Talk
Subject: RE: Certification

The public transcript shows the persons name, all the tests they have done,
their scores, when they took the test etc.

Russ 

But there is NOT a webcam recording of the individual who was actually
sitting at the keyboard taking the exam under that person's login.  That is
the point of proctoring.  To make sure the person taking the test is who
they say they are, and are following in rules in place.




--
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. 






~|
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:264390
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-18 Thread Snake
No problem Dave, I'm a married man :-) 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 18 December 2006 20:57
To: CF-Talk
Subject: RE: Certification

 Yes you can, you can view their results online.

http://www.unc.edu/depts/jomc/academics/dri/idog.html

I strongly advise you to avoid online dating.

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!



~|
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:264391
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-17 Thread Snake
I have an online test I give candidates that has real world coding
questions, like

1. write a simple web service
2. write some SQL that does an inner join between the following tables
3. what is the error in the following code

And I can say that I have never once had someone who is certified get a good
score. The best scores I have had were from people who were not certified,
and were generally self taught and often didn't have a great deal of prior
experience.

Although to be fair, some employers do still put some merit on it, I do see
jobs asking for it now and then.
Its cheap enough to get certified, and it wont do you any harm, so you may
as well do it. But don't kid yourself into thinking your chances of getting
a great job with a higher salary will drastically improve having the cert or
you may be disapointed.
Eventually companies do figure out that it makes no difference if someone
has a cert, it generally doesn't make them any better then someone who
doesn't have it and doesn't help their interview process either, so I would
imagine they only ask for certs the first time they are interviewing and
don't know better.


Russ
 

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 17 December 2006 07:38
To: CF-Talk
Subject: Re: Certification

Not really, as the fact they are worthless (not useless) is no doubt the
reason they do not take them.  In the professional world whether you are
ColdFusion certified or not means nada - certainly from what I have seen in
the UK.

I mean, isn't it mostly multiple choice still?! 

The Brainbench is good as well a Snake noted. Perhaps better.











This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Larry Lyons
To: CF-Talk
Sent: Sat Dec 16 19:40:54 2006
Subject: Re: Certification

Agreed, the certs are pretty much worthless in the real world.



This topic come up on a regular basis, almost once every 2 or 3 months.

Ever notice that generally those who say the CFMX certification is useless
are those who boast that they don't have it?

just a thought.





~|
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:264256
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-17 Thread Snake
If you email me offline I'll send you a copy.

Russ

-Original Message-
From: DURETTE, STEVEN J (ASI-AIT) [mailto:[EMAIL PROTECTED] 
Sent: 17 December 2006 12:04
To: CF-Talk
Subject: RE: Certification

Russ,

You want to share that test?  We've had many times where we needed to hire a
contractor and when they got here even though they interviewed well and had
good cf resumes, the didn't know the even the simple things.

It seems a lot of temp agencies (for lack of a better term) coach their
contractors on how to bs their way in.

Steve


-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 17, 2006 6:00 AM
To: CF-Talk
Subject: RE: Certification


I have an online test I give candidates that has real world coding
questions, like

1. write a simple web service
2. write some SQL that does an inner join between the following tables
3. what is the error in the following code

And I can say that I have never once had someone who is certified get a
good
score. The best scores I have had were from people who were not
certified,
and were generally self taught and often didn't have a great deal of
prior
experience.

Although to be fair, some employers do still put some merit on it, I do
see
jobs asking for it now and then.
Its cheap enough to get certified, and it wont do you any harm, so you
may
as well do it. But don't kid yourself into thinking your chances of
getting
a great job with a higher salary will drastically improve having the
cert or
you may be disapointed.
Eventually companies do figure out that it makes no difference if
someone
has a cert, it generally doesn't make them any better then someone who
doesn't have it and doesn't help their interview process either, so I
would
imagine they only ask for certs the first time they are interviewing and
don't know better.


Russ
 

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 17 December 2006 07:38
To: CF-Talk
Subject: Re: Certification

Not really, as the fact they are worthless (not useless) is no doubt the
reason they do not take them.  In the professional world whether you are
ColdFusion certified or not means nada - certainly from what I have seen
in
the UK.

I mean, isn't it mostly multiple choice still?! 

The Brainbench is good as well a Snake noted. Perhaps better.











This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of
the
intended recipient(s).  If you are not the intended recipient(s) please
note
that any form of distribution, copying or use of this communication or
the
information in it is strictly prohibited and may be unlawful.  If you
have
received this communication in error please return it to the sender or
call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within
this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Larry Lyons
To: CF-Talk
Sent: Sat Dec 16 19:40:54 2006
Subject: Re: Certification

Agreed, the certs are pretty much worthless in the real world.



This topic come up on a regular basis, almost once every 2 or 3 months.

Ever notice that generally those who say the CFMX certification is
useless
are those who boast that they don't have it?

just a thought.









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


RE: interviews (was Certification)

2006-12-17 Thread Snake
Interviews can be quite tricky.  I generally find that employers really
don't know what questions to ask to find out if a candidate knows their
stuff.
Usually the questions are very open ended, such as what do you think of OOP
or Frameworks, rather than give me an example of OOP using CFML or tell me
what makes a framework.
This often stems from the fact there there is no-one else within the company
with the required skills to determine if the people they are interviewing
have the required skills. 
Which makes the interviewee look bad because he isn't given the opportunity
to show how good he is.
Bit of a catch-22 that one.

One of the services I provide as a consultant, is that I will shortlist
candidates and do the testing and interviewing for them.
Generally I don't put too much stock in peoples CV's as lots of experience
may not mean their good, and lack of experience may not mean their bad, and
some people are just crap at writing CV's. Thus why I generally get everyone
to take the online test to determine their CF/SQL/HTML/CSS skills. The
interview is then to determine theie social skills, interaction,
personality, how they deal with stress, problem solving etc.

I will prepare an interview according to the role and job requirements,
creating real scenarios and seeing how the candidate deals with them. I.E.
provide them with a problem and ask them how they would deal with it.
Provide them with a coding problem  and ask them how they would approach it
and solve it.

--
Russ Michaels



-Original Message-
From: DURETTE, STEVEN J (ASI-AIT) [mailto:[EMAIL PROTECTED] 
Sent: 17 December 2006 12:04
To: CF-Talk
Subject: RE: Certification

Russ,

You want to share that test?  We've had many times where we needed to hire a
contractor and when they got here even though they interviewed well and had
good cf resumes, the didn't know the even the simple things.

It seems a lot of temp agencies (for lack of a better term) coach their
contractors on how to bs their way in.

Steve




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


RE: Login page and cflocation

2006-12-17 Thread Snake
Why not save the refer on the login page, and redirect to it after login.
 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 17 December 2006 18:42
To: CF-Talk
Subject: Login page and cflocation

I am needing to send a user back to the page they were previously at prior
to login, and I have a small problem. Below is the code I am using to send
the user back, but it will not work properly. What happens is that a user
views a page that is in the root directory of the site and when they hit a
page that requires login, they are sent one directory down to the login. I
cannot seem to be able to relocate them back to the root folder after login.

Dir Structure

ROOT
Page that needs login
DIRECTORY_1
Login_page


CFIF IsDefined(Session.RUserName)
 CFIF Session.RUserName is Guest
  CFPARAM name=attributes.thispage
default=#GetFileFromPath(GetTemplatePath())#
  CFPARAM name=attributes.querystring default=?
  CFPARAM name=attributes.variablestring default=#CGI.QUERY_STRING#
  CFSET thispage = attributes.thispage
  CFSET querystring = attributes.querystring
  CFSET variablestring = attributes.variablestring
  CFLOCATION
url=index.cfm?page=loginrequested=#thispage##querystring#string=#variable
string# addtoken=no  /CFIF /CFIF



Any help is appreciated!!


Doug





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


RE: Certification

2006-12-16 Thread Snake
If you just want a cert to put on your CV to show off to employers and
bolster your ego try www.brainbench.com
Their CF certification is about the same, and your score will be
listed/ranked as well, so you can even boast about your ranking if you like.

--
Russ Michaels
In the top 3 coldfusion developers in the UK according to brainbench.com :-)


-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: 16 December 2006 08:08
To: CF-Talk
Subject: Re: Certification

I think that is the point. It really doesn't mean a whole lot, and it should
not be an indicator of how much you know (or do not), as Snake noted, it is
not exactly a test, not like we took at Uni! I think if you took it now you
would pass no worries.

If I were were you, I would save your money.






This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions. 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Neil Middleton
To: CF-Talk
Sent: Sat Dec 16 01:51:20 2006
Subject: Re: Certification

To be honest, I am looking at certification mainly because it's a nice easy
way of showing you aren't just mentioning it on your CV, but you do have at
least a decent understanding of the topic.  Something that people (esp
contractors) my find quite useful to have.

Neil

On 12/15/06, Snake [EMAIL PROTECTED] wrote:

 Maybe for some people.


 -Original Message-
 From: Michael Traher [mailto:[EMAIL PROTECTED]
 Sent: 15 December 2006 23:18
 To: CF-Talk
 Subject: Re: Certification

 to improve your skills and knowledge perhaps?

 The process of preparing for the test forces you to look into all the 
 nooks and crannies of CF.

 I actually think its a good thing to do when you are first learning CF 
 or maybe have 1 or 2 years under your belt.

 On 12/15/06, Snake [EMAIL PROTECTED] wrote:
 
  snip
 
  If you can't pass the test with your existing skills and knowledge, 
  then what is the point in doing it?
 
 
 
 




 





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


RE: website thumbnail

2006-12-15 Thread Snake
http://www.websitescreenshots.com/

You could use this via cfexecute.

Russ 

-Original Message-
From: Richard Cooper [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 13:48
To: CF-Talk
Subject: website thumbnail

Is there any way of dynamically making thumbshots of websites using MX 7?



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


RE: Certification

2006-12-15 Thread Snake
Make sure you know how to write CFML.

You could cheat like most people do and use the certification study guide. 
I personally don't think the certification is worth the paper it is printed
on. I know several people who got Advanced ColdFusion developers
certifications, when in reality they are nothing of the sort.

Russ 

-Original Message-
From: Neil Middleton [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 15:36
To: CF-Talk
Subject: Certification

Does anyone have any opinions on the best ways to prepare for the CFMX
certification exams?

--
Neil Middleton

Visit feed-squirrel.com




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


RE: Coldfusion salaries - Nashville, TN

2006-12-15 Thread Snake
I have always been offered salaries greater than I was expecting plus all
the extras and bonuses from the outset, so never really had to negotiate
much.
It all very much depends on what sort of impression you make on an employer.
If they think you're the best thing since sliced bread, then they will do
whatever they can to get you working for them.
If your not very self confident then your probably gonna have to start at
the bottom and fight your way up.

Russ

-Original Message-
From: Steve Brownlee [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 16:32
To: CF-Talk
Subject: RE: Coldfusion salaries - Nashville, TN

My first mother-in-law was a top-notch, nationally recognized professional
coach and she taught me a few things about interviews and jobs that have
served my very well over the years.

1.  Companies can always afford to pay you more than they offer you.
2.  Always counter-offer their proposed salary. It's expected, even if they
say no.
3.  If they give you the first opportunity to say what salary you are
expecting, they are unwittingly giving you a position of strength.  Take the
number you would expect to get for this position and add $15,000 dollars.
It's a fantastic place to start negotiations from.

Now, these are very hard steps to take.  These are skills that we are not
born with and we've been indoctrinated during our entire lives to not
negotiate when it comes to salaries as it might come across as greedy.  Your
first attempt at negoating will be very uncomfortable.
Try practicing it with a family member or a friend, just to get comfortable
with the conversation.

The company wants to offer you as little as possible for your skills, and
you should be asking for the most amount possible for your skills.
More often than not, a compromise that makes both parties happy occurs.

Good luck!


Steve Brownlee
http://www.fusioncube.net/


-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 14, 2006 7:17 PM
To: CF-Talk
Subject: Coldfusion salaries - Nashville, TN

Hey everyone...

I've been offered a position with a company here in Nashville, TN.
Everything that I've seen so far about the offer sounds great, including the
pay. I just wanted to ask a a few general questions because I don't like
talking about money.

1) Should I take the first offer they make? Should I counteroffer for the
sake of counteroffering?

2) Where can I go to find real-world salaries? I checked Salary.com but
their listings for my area seem really high.

Thanks in advance everyone.



~|
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:264145
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 Snake
But that's really what the exam is, it tests how many tags and functions you
know. There is very little else to it.

-Original Message-
From: Doug Bezona [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 19:57
To: CF-Talk
Subject: RE: Certification

 I'd have to say if a developer needs to take an exam to learn new
features
 then
 perhaps they aren't a very good developer.

Or perhaps the work they are doing simply doesn't expose them to some of the
more esoteric functions of the language that the exam likely covers.

Being a good developer has less to do with having memorized every last tag,
function and feature, and much more with how that knowledge is applied to
solve a problem. I can always look in the docs to get an answer to a syntax
question, but the docs don't tell me how to use it to solve the particular
problem in front of me - that's where experience and skill comes in.

Exams, however, by their nature, tend to be more about reciting syntax and
knowing the language in a broad fashion, rather than a deep one. 

So I can see how brushing up for an exam might give me more than a few a
ha! moments as I cover aspects of the language I simply haven't had a real
world use for, and it's useful information, but whether I knew it or not
before hand has little bearing on how well I write software.








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


RE: Certification

2006-12-15 Thread Snake
The study guide is basically a how to pass the certification book.
You wouldn't be allowed to use such a book to pass your school exams, they
would certainly call that cheating.
I did not do any preperation for my test or use a study guide, in fact I
took it with a hangover, and I still managed to pass.
If you can't pass the test with your existing skills and knowledge, then
what is the point in doing it?

Russ

-Original Message-
From: Brian Rinaldi [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 18:52
To: CF-Talk
Subject: Re: Certification

I would like to make the point that the certs are not worthless - they
answer the question as to your knowledge for 90% of the interviews you will
take...you will rarely get anyone outright questioning your knowledge of CF
if you have the advanced certification. I haven't gotten the 7 cert myself
yet, but I have other things on my resume that fill that gap on my resume in
terms of providing proof of my CF knowledge.

I am also going to take serious issue with the concept that preparing for an
exam is cheating. That is a seriously bone-headed comment. This exam is like
any other exam and warrants preparation if you actually take it
seriously...if you don't take it seriously, then don't prepare take your
chances, but one would ask, why even bother taking it if you don't take the
exam seriously enough to prepare.

P.S. Back when I took the exam for 5 and 6, I used the cfexambuster and it
was excellent.

- Brian Rinaldi
blog - http://www.remotesynthesis.com/blog
CF Open Source List - http://www.remotesynthesis.com/cfopensourcelist



~|
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:264216
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 Snake
Erm no, haven't you ready any books before ?

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 22:30
To: CF-Talk
Subject: RE: Certification

By your definition, any textbook would be considered a how to pass a test
manual right?

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

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, December 15, 2006 4:21 PM
To: CF-Talk
Subject: RE: Certification


The study guide is basically a how to pass the certification book.
You wouldn't be allowed to use such a book to pass your school exams, they
would certainly call that cheating.
I did not do any preperation for my test or use a study guide, in fact I
took it with a hangover, and I still managed to pass.
If you can't pass the test with your existing skills and knowledge, then
what is the point in doing it?

Russ




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


RE: Certification

2006-12-15 Thread Snake
Maybe for some people.


-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 23:18
To: CF-Talk
Subject: Re: Certification

to improve your skills and knowledge perhaps?

The process of preparing for the test forces you to look into all the nooks
and crannies of CF.

I actually think its a good thing to do when you are first learning CF or
maybe have 1 or 2 years under your belt.

On 12/15/06, Snake [EMAIL PROTECTED] wrote:

 snip

 If you can't pass the test with your existing skills and knowledge, 
 then what is the point in doing it?








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


RE: MX 6.1 Admin Password

2006-12-14 Thread Snake
Never seen that before, I checke dmy install, and just checking the box
doesn't do antyhing, you do have to submit the form.

You could try typing the password before checking the box.

Russ

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 14 December 2006 02:37
To: CF-Talk
Subject: MX 6.1 Admin Password

I'm kind of stuck with an admin password.  I lost the password so I went
into neo-security.xml to turn of the password.  But when I go back in and
try to enable it through the admin it throws me to a logon screen as soon as
I click the enable password checkbox.  I haven't reset the password yet so I
can't get back in.  I cycle CF service and the admin starts again w/o a
password.  Anybody have any ideas how to get the password to stick?



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


RE: ImageCFC 2.10 Now Available

2006-12-14 Thread Snake
Couldn't you use JAVA to do it instead of CF, I think ImageMagick uses the
underlying Java Image manipulation methods, maybe you could take a look and
see how they do it.

Russ

-Original Message-
From: Rick Root [mailto:[EMAIL PROTECTED] 
Sent: 14 December 2006 15:19
To: CF-Talk
Subject: Re: ImageCFC 2.10 Now Available

Andy Matthews wrote:
 Word to your mom Rick! I was hoping you'd get that in there.

The gaussian and box blurs are nearly unusable because of the speed. 
Coldfusion just can't handle doing that much math.

For example, in the gaussian blur to do an image of 400x300, you're
dealing with 120,000 pixels.  If your radius is 5, then you're grabbing the
RGB values of the nearest 5 pixels and applying a normal distribution to
compute the new RGB value of the center pixel.  so that's 600,000
iterations.

And then you have to do it again for the vertical pass.

1.2 million iterations ...

I just did some performance testing and I've discovered that doing my RGB
separation calcs in a UDF is a *BAD* idea.

I just modified the gaussianFilter.cfc to *NOT* use the separateRGB() udf
and cut the processing time for an image from 96 to 77 seconds. 
It's still ridiculously slow, but that's still a 20% performance
improvement.  I guess there's a little overheard hitting a UDF 1.2 million
times.

I'm going to update the box blur too... and maybe also develop an object
oriented interface to imagecfc

cfscript
objImage = createObject(component,imageObject);
objImage.init(C:\Inetpub\wwwroot\myimage.gif);
objImage.resize(400,300);
objImage.addText(fontDetails,Sample Text); objImage.save(compression=95);
objImage.saveAs(filename=C:\Inetpub\wwwroot\myimage.gif,compression=95);
cfscript

I think it might simplify use... but I don't want to mess with the main CFC.

Sure would be nice if Coldfusion allowed multiple methods with the same name
and different argument types, like java does...

ooImage.init(filename); // initialize from a file ooImage.init(400,300); //
initialize a blank image ooImage.init(bufferedImage); //initialize with a
bufferedImage object

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


RE: Coldfusion salaries - Nashville, TN

2006-12-14 Thread Snake
If your happy with what they are offering, why rock the boat. 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: 15 December 2006 00:17
To: CF-Talk
Subject: Coldfusion salaries - Nashville, TN

Hey everyone...

I've been offered a position with a company here in Nashville, TN.
Everything that I've seen so far about the offer sounds great, including the
pay. I just wanted to ask a a few general questions because I don't like
talking about money.

1) Should I take the first offer they make? Should I counteroffer for the
sake of counteroffering?

2) Where can I go to find real-world salaries? I checked Salary.com but
their listings for my area seem really high.

Thanks in advance everyone.



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


File upload max size

2006-12-12 Thread Snake
Someone was asking recently how you can limit the size of uploaded files,
well I just came across this.

http://www.cftagstore.com/tags/flashmultipleupload.cfm

Russ



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


RE: Coldfusion roadmap

2006-12-12 Thread Snake
And there are lots of alternative CFML application servers out there to take
its place, such as BlueDragon, Railo, IgniteFusion etc.

Russ 

-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED] 
Sent: 12 December 2006 21:28
To: CF-Talk
Subject: Re: Coldfusion roadmap

This whole thing really gets me pissed off.

EVEN supposing Adobe decided they dont want ColdFusion (which i dont think
they have)  there would still be LOTs of coldfusion sites that need work,
and they would far more likely to sell ColdFusion to someone else as a going
business than just shut it down.

So there's no chance we'll suddenly find ourselves out of a job.  EVEN if
coldfusion came to the EOL, ther would still be work for years to come
afterwards.


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


On 12/13/06, Robertson-Ravo, Neil (RX)
[EMAIL PROTECTED] wrote:
 Uh oh, here it goes again! The ever present EOL stuff..

 Let's just say, ColdFusion is alive and well.. With a major new 
 version out next year.






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


RE: Paypal's IPN

2006-12-11 Thread Snake
Have u seen the tutorial for this at easycfm.com ?

Russ 

-Original Message-
From: Torrent Girl [mailto:[EMAIL PROTECTED] 
Sent: 11 December 2006 00:12
To: CF-Talk
Subject: Re: Paypal's IPN

No I just want add a record of the payment to my DB and then send the payer
an email.



Do you want to have realtime processing?

I would suggest PayPals Payflow Pro, its really easy to get going.

Also another one I like is authorize.net.

On 12/10/06, Torrent Girl [EMAIL PROTECTED] wrote:




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


RE: What's the name of that CF server...

2006-12-11 Thread Snake
There are a huuuge number of people out there using cf who don't use CFC's
Only the more advanced developers have jumped on cfc's, the average joe who
uses CFML doesn't really have any need for them nor does he want to learn
them.
And let be honest, CFML is still a great language without them, and most
common tasks can be done without them. They are really there for people who
want more of a programming language and want CF to do OO.

Russ
 

-Original Message-
From: Christopher Jordan [mailto:[EMAIL PROTECTED] 
Sent: 11 December 2006 19:16
To: CF-Talk
Subject: Re: What's the name of that CF server...

Smith looks cool, but (last time I checked) it doesn't support CFCs! 
Yikes. I would love to see it go open source and all that, but I wouldn't
use it until it supports CFCs. I believe there were some other features it
didn't support, that I thought were essential, but they escape me at this
time.

On their website, they said that they'd look at supporting CFCs if there was
enough interest, but I don't see how anyone would get behind the thing if it
didn't support CFCs.

I'd be interested to hear if anyone else has any different experience with
Smith.

Cheers,
Chris

Rick Faircloth wrote:
 Anybody using Smith?


 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 11, 2006 1:44 PM
 To: CF-Talk
 Subject: RE: What's the name of that CF server...

 There's Railo and Smith, along with Blue Dragon.

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




 



~|
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:263653
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 Dedicated hosting

2006-12-11 Thread Snake
If your in the UK, I can suggest cfmxhosting.co.uk :-)
 

-Original Message-
From: Nick Gleason [mailto:[EMAIL PROTECTED] 
Sent: 11 December 2006 20:55
To: CF-Talk
Subject: RE: CF Dedicated hosting

Hey there.  We've had good experiences with CF Dynamics for Dedicated
hosting.  Feel free to contact Jason Egan there - [EMAIL PROTECTED]

Best,

Nick


.
..
...
 
Nick Gleason | CitySoft, Inc. | http://www.citysoft.com
 
Direct: (617) 899-5395 | Fax: (617) 507-0444

 
Spend Less  Do More - Community Enterprise combines great features with an
affordable price. 
.
..
...

-Original Message-
From: Mehdi, Agha [mailto:[EMAIL PROTECTED]
Sent: Monday, December 11, 2006 2:36 PM
To: CF-Talk
Subject: CF Dedicated hosting

All,

I am looking for recommendations on a hosting provider for dedicated CF 7.0
enabled server. My budget is roughly $200/month +- $50. I am hoping
something that can support at least 25k-50k hits and outgoing emails a day.
Access to CF admin is the most important feature with the ability to host
multiple instances.

Any help will be greatly appreciated.

Thanks

Agha Mehdi
IDT - eBusiness Program Manager
Work: 408.284.8239
Cell  : 510.493.0491
Fax  :  408.284.2766







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


RE: Datasources case-sensitive?

2006-12-09 Thread Snake
Yes I have been on the receiving end of lots of abuse for that one when the
client was just blaming our servers. Took me a while realise what the
problem was.


Russ 

-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED] 
Sent: 09 December 2006 19:15
To: CF-Talk
Subject: Re: Datasources case-sensitive?

Ran into the exact same thing at my CT shared hosting. My development
machine would work fine... then run a query up on the server, kaboom!

Will



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


RE: ERROR.Template gives main .cfm file. How to the included one.

2006-12-08 Thread Snake
This information is actually included in the error details.
If you using a try/catch, just do a CFDUMP var=#cfcatch# and you will dee
the details your looking for.

Russ 

-Original Message-
From: Archie Campbell [mailto:[EMAIL PROTECTED] 
Sent: 09 December 2006 01:22
To: CF-Talk
Subject: ERROR.Template gives main .cfm file. How to the included one.

In a CF7 app, I display an error message that gives the line number of the
error and the main template in which the error occurred.

Fine if the error occurred in the main template.
But what if it occurred in a file that was cfinclude 'd by the main
template.

Is there a way to display the name of the included template, the file that
the line number actually relates to?

Thanks

Archie Campbell



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


RE: Anyone familiar witht the CF_TwoSelectsRelated custom tag?

2006-12-07 Thread Snake
These days your better off using AJAX to achieve the result of multiple
related select lists.
Its going to be a lot faster if your dealing with large amounts of data not
to mention reducing loading time.

Russ 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 07 December 2006 18:05
To: CF-Talk
Subject: Re: Anyone familiar witht the CF_TwoSelectsRelated custom tag?

Maybe...and I cannot remember everything about it. In your twoSelects custom
tag you should have the select that you want to get the information from. In
that select try..

select language=javascript name=select1 onChange=text.value =
select1.value option value=test1Test1/option option
value=test2Test2/option option value=test3Test3/option option
value=test4Test4/option /select


input type=text name=text

- Original Message -
From: Che Vilnonis [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, December 07, 2006 10:30 AM
Subject: Anyone familiar witht the CF_TwoSelectsRelated custom tag?


 I ask because I would like to populate a text box named Genus with the
 value that is selected from the custom tag value named
SelectedCatLevel2.
 Does anyone know how I might do this? Traditional JS calls don't seem to
 work.

 Thanks, Che.

 CF_TwoSelectsRelated
 QUERY=TwoSelects
 NAME1=SelectedCatLevel2
 NAME2=SelectedCatLevel3
 DISPLAY1=CL2Title
 DISPLAY2=CL3Title
 VALUE1=CL2ID
 VALUE2=CL3ID
 SIZE1=1
 SIZE2=1
 EMPTYTEXT1=Please Choose
 MESSAGE1=You must select a Level 2 Category.
 HTMLBETWEEN=nbsp;nbsp;CATLEVEL 3:nbsp;
 AUTOSELECTFIRST=No
 FORMNAME=FormX


 



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


RE: Anyone familiar with the CF_TwoSelectsRelated custom tag?

2006-12-07 Thread Snake
If your only talking about a select list with a few options then yes.
But if your preloading js arrays with hundreds of options this will result
in quite a hefty page. Try it, and then check the size of the resulting HTML
page.
Also using ajax it is very easy to expand to ANY number of related select
lists. Doing this by pre-generating and populating js arrays will get more
and more complicated and make the page bigger and bigger and slower to
render.

Russ

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: 07 December 2006 19:58
To: CF-Talk
Subject: RE: Anyone familiar with the CF_TwoSelectsRelated custom tag?

 These days your better off using AJAX to achieve the result of 
 multiple related select lists.
 Its going to be a lot faster if your dealing with large amounts of 
 data not to mention reducing loading time.

E... I don't think I'd totally agree with that. One load versus a load
every time you make a selection. If it's all client side and in js arrays
already, the changes would be much faster than an asynchronous call to
another process to get the info.

This all, of course, depends on how MUCH data we are talking about though.
You don't want to overload a JS array on a windows 95 machine running IE 4.5
and 64 megs of ram ;-)

As for the question. You can roll your own selects related or you could
modify the onchange event of the twoselectsrelated's generated select with
something like...

document.forms['myformname'].myselctname.setAttribute('oncchange',
'callAFunciton()');

I'm sure I typoed something, just look up the setAttribute() method. You
would want to call the above code AFTER the two selects have been rendered
to the page.

setAttributes DOES work in IE as well as FF regardless of what you read.
There are just some attributes that it doesn't work very well with. I
haven't found a definitive list of them anywhere, you'll just have to try it
and see.

Personally, id write my own from scratch. You should be able to find enough
code on Google to piece something together.

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

 


-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 2:00 PM
To: CF-Talk
Subject: RE: Anyone familiar witht the CF_TwoSelectsRelated custom tag?

These days your better off using AJAX to achieve the result of multiple
related select lists.
Its going to be a lot faster if your dealing with large amounts of data not
to mention reducing loading time.

Russ 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED]
Sent: 07 December 2006 18:05
To: CF-Talk
Subject: Re: Anyone familiar witht the CF_TwoSelectsRelated custom tag?

Maybe...and I cannot remember everything about it. In your twoSelects custom
tag you should have the select that you want to get the information from. In
that select try..

select language=javascript name=select1 onChange=text.value =
select1.value option value=test1Test1/option option
value=test2Test2/option option value=test3Test3/option option
value=test4Test4/option /select


input type=text name=text

- Original Message -
From: Che Vilnonis [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, December 07, 2006 10:30 AM
Subject: Anyone familiar witht the CF_TwoSelectsRelated custom tag?


 I ask because I would like to populate a text box named Genus with 
 the value that is selected from the custom tag value named
SelectedCatLevel2.
 Does anyone know how I might do this? Traditional JS calls don't seem 
 to work.

 Thanks, Che.

 CF_TwoSelectsRelated
 QUERY=TwoSelects
 NAME1=SelectedCatLevel2
 NAME2=SelectedCatLevel3
 DISPLAY1=CL2Title
 DISPLAY2=CL3Title
 VALUE1=CL2ID
 VALUE2=CL3ID
 SIZE1=1
 SIZE2=1
 EMPTYTEXT1=Please Choose
 MESSAGE1=You must select a Level 2 Category.
 HTMLBETWEEN=nbsp;nbsp;CATLEVEL 3:nbsp;
 AUTOSELECTFIRST=No
 FORMNAME=FormX


 







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


RE: Free Coldfusion Hosting that lets me connect to MS Access Database

2006-12-07 Thread Snake
If this is non commerical you can use my FREE developer hosting at
www.cfdeveloper.co.uk

Russ



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


RE: How do they do that?

2006-12-06 Thread Snake
How does Jquery compare to SPRY ? 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: 06 December 2006 14:23
To: CF-Talk
Subject: RE: How do they do that?

But the YUI libraries are HUGE in file size. Upwards of 130k for all of your
functionality.

Go with jQuery and the Interface library. jQuery is currently running around
18k and the interface library probably isn't much larger (if it's larger at
all).

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

-Original Message-
From: Dan Vega [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 05, 2006 7:07 PM
To: CF-Talk
Subject: Re: How do they do that?


The yahoo yui is really easy to use

http://developer.yahoo.com/yui/dragdrop/

On 12/5/06, Michael E. Carluen [EMAIL PROTECTED] wrote:

 You mean something like this?

 http://interface.eyecon.ro/demos/drag.html  (jQuery) 
 http://www.indiankey.com/mxajax/examples/mxSlushBox1.cfm (mxAjax) 
 http://demo.script.aculo.us/shop



  -Original Message-
  From: Doug Brown [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, December 05, 2006 4:51 PM
  To: CF-Talk
  Subject: OT: How do they do that?
 
  I have always wondered how google makes it to where you can sort the 
  content on their page. IE: drag and drop content to where you want 
  it? I tried to view their souce and cannot do it and you cannot save 
  the page either. Hmmm any ideas?
 
 
 
  Doug
 
 
 
 







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


RE: Any way to limit file upload size?

2006-12-06 Thread Snake
Yes, someone already posted one 

-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: 06 December 2006 16:04
To: CF-Talk
Subject: Re: Any way to limit file upload size?

Aren't there Flash solutions for smart/multiple file uploads. That would be
fairly palatable for most users.

Greg

On 12/6/06, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:

 You could potentially do it with JS, but that is obviously easily 
 bypassed and may not work on all browsers.









 This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, 
 Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed 
 Business, Registered in England, Number 678540.  It contains 
 information which is confidential and may also be privileged.  It is 
 for the exclusive use of the intended recipient(s).  If you are not 
 the intended recipient(s) please note that any form of distribution, 
 copying or use of this communication or the information in it is 
 strictly prohibited and may be unlawful.  If you have received this 
 communication in error please return it to the sender or call our 
 switchboard on +44 (0) 20 89107910.  The opinions expressed within 
 this communication are not necessarily those expressed by Reed 
 Exhibitions.
 Visit our website at http://www.reedexpo.com

 -Original Message-
 From: Ben Nadel
 To: CF-Talk
 Sent: Tue Dec 05 15:42:31 2006
 Subject: RE: Any way to limit file upload size?

 I am not sure if the content_length is available until the file is 
 actually uploaded. I could be wrong on that though.


 ...
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer www.bennadel.com

 Need ColdFusion Help?
 www.bennadel.com/ask-ben/

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 05, 2006 10:39 AM
 To: CF-Talk
 Subject: Re: Any way to limit file upload size?

 What about something like so. Am I way off? It checks before the image 
 is uploaded.


 page_1.cfm

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html
 head
 meta http-equiv=Content-Type content=text/html; 
 charset=iso-8859-1 titleUntitled Document/title /head

 body
 form action=page_1.cfm method=post enctype=multipart/form-data 
 input type=file name=test1 input type=submit 
 name=submitThis /form


 cfset allowedFileSize = 1000
 cfif isDefined(form.submitThis)
 cfoutput
 cfif cgi.content_length gt #Val(allowedFileSize)# Error your file 
 is way to bigbr /cfif Your file size was: #cgi.CONTENT_LENGTH# 
 and the allowed size was #allowedFileSize# /cfoutput /cfif

 /body
 /html




 Doug





 - Original Message -
 From: Snake [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Tuesday, December 05, 2006 7:06 AM
 Subject: RE: Any way to limit file upload size?


  There is a setting in IIS to limit the size of form posts. But I 
  can't
 find
  it for the life of me.
 
 
  -Original Message-
  From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
  Sent: 05 December 2006 13:29
  To: CF-Talk
  Subject: Any way to limit file upload size?
 
  Hi
  Is there any way in CF or IIS to limit the allowed file size for a
 form
 with
  a file attached?
 
  I have a situation where someone might accidentally upload a huge 
  file
 when
  all we want is a sample file.  I would want to avoid not only 
  creating
 a
  huge temp file but also all of the bandwidth needed to send the file
 to
 the
  server.
 
  Thanks
  Mark
 
 
 
 





 



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


RE: getSessionList.cfm UDF

2006-12-05 Thread Snake
Just a general warning that you can do things like this on a shared host, as
most people don't realise, and yes to say that find a host that has CF
properly secured (yes like us). A Lot of people want everything enabled and
don't really consider the consequences.
And even with a secured server, some things (like CFDUMP) will still work
and allow you to do things like the below.

Personally I now store all my private data in request scope and not
application variables for this reason.

Russ 

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 00:48
To: CF-Talk
Subject: RE: getSessionList.cfm UDF

   Another reason not to use shared hosting and another example of 
   how CFMX is just not suitable for shared hosting.
 
  In any case, can't you disable CreateObject(java,...) with 
  security sandboxes?

 Yes you can, and we do, but some hosts don't, so I'm just giving a 
 word of warning to thos eon a shared host who do have 
 CreateObject(java) enabled.

I'm confused; is your word of warning that people should only use hosts that
have properly configured their servers (like you), or that they shouldn't
use you either? Because most people would likely take the latter meaning
from your first response. It's fine with me either way, since I don't use
shared hosting.

 Also, you can still CFDUMP the application scope with no application 
 name and see all the application vars.

How else would you use CFDUMP to see the application scope? Or are you
saying you can use CFDUMP to see the application scope of other
applications?

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!



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


RE: path outside webroot

2006-12-05 Thread Snake
In the case of using / to mean the root of your site, this works if you have
no / mapping (e.g. cfinclude template=/includes/myfile.cfm). Which
implies that CF does know about your IIS settings, otherwise how would it
know the root of your site ?
 
Russ

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 05:59
To: CF-Talk
Subject: RE: path outside webroot

 I indeed can, but I don't get why expandpath('/') returns something 
 completely different than expandpath('.') especially if, like you 
 said, CF doesn't know anything about my IIS setup...

Slashes are resolved using mappings, as per the docs. Dots are resolved
using the current location on the filesystem.

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!



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


RE: Any way to limit file upload size?

2006-12-05 Thread Snake
There is a setting in IIS to limit the size of form posts. But I can't find
it for the life of me.
 

-Original Message-
From: Gaulin, Mark [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 13:29
To: CF-Talk
Subject: Any way to limit file upload size?

Hi
Is there any way in CF or IIS to limit the allowed file size for a form with
a file attached?

I have a situation where someone might accidentally upload a huge file when
all we want is a sample file.  I would want to avoid not only creating a
huge temp file but also all of the bandwidth needed to send the file to the
server.

Thanks
Mark



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


RE: Full-Text Query Help

2006-12-05 Thread Snake
If you use CONTAINS, then full-text search will be used.

Russ 

-Original Message-
From: Russ [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 15:31
To: CF-Talk
Subject: RE: Full-Text Query Help

Does nobody have an idea on this?  I'm basically trying to do something like
this:

select * from table1, table2 where table2.id=1 and table2.somefield like '%'
+ table1.someotherfield + '%' 

This works fine, although it's a bit slow for my taste... is there a way to
optimize it, using full text search of verity?  

Somefield is a text field, and someotherfield is a varchar.  

Russ

 -Original Message-
 From: Russ [mailto:[EMAIL PROTECTED]
 Sent: Monday, December 04, 2006 8:20 PM
 To: CF-Talk
 Subject: Full-Text Query Help
 
 I'm trying to do something like the following
 
 
 
 Select table1Id from table1, table2 where talbe2.tableId=1 and 
 contains(table2.somefield, table1.someotherfield)
 
 
 
 Basically I have 2 tables that have no relationship.  I want to search 
 a single field in table2 (somefield) by using every value from the 
 someotherfield field of the table1 table.  I can't seem to get the 
 syntax quite right.  Is this even possible without looping?
 
 
 
 Russ
 
 
 
 



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


RE: Any way to limit file upload size?

2006-12-05 Thread Snake
As CFML runs on the server, that code will not execute until after the file
has been uploaded.
 
Russ

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 15:39
To: CF-Talk
Subject: Re: Any way to limit file upload size?

What about something like so. Am I way off? It checks before the image is
uploaded.


page_1.cfm

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
titleUntitled Document/title /head

body
form action=page_1.cfm method=post enctype=multipart/form-data
input type=file name=test1 input type=submit name=submitThis
/form


cfset allowedFileSize = 1000
cfif isDefined(form.submitThis)
cfoutput
cfif cgi.content_length gt #Val(allowedFileSize)# Error your file is
way to bigbr /cfif Your file size was: #cgi.CONTENT_LENGTH# and the
allowed size was #allowedFileSize# /cfoutput /cfif

/body
/html




Doug





- Original Message -
From: Snake [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, December 05, 2006 7:06 AM
Subject: RE: Any way to limit file upload size?


 There is a setting in IIS to limit the size of form posts. But I can't
find
 it for the life of me.


 -Original Message-
 From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
 Sent: 05 December 2006 13:29
 To: CF-Talk
 Subject: Any way to limit file upload size?

 Hi
 Is there any way in CF or IIS to limit the allowed file size for a form
with
 a file attached?

 I have a situation where someone might accidentally upload a huge file
when
 all we want is a sample file.  I would want to avoid not only creating a
 huge temp file but also all of the bandwidth needed to send the file to
the
 server.

 Thanks
 Mark



 



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


RE: Any way to limit file upload size?

2006-12-05 Thread Snake
IIS will read the headers first. 

-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 15:49
To: CF-Talk
Subject: Re: Any way to limit file upload size?

Well, if that is so, then there should not be a way of checking. Even in IIS
you would have to submit the form before any checking is done. You cannot
simply select the file and have something check the size of it. At least
this way the file is not processed and uploaded to the server.



Doug



- Original Message -
From: Snake [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, December 05, 2006 8:42 AM
Subject: RE: Any way to limit file upload size?


 As CFML runs on the server, that code will not execute until after the
file
 has been uploaded.

 Russ

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: 05 December 2006 15:39
 To: CF-Talk
 Subject: Re: Any way to limit file upload size?

 What about something like so. Am I way off? It checks before the image is
 uploaded.


 page_1.cfm

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html
 head
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
 titleUntitled Document/title /head

 body
 form action=page_1.cfm method=post enctype=multipart/form-data
 input type=file name=test1 input type=submit name=submitThis
 /form


 cfset allowedFileSize = 1000
 cfif isDefined(form.submitThis)
 cfoutput
 cfif cgi.content_length gt #Val(allowedFileSize)# Error your file is
 way to bigbr /cfif Your file size was: #cgi.CONTENT_LENGTH# and
the
 allowed size was #allowedFileSize# /cfoutput /cfif

 /body
 /html




 Doug





 - Original Message -
 From: Snake [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Tuesday, December 05, 2006 7:06 AM
 Subject: RE: Any way to limit file upload size?


  There is a setting in IIS to limit the size of form posts. But I can't
 find
  it for the life of me.
 
 
  -Original Message-
  From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
  Sent: 05 December 2006 13:29
  To: CF-Talk
  Subject: Any way to limit file upload size?
 
  Hi
  Is there any way in CF or IIS to limit the allowed file size for a form
 with
  a file attached?
 
  I have a situation where someone might accidentally upload a huge file
 when
  all we want is a sample file.  I would want to avoid not only creating a
  huge temp file but also all of the bandwidth needed to send the file to
 the
  server.
 
  Thanks
  Mark
 
 
 
 



 



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


RE: Any way to limit file upload size?

2006-12-05 Thread Snake
If you try and upload a large file, something that would normally take a
minute or 2, you will find that your code will not run until that file has
fully uploaded to the server.


Russ


-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 15:52
To: CF-Talk
Subject: Re: Any way to limit file upload size?

Well,


This is what I have in my image upload and it works fine. The file does not
get uploaded until it passes certain checks.

cfset Valid = True
cfset VaildSZ = True
cfset Error = 

cfif Not IsDefined(form.AdPhoto) or Len(form.AdPhoto) lt 3  cfset Valid
= False  cfset VaildSZ = False  cfset Error = Error  liThe Upload
Photo field is required./liBR /cfif

cfif cgi.content_length gt #Val(APPLICATION.ALLOWEDCLADSSIZE)#
 cfset Valid = False
 cfset VaildSZ = False
 cfset Error = Error  liThe uploaded photo is too large. Maximum
allowed size is #Val(APPLICATION.ALLOWEDCLADSSIZE)#K and yours is
#cgi.content_length#K./liBR /cfif

cfif VaildSZ

 cftry
  !--- UPLOAD GRAPHIC TO SERVER ---
  cffile action=upload filefield=AdPhoto
accept=#APPLICATION.ATTACHTYPE#
destination=#APPLICATION.IMAGEPATH#images-ads\cats#Val(ClassAdForPhotos.SCa
tegoryID)#\ nameconflict=makeunique
  cfset RenamePhoto = #Val(adid)#-#DateFormat(Now(),
mmdd)##TimeFormat(now(), HHmmss)#.#File.serverFileExt#
  cffile action=rename
source=#APPLICATION.IMAGEPATH#images-ads\cats#Val(ClassAdForPhotos.SCategor
yID)#\#File.ServerFile#
destination=#APPLICATION.IMAGEPATH#images-ads\cats#Val(ClassAdForPhotos.SCa
tegoryID)#\#Trim(RenamePhoto)#
  cfset AdPhoto = #Trim(RenamePhoto)#  cfcatch
  cfset Valid = False
  cfset Error = Error  liThe uploaded photo is not in an acceptable
format. Please try again./liBR  /cfcatch  /cftry /cfif

- Original Message -
From: Ben Nadel [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, December 05, 2006 8:42 AM
Subject: RE: Any way to limit file upload size?


 I am not sure if the content_length is available until the file is
 actually uploaded. I could be wrong on that though.


 ..
 Ben Nadel
 Certified Advanced ColdFusion MX7 Developer
 www.bennadel.com

 Need ColdFusion Help?
 www.bennadel.com/ask-ben/

 -Original Message-
 From: Doug Brown [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, December 05, 2006 10:39 AM
 To: CF-Talk
 Subject: Re: Any way to limit file upload size?

 What about something like so. Am I way off? It checks before the image
 is uploaded.


 page_1.cfm

 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
 http://www.w3.org/TR/html4/loose.dtd;
 html
 head
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
 titleUntitled Document/title /head

 body
 form action=page_1.cfm method=post enctype=multipart/form-data
 input type=file name=test1 input type=submit name=submitThis
 /form


 cfset allowedFileSize = 1000
 cfif isDefined(form.submitThis)
 cfoutput
 cfif cgi.content_length gt #Val(allowedFileSize)# Error your file is
 way to bigbr /cfif Your file size was: #cgi.CONTENT_LENGTH# and
 the allowed size was #allowedFileSize# /cfoutput /cfif

 /body
 /html




 Doug





 - Original Message -
 From: Snake [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Tuesday, December 05, 2006 7:06 AM
 Subject: RE: Any way to limit file upload size?


  There is a setting in IIS to limit the size of form posts. But I can't
 find
  it for the life of me.
 
 
  -Original Message-
  From: Gaulin, Mark [mailto:[EMAIL PROTECTED]
  Sent: 05 December 2006 13:29
  To: CF-Talk
  Subject: Any way to limit file upload size?
 
  Hi
  Is there any way in CF or IIS to limit the allowed file size for a
 form
 with
  a file attached?
 
  I have a situation where someone might accidentally upload a huge file
 when
  all we want is a sample file.  I would want to avoid not only creating
 a
  huge temp file but also all of the bandwidth needed to send the file
 to
 the
  server.
 
  Thanks
  Mark
 
 
 
 



 



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


RE: path outside webroot

2006-12-05 Thread Snake
I'm pretty sure the / mapping rule doesn't apply when using expand path.
As I said before, with this rule, if you have a mapping called / this
mapping will be used, if you do not, the relative root of your website will
be used instead.

Russ 

-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 16:11
To: CF-Talk
Subject: RE: path outside webroot

 Go to command prompt and type
 CD .
 And then
 CD /
 And you will se ethe difference

No you won't :-)

C:\WINDOWScd .
C:\WINDOWScd /
C:\WINDOWS

I know what [.] [..] and [/] are as far as their meanings in a directory
structure go... which is why I didn't get that ExpandPath('.') gave me the
current directory path but ExpandPath('/') didn't give me the path of the
main webroot (relative to the site).

I saw the same thing in the docs Dave, but it still seems that it does
something other than it should or at least something other than what anyone
would want it to do even though it takes 1 option... a RELATIVE path, the
docs claim the slash is read from a mapping... but, if the path returned by
ExpandPath('/') was from a mapping, wouldn't a mapping for / need to exist?
It doesn't.

Also, if ExpandPath could read a directory from a mapping, why wouldn't
something like... ExpandPath('/acoderslife') return the correct path for the
mapping called '/acoderslife'.

I know you might not have all the answers to this, I'm more or less
thinking/talking out loud here...

Apparently someone commented on the same thing at the bottom of the livedocs
as well.

Here are some others I don't get...

GetDirectoryFromPath(.) and GetDirectoryFromPath(\) return \ no matter
where they are called from.

GetDirectoryFromPath(ExpandPath(.)) returns the parent directory of the
directory that the command was executed from.

GetDirectoryFromPath(ExpandPath(..)) returns TWO directories above the
calling dir

.but as it is, apparently you will always need to know where you are
calling any of the above from to 'dynamically' get the root of the site or
you could create a template that contains:

cfset request.rootpath = GetDirectoryFromPath(GetCurrentTemplatePath()) /

and ALWAYS put it in the root of a site then cfinclude it anytime you want
to know what the rootpath is.

I know it's all somewhat moot. I have no problem setting a global
configuration file and adjusting things between servers (which I don't
normally have to do) everything basically sets itself in my configs based on
the server but the actual directory paths are dependent on me keeping the
same directory structure like I mentioned in a previous email. If my config
file is not inside of a folder just off the root called '\include\', then
the config file would need to change so the 'root path' is set correctly.

But if ExpandPath('/') did what most people would expect it to do, that
directory structure would never matter again. 

Oh well I suppose :-)

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

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.15.6/568 - Release Date: 12/4/2006
3:20 PM
 





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


RE: cfform - bad hosting company

2006-12-05 Thread Snake
They would have had to disable the tag in order for it to not be working.

What error do you get when u try and use CFFORM?

Russ

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 05 December 2006 16:50
To: CF-Talk
Subject: cfform - bad hosting company

Doesn't cfform work by defualt when CFV7 is installed?  Is there something
in the cf admin that needs to be enabled? 

I sent an email to the Web hosting company saying that cfform wasn't work
based on sample code from the documentation and they want me to tell them if
there's something they need to enable in order to get it working. 8-)

Thanks

D



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


  1   2   3   4   5   6   7   8   9   10   >