Hi.
I've been wonderting for some time whether there is any benefit to using <cfscript>
to embed code within a file over using cold fusion tags to perform the
same functionality? An example I have recently come across used cfscript
blocks to assign variables, a function that could have been implemented in
<cfset> statements i.e.
<cfscript>
//DATABASE DETAILS
datasource = "dsn";
username = "username";
password = "password"
</cfscript>
As opposed to
<cfset datasource = "dsn">
<cfset username = "username">
<cfset Password = "Password">
Is there a reason to prefer one method over the other?
I'd appreciate your thoughts.
Nick Gorst
Web Developer
BLA Pty Ltd
45 Aquarium Avenue
Hemmant, Queensland 4174
Australia.
Phone: (07)3890 1115
Fax: (07)3890 5388
Mob: 0419 901 115
www.bla.com.au
****************************************************************
This e-mail, together with any attachments, is intended for the named
recipient(s) only. If you have received this message in error, you are
asked to inform the sender, mailto:[EMAIL PROTECTED] , as quickly as
possible and delete this message and any copies of this message from your
computer system network.
Any form of disclosure, modification, distribution and/or publication of
this e-mail message is prohibited. Unless otherwise stated, this e-mail
represents only the views of the sender and not the views of the Bob
Littler Agencies Pty Ltd
****************************************************************
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/