Poor mans Logger

2006-09-25 Thread Dan Plesse
This logger is for a CFer who is on a shared host and the host says no to
the apache jars and you don't feel like bothering with a classloader and
sending all your stuff via cfmail tags is not cool anymore. Maybe people
should get there own 





















If you want to add a props file and all that jazz go right ahead.


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254190
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 Root install path

2006-09-25 Thread Matt Quackenbush
Heh... You're forgiven... This time ;-)

 

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006 12:54 AM
To: CF-Talk
Subject: RE: ColdFusion Root install path

#server.coldfusion.rootdir# it is!  Good memory.  
I guess I should have taken about 20 seconds to dump the server scope before
posting and I could have answered my own question!  :)

Thanks.

~Brad

-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 12:46 AM
To: CF-Talk
Subject: RE: ColdFusion Root install path

Do a  and you'll find it.  If I recall correctly,
it's #server.coldFusion.rootDir# or something very similar.

 

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 12:43 AM
To: CF-Talk
Subject: ColdFusion Root install path

Is there a way to programmatically determine the root install path of
ColdFusion? Something like a var in the server scope... I am writing a
simple job to monitor the undeliverable mail on our web servers and I want
the code to work on our Linux boxes as well as our Windows boxes without
hard-coding any paths.  We are on MX7 single instance install.

 

Thanks!

 

~Brad









~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254189
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 Root install path

2006-09-25 Thread Brad Wood
#server.coldfusion.rootdir# it is!  Good memory.  
I guess I should have taken about 20 seconds to dump the server scope
before posting and I could have answered my own question!  :)

Thanks.

~Brad

-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006 12:46 AM
To: CF-Talk
Subject: RE: ColdFusion Root install path

Do a  and you'll find it.  If I recall
correctly,
it's #server.coldFusion.rootDir# or something very similar.

 

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006 12:43 AM
To: CF-Talk
Subject: ColdFusion Root install path

Is there a way to programmatically determine the root install path of
ColdFusion? Something like a var in the server scope... I am writing a
simple job to monitor the undeliverable mail on our web servers and I
want
the code to work on our Linux boxes as well as our Windows boxes without
hard-coding any paths.  We are on MX7 single instance install.

 

Thanks!

 

~Brad







~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254188
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 Root install path

2006-09-25 Thread Matt Quackenbush
Do a  and you'll find it.  If I recall correctly,
it's #server.coldFusion.rootDir# or something very similar.

 

-Original Message-
From: Brad Wood [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006 12:43 AM
To: CF-Talk
Subject: ColdFusion Root install path

Is there a way to programmatically determine the root install path of
ColdFusion? Something like a var in the server scope... I am writing a
simple job to monitor the undeliverable mail on our web servers and I want
the code to work on our Linux boxes as well as our Windows boxes without
hard-coding any paths.  We are on MX7 single instance install.

 

Thanks!

 

~Brad





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


ColdFusion Root install path

2006-09-25 Thread Brad Wood
Is there a way to programmatically determine the root install path of
ColdFusion? Something like a var in the server scope... I am writing a
simple job to monitor the undeliverable mail on our web servers and I
want the code to work on our Linux boxes as well as our Windows boxes
without hard-coding any paths.  We are on MX7 single instance install.

 

Thanks!

 

~Brad



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Placing a pointer in cfchart

2006-09-25 Thread Denny Valliant
Yeah, that IS fantastic.  Nice tip!

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> thanks james thats fantastic :)
>


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Changes not reflected

2006-09-25 Thread Mike Kear
There are several other possible causes/solutions:

[A] Put a "do not cache" command in the header of the page.  This
prevents proxy servers and browsers from caching the page.   Upside:
you see your new page as soon as you refresh.  Downside:  you lose the
advantages of caching.  so once you're done developing, comment out or
remove the command.

To do this, just put the following in the header area of your page
(between the  and  tags:



[B]  if you have access to the CFAdministator, you can turn off
Trusted Cache (in the caching area of the Administrator.

Turning on trusted cache is a good thing to do when you dont have a
lot of changes to the pages.   The server isnt asked to check every
time if the version of a page on the hard drive is the same as the one
in the cache.  Great for production sites, but bad while you are
developing (which in my case is all the time).

So if your site isnt mature and stable,  and you're developing all the
time, turn off trusted cache, to force the server to check each page
request to see if the one it has in the cache is the same as the one
on the hard drive.

In a shared hosting environment, we always have trusted cache turned
off because of the fact that there is never a time when there are no
users developing pages.

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

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: CFinput submit Action page

2006-09-25 Thread Denny Valliant
On 9/25/06, Charlie Griefer <[EMAIL PROTECTED]> wrote:


> it's just a matter of preference, but i do like having a separate
> action page.  in my mind, the two pages (form, action) perform very
> distinct tasks, and should logically be distinct pages.  it's also
> less code on each page, so easier to debug (IMO) :)


Interesting point, Charlie.  But what about from the standpoint that they
are both tasks on the same "object"?  Personally, I like having one "page"
handle everything for that "object", especially since most of my CRUD
is done with a one line tag, so having a whole file for one line of code
seems wasteful.  Whenever a page gets long, I make a CFC or cfinclude
anyways, but it's still nice having all the page logic in one page.

Maybe.  I'm really of two minds here. I see the validity of splitting things
out in a lot of really small files, vs. a few middle, or one or two really
long
ones... but really, where you split is a key factor, and sometimes it's not
intuitive at all, when you're on a scale of years and such, that by
splitting
early you're saving time later.  And then there's the whole, "who cares if
it could save some time X years from now; we're in the here and now;
there are three options, pick too" type deal.  If only I knew how to use
a simicolon. :-P

I know there are raging philosophies about this, and the right answer is
contextual, etc..  It's fun stuff to talk about and mull over though.
-Denny


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Displaying images from SQL Server in Fusebox

2006-09-25 Thread Denny Valliant
Another thing to check, since you've gone the DB image route
(which, BTW, IMHO, can be a great way to go) you should
also verify that you've set the datasource to pass large chunks
of data.  I think with .GIFs you'd see a part of the image at least,
but with JPG if it get's cut off, you won't see anything.

I might have that backwards...

Anyway, I think CF defaults to like a 65k chunk at a time, which
will need to be increased if you're trying a larger image, or don't
have them broke up in 65k chunks.

It's probably the thing Sandra mentions below though.
GL,
:D

On 9/25/06, Sandra Clark <[EMAIL PROTECTED]> wrote:
>
> The problem is that in FB3, the images are displayed in relation to the
> display fuse itself.  I believe that a variable exists that is set up in
> each fbx_settings.cfm file for a circuit for an image and another one
> should
> be in the apps_globals.cfm at the top for a baseline directory of the
> webroot, but I can't remember the name of these.
>
> So your dsp_view.cfm file should look something like
>
> 
> src="#Fullrootpathofapplictation#/dsp_setImage.cfm?dTaskIndex=#attributes.dT
> askIndex#" border="0" width="300" height="200">
>
>
> Sandra Clark
> ==
> http://www.shayna.com
> Training in Cascading Style Sheets and Accessibility
>
>
> -Original Message-
> From: Chris Alfano [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 2:24 PM
> To: CF-Talk
> Subject: Re: Displaying images from SQL Server in Fusebox
>
> I'm going to look into the HTTP Proxy Debugger
>
> As for my code, I believe I have all bases covered:
>
> dsp_setImage.cfm -->
>  SELECT attachment
> FROM
> images WHERE task_index = #attributes.dTaskIndex# 
>
>  reset="true">
>
>
>
> dsp_view.cfm -->
>  border="0" width="300" height="200">
>
> This leads to a broken image.
>
> When I add the query and cfcontent to the actual dsp_view page, then the
> image takes over the ENTIRE display -- hiding the header, footer,
> navigation
> and other content associated with that file.
>
> Cheers.
> -c
>
> >Chris,
> >
> >
> >I'm pretty confident the problem is your getting extra whitespacing
> >somewhere in your output. Use an HTTP Proxy Debugger (like Fiddler or
> >Live HTTP Headers) to actually examine the data being served from the
> server.
> >
> >Also, you might try adding the "type" attribute to the 
> >tag to specify the mime type.
> >
> >-Dan
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread Michael Wolfe
Use AutoIt

http://www.autoitscript.com/autoit3


It comes with a very nice IDE that includes full documentation and script
samples.

See below for an example app that does exactly what you are looking for.
Paste the code into the AutoIt IDE and compile it.


-- Mike Wolfe


> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
> Sent: 25 September 2006 21:12
> To: CF-Talk
> Subject: RE: Software to Start/Stop Groups of Services.
> 
> I should add that I desire this so I can develop on my laptop 
> when needed
> and simply shut everything off when I need to free up the 
> system resources.
> For gaming... for playing movies, etc.
> 
> ~Che
> 


svcrun.au3
--


#NoTrayIcon

;Include constants
#include 
#include 
#include 
#include 

;Initialize variables
Global $GUIWidth
Global $GUIHeight

$GUIWidth = 250
$GUIHeight = 185

Dim $cfArray
Dim $sqlArray
Dim $mySQLArray
Dim $IISArray

$cfArray = _ArrayCreate("ColdFusion MX 7 Search Server","ColdFusion MX 7
ODBC Server","ColdFusion MX 7 ODBC Agent","ColdFusion MX 7 Application
Server")
$sqlArray = _ArrayCreate("SQLSERVERAGENT","MSSQLSERVER","Distributed
Transaction Coordinator")
$mysqlArray = _ArrayCreate("MySQL")
$iisArray = _ArrayCreate("World Wide Web Publishing","IISAdmin")

GUICreate("Dev Services Manager", $GUIWidth, $GUIHeight)

$Progress_Bar = GUICtrlCreateProgress(50, 10, 150, 20)

$cfCheck = GUICtrlCreateCheckbox("ColdFusion", 50, 40)
$sqlCheck = GUICtrlCreateCheckbox("SQL Server", 130, 40)
$iisCheck = GUICtrlCreateCheckbox("IIS", 50, 64)
$mysqlCheck = GUICtrlCreateCheckbox("mySQL", 130, 64)

$startRadio = GUICtrlCreateRadio("Start", 50, 90)
$stopRadio = GUICtrlCreateRadio("Stop", 105, 90)
$cycleRadio = GUICtrlCreateRadio("Cycle", 155, 90)

;Create a status label
$Status_lbl = GUICtrlCreateLabel("",10,117,230,20,$SS_CENTER)

$Go_Btn = GUICtrlCreateButton("Go", 90, 140, 70, 25)

GUICtrlSetState ($startRadio,$GUI_CHECKED)
GUICtrlSetState ($Go_Btn,$GUI_FOCUS)

GUISetState(@SW_SHOW)

While 1
$msg = GUIGetMsg()

Select
;Check if user clicked on the close button
Case $msg = $GUI_EVENT_CLOSE
;Destroy the GUI including the controls
GUIDelete()
;Exit the script
Exit

;Check if user clicked on the "Go" button
Case $msg = $Go_Btn
If GUICtrlRead($startRadio) = $GUI_CHECKED Then
If GUICtrlRead($iisCheck) = $GUI_CHECKED
Then

_svcManage($iisArray,"start",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($mysqlCheck) = $GUI_CHECKED
Then

_svcManage($mysqlArray,"start",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($sqlCheck) = $GUI_CHECKED
Then

_svcManage($sqlArray,"start",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($cfCheck) = $GUI_CHECKED Then

_svcManage($cfArray,"start",$Progress_Bar,$Status_lbl)
EndIf
ElseIf GUICtrlRead($stopRadio) = $GUI_CHECKED then 
If GUICtrlRead($cfCheck) = $GUI_CHECKED Then

_svcManage($cfArray,"stop",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($sqlCheck) = $GUI_CHECKED
Then

_svcManage($sqlArray,"stop",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($mysqlCheck) = $GUI_CHECKED
Then

_svcManage($mySQLArray,"stop",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($iisCheck) = $GUI_CHECKED
Then

_svcManage($iisArray,"stop",$Progress_Bar,$Status_lbl)
EndIf
Else
If GUICtrlRead($cfCheck) = $GUI_CHECKED Then

_svcManage($cfArray,"stop",$Progress_Bar,$Status_lbl)

_svcManage($cfArray,"start",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($sqlCheck) = $GUI_CHECKED
Then

_svcManage($sqlArray,"stop",$Progress_Bar,$Status_lbl)

_svcManage($sqlArray,"start",$Progress_Bar,$Status_lbl)
EndIf

If GUICtrlRead($mysqlCheck) = $GUI_CHECKED
Then

_svcManage($mySQLArray,"stop",$Progress_Bar,$Status_lbl)

_svcManage($mySQLArray,"st

Re: Error 0 - java.lang.ArrayIndexOutOfBoundsException

2006-09-25 Thread Denny Valliant
Nice shot Ben.

Another longshot: with the underscore notation, fields ending like _date or
_someOtherReserved extension can do weird stuff, because they're reserved in
CF IIRC.
-denny

On 9/25/06, Ben Nadel <[EMAIL PROTECTED]> wrote:
>
> In standard SQL, I know that when you do a SELECT COUNT() you ALWAYS get
> back a row. However, in ColdFusion query of queries, if you do a SELECT
> COUNT() on a table that has no rows, the query -of-queries table
> actually does not return any rows. It is possible that you are expecting
> a value of "0" (zero) as the count, but in fact, the query of queries
> has a record count of Zero??
>
> ..
> Ben Nadel
> Certified Advanced ColdFusion Developer
> www.bennadel.com
>
>
> -Original Message-
> From: Loyd Campbell [mailto:[EMAIL PROTECTED]
> Sent: Saturday, September 23, 2006 3:02 PM
> To: CF-Talk
> Subject: Error 0 - java.lang.ArrayIndexOutOfBoundsException
>
> I'm querying data that is contained in either a current table,
> SHIP_HIST, or an archive table, SHIP_HIST_ARC. There is a view setup on
> the server, SHIP_HIST_VIEW, that does a union on both tables so if a
> user wants to query both old and new data they may. A nightly stored
> procedure moves records from current to archive tables based on age, so
> there is no duplication of records between the two tables. The current
> table is kept fairly small so most queries can be done quickly.
>
> The current version of the report I am working on always queries the
> view, regardless of what dates the user is looking for. This is a very
> slow process due to the large number of records in the view. In order to
> speed up the queries, I am running a quick query to determine the oldest
> date in the current table, and as a result of that I name a variable
> "TableName". If the begin and end dates the user is looking for are
> entirely within the current table, TableName is SHIP_HIST.  If the begin
> and end dates are both before the oldest date in the current table, the
> TableName variable is SHIP_HIST_ARC.  If the begin and end dates span
> the oldest date in the current table, then I name TableName
> SHIP_HIST_VIEW. This query works fine every time.
>
> Then, I run queries against this initial query to get some subtotals and
> grand totals.  My problem is that when the initial query is run against
> either SHIP_HIST or SHIP_HIST_VIEW, it runs fine. If the initial query
> is run against the SHIP_HIST_ARC table, ColdFusion throws an error; The
> header on the debug page is "Error Occurred While Processing Request".
> The data is a single zero (0). Below that is the area that shows the
> filename where the error occurs and then show where this data is being
> called from. I have all the queries in separate files so the error is
> occurring in ShipHist5.qry. Here is the text of that query:
> 
> SELECT
> count(distinct mst_ship_num) AS mst_shp_tot_qty
> FROM
> ShipHist
> 
>
> As I said, it runs fine when the initial query is run against either the
> current table or the view, but not the archive table.  It would make
> more sense to me if the error came from Oracle, but it is a CF error.
>
> Down in the Exceptions area of debug here is the error message:
>
> Exceptions
> 13:37:54.054 - java.lang.ArrayIndexOutOfBoundsException - in
> D:\inetpub\wwwroot\dev\DMPlusReports\queries\ShipHist5.qry : line 12
> 0
>
> Can anyone make any sense of this error?  I have used the same technique
> to speed up other reports that were originally written against the view
> and have had no problems. This one has me stumped. I'd sure appreciate
> anyone who might have an idea what is going on here.
>
> Thanks,
>
> Loyd Campbell
> Contract CF Programmer
> Plano, TX
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread Snake
A batch file.

Russ 

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: 25 September 2006 21:12
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.

I should add that I desire this so I can develop on my laptop when needed
and simply shut everything off when I need to free up the system resources.
For gaming... for playing movies, etc.

~Che

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Monday, September 25, 2006 3:06 PM
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.


Yeah, could do that. I as looking for something a little more robust. A nice
little app to sit in the Windows application tray. I swear I remember a post
on this list about this very topic.

~Che

-Original Message-
From: loathe [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 3:03 PM
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.


What OS?

Windows?

Just write a batch file.

> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 2:56 PM
> To: CF-Talk
> Subject: OT: Software to Start/Stop Groups of Services.
> 
> Does anyone know of any software that allows you to start/stop
> "groups" of windows services? i.e. I would like to click a button and 
> Apache, CFMX and MySQL all start...
> hit again and they all stop. The same could be done with say a Apache, PHP
> and MySql grouping as well. Make sense?
> 
> Thanks, Che
> 
> 
> 







~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254179
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 move

2006-09-25 Thread Richard White
i have managed to finally get theproblemsorted after about 6 hours, i read an 
article in adobe 

http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_19109&extid=tn_19109&dialogID=36437612&iterationID=1&sessionID=9630d3290cb0602d7462&stateID=0+0+36443352&mode=simple

which said that the session is invalid will occur when trying to use session 
variables when the j2ee session variables is enabled in the cf administrator. 
so i turned ofthe j2ee session variables and it is now working fine

thanks for all your help

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254178
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 move

2006-09-25 Thread Richard White
thanks for all your replies, 

i have modified my application.cfc with the code snippet sent

   
   
   
 


and it has fixed the previous error but now i am back to the original error of 
session not valid when i try to use the session variables in my pages as 
follows:


  session.student = StructNew();
  session.student.name = "fred";


the application.cfc is in my root folder and the page trying to use the session 
variables is in a sub folder. the session variables are also enabled on the cf 
admin

this is prob something so simple - but then its always the simple mistakes that 
take longer to fix!

thanks again for all your help

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254177
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 move

2006-09-25 Thread Dave Watts
> hi, thanks for your reply, i am not using 5 >= 0 anywhere in 
> my program :)

Well, presumably it's somewhere, since you have that error message.

> it only does that when i have an application.cfc page in the 
> root of my directory saying:
> 
> 
> 
> if i take this application.cfc out of my root directory then 
> it works fine

That's how you'd write Application.cfm. If you want to use Application.cfc,
use the code snippet I sent previously.

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 and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254175
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 move

2006-09-25 Thread Ben Nadel
Don't mean to jump into this late... Sounds like you might be getting
this error:

http://www.bennadel.com/blog/101-ColdFusion-Error-Occurred-While-Process
ing-Request-10-10.htm 
(if that get's cut off:
http://www.bennadel.com/index.cfm?dax=blog:101.view)


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


-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 6:32 PM
To: CF-Talk
Subject: Re: application.cfc move

hi, thanks for your reply, i am not using 5 >= 0 anywhere in my program
:)

it only does that when i have an application.cfc page in the root of my
directory saying:



if i take this application.cfc out of my root directory then it works
fine



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254176
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 move

2006-09-25 Thread Charlie Griefer
ian mentioned this at the end of the previous thread, and i'll take
responsibility for mentioning  in conjunction with
Application.cfc (see my previous disclaimer about being new to
Application.cfc)...but you shouldn't be using  in an
Application.cfc.

see Dave W's code earlier in this thread, or Ray's Application.cfc
"skeleton" (also linked to earlier)

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, thanks for your reply, i am not using 5 >= 0 anywhere in my program :)
>
> it only does that when i have an application.cfc page in the root of my 
> directory saying:
>
> 
>
> if i take this application.cfc out of my root directory then it works fine
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254174
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 move

2006-09-25 Thread Richard White
hi, thanks for your reply, i am not using 5 >= 0 anywhere in my program :)

it only does that when i have an application.cfc page in the root of my 
directory saying:



if i take this application.cfc out of my root directory then it works fine

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254173
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 move

2006-09-25 Thread Dave Watts
> This is the first time i have created a coldfusion 
> application and have always used dreamweaver to pracitse it. 
> for some reason i am getting an error now that says it is 
> having problems doing 5 >= 0 which i have no idea about as if 
> i take my custom application.cfc page out it works fine - but 
> again without the session variables working. Do you have any 
> idea of what should go into the application.cfc at a very 
> basic level. Just enough to get the session variables working 
> and then i can go into what really should go into this page later on









As for "5 >= 0", that's not a valid CF expression. CF uses English-language
operators (and abbreviations as operators):

...

> also, if i docreate my own custom application.cfc page then 
> do i leave the dreamweaver  generated one in the 
> _mmServerScripts folder 

Yes. That's for Dreamweaver's use, not yours.

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 and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254171
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 move

2006-09-25 Thread Matt Quackenbush
5 >= 0 is not a valid CF comparison statement.  It should be '5 LTE 0'.

 

-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 5:19 PM
To: CF-Talk
Subject: Re: application.cfc move

thanks for your replies. I am using dreamweaver and have just tried to
create a basic application.cfc page but i am getting even more lost by the
minute.

This is the first time i have created a coldfusion application and have
always used dreamweaver to pracitse it. for some reason i am getting an
error now that says it is having problems doing 5 >= 0 which i have no idea
about as if i take my custom application.cfc page out it works fine - but
again without the session variables working. Do you have any idea of what
should go into the application.cfc at a very basic level. Just enough to get
the session variables working and then i can go into what really should go
into this page later on

also, if i docreate my own custom application.cfc page then do i leave the
dreamweaver  generated one in the _mmServerScripts folder 

thanks  for your help



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254172
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 move

2006-09-25 Thread Ian Skinner
The Application.CFC Reference from the live docs
http://www.adobe.com/livedocs/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm

If you have local copies of the documentation installed, it is the same content 
and runs much faster.  It would be under the Help menu in DW as "Using 
ColdFusion".



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

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

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




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254170
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 move

2006-09-25 Thread Richard White
thanks for your replies. I am using dreamweaver and have just tried to create a 
basic application.cfc page but i am getting even more lost by the minute.

This is the first time i have created a coldfusion application and have always 
used dreamweaver to pracitse it. for some reason i am getting an error now that 
says it is having problems doing 5 >= 0 which i have no idea about as if i take 
my custom application.cfc page out it works fine - but again without the 
session variables working. Do you have any idea of what should go into the 
application.cfc at a very basic level. Just enough to get the session variables 
working and then i can go into what really should go into this page later on

also, if i docreate my own custom application.cfc page then do i leave the 
dreamweaver  generated one in the _mmServerScripts folder 

thanks  for your help

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: easiest/fastest to implement payment processor?

2006-09-25 Thread Will Tomlinson
>I've been away from the computer for a few days and came back to a
>great discussion answering my question.  Thanks!  Auth.net it is.  I

Don't forget to check into the fraud detection suite. It's $5/month and woulda 
saved me hundreds of $$$ in chargeback fees because some *ickweed nigerian 
decided to attack my site with fraudulent sales. 

Will

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254168
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 move

2006-09-25 Thread Dave Watts
> hi, in an earlier post i wasnt able to get the session 
> variables to work. this was because my application.cfc page 
> was stored in:
> 
> /_mmServerScripts
> 
> the rest of my pages are stored in:
> 
> /overview
> 
> so i was informed that it was because it wasnt stored in the 
> same folder or sub folder. So i moved the application.cfc out 
> of its folder and put it in the root, but now none of my 
> pages work. when i try to load them they just come up blank. 
> i have tried several ways to get this to work, the only way i 
> have found to do it is to place the application.cfc back in 
> the _mmServerScripts folder but then of course none of my 
> session variables work. 

That Application.cfc is one that's autogenerated by Dreamweaver. Don't use
that for your own application, or move it from the directory in which
Dreamweaver put it.

You'll need to create your own Application.cfc or Application.cfm in the
root directory of your own application.

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 and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254167
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 move

2006-09-25 Thread Ian Skinner
What are you doing in your application.cfc file?  It does have the power to 
intercept the request incase you wanted to do fancy stuff with it.

You may be unintentionally intercepting the request and not returning it.


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

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

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




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: [OT Ann] Debugging Toolset: Dumper, Timer, Logger

2006-09-25 Thread Jim Davis
> -Original Message-
> From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 9:41 AM
> To: CF-Talk
> Subject: RE: [OT Ann] Debugging Toolset: Dumper, Timer, Logger
> 
> Jim,
> 
> Just curious, but why did you decide to extend "Object" instead of just
> creating a custom static debugging object?

Mostly because I forgot to switch it.  ;^)

The original library was designed to be a Static member of Object or (using
another method) added directly to the Object prototype.

This gave you some nice abilities, for example you could chain method calls:

MyArray.dpDump().split().dpDump()

Also with it added as a static method to Object there's really no footprint
on the page - no new variables added.

But in the end it makes more sense to create a single global to hold
everything (as I've done with my other libraries recently).

So I did.  The version now available for download places everything into a
"DP_Debug" object and doesn't modify the base JavaScript Object at all.

Jim Davis


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: best practices for encryption

2006-09-25 Thread Matt Robertson
On 9/25/06, Rob Wilkerson <[EMAIL PROTECTED]> wrote:
> I generated a key as you did and
> stored it in a file outside of the web root.  I read the key as
> needed and destroy it to keep it out of memory.

I should mention that I only store stuff in Application.cfm when I am
not working with anything important, which isn't what Ray is doing
from the sound of it.  What you're doing sounds like its making the
best of a bad situation.  A simple cfinclude can include a file
anywhere on the drive regardless of whether its below the web root.

-- 
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


application.cfc move

2006-09-25 Thread Richard White
hi, in an earlier post i wasnt able to get the session variables to work. this 
was because my application.cfc page was stored in:

/_mmServerScripts

the rest of my pages are stored in:

/overview

so i was informed that it was because it wasnt stored in the same folder or sub 
folder. So i moved the application.cfc out of its folder and put it in the 
root, but now none of my pages work. when i try to load them they just come up 
blank. i have tried several ways to get this to work, the only way i have found 
to do it is to place the application.cfc back in the _mmServerScripts folder 
but then of course none of my session variables work. 

can anyone help me on this please

thanks


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: best practices for encryption

2006-09-25 Thread Rob Wilkerson
I recently had the same situation come up and ended up choosing the  
security-by-obscurity approach.  I generated a key as you did and  
stored it in a file outside of the web root.  I read the key as  
needed and destroy it to keep it out of memory.  I'd be interested in  
how others handled this, as well.

On Sep 25, 2006, at 3:35 PM, Ray Champagne wrote:

> So, first time I've ever ran into the need to encrypt data in my  
> DB, and I
> already have a question.  When using the Encrypt function in CF,  
> one must
> supply a key, I'm using the GenerateSecretKey function to get said  
> key.  My
> question is, once I've stored the encrypted field in the database,  
> where do
> I store the key so that I can use the decrypt function on the other  
> side to
> retrieve the data?  Should generate a new key for every string, or  
> use one
> that will work on the entire DB?  Never been down this road before,  
> so any
> pointers would be helpful.
>
>
>
>
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: easiest/fastest to implement payment processor?

2006-09-25 Thread Matt Robertson
I've been away from the computer for a few days and came back to a
great discussion answering my question.  Thanks!  Auth.net it is.  I
worked with them once several years ago and it was indeed very simple.
 Since the customer is creating a special online banking relationship
for this we aren't going to have any issues there.

I'll probably be hitting some of you folks up for snippets in the not
too distant future :-)

cheers,

-- 
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: best practices for encryption

2006-09-25 Thread Ray Champagne
Heh - OK.  That's really what I was wondering.  It sounded to me like
putting all the latest alarms and anti-theft devices on your car, then
leaving the window down while you shop.  I guess I wasn't all that far
off

> -Original Message-
> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 5:12 PM
> To: CF-Talk
> Subject: Re: best practices for encryption
> Importance: High
> 
> On 9/25/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
> > I was
> > more worried about where and how to store the generated key to decrypt
the
> > data "on the other side".
> 
> That right there is the weak link in the chain no matter what you do.
> Someone can hack the box and get that key, and at that point they own
> you.  Because of that Iike to use public/private key encryption along
> the lines of the RSA method, where you only store the encryption
> algorithm on the box and the user pastes in the decryption key
> themselves via a form, and stores it off-box.  If your customer is
> serious about encryption and limitation of liability thats the way to
> go.
> 
> http://developer.perthweb.com.au/textcrypt.html
> 
> Beyond that, when using low-level stuff I stick the key in an
> application var that is fed by Application.cfm
> 
> --
> [EMAIL PROTECTED]
> Janitor, MSB Web Systems
> mysecretbase.com
> 
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: best practices for encryption

2006-09-25 Thread Matt Robertson
On 9/25/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
> I was
> more worried about where and how to store the generated key to decrypt the
> data "on the other side".

That right there is the weak link in the chain no matter what you do.
Someone can hack the box and get that key, and at that point they own
you.  Because of that Iike to use public/private key encryption along
the lines of the RSA method, where you only store the encryption
algorithm on the box and the user pastes in the decryption key
themselves via a form, and stores it off-box.  If your customer is
serious about encryption and limitation of liability thats the way to
go.

http://developer.perthweb.com.au/textcrypt.html

Beyond that, when using low-level stuff I stick the key in an
application var that is fed by Application.cfm

-- 
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: credit cards

2006-09-25 Thread Matt Robertson
As the 'expert' in the process, the developer can be held partially
liable for allowing a scheme like this to go thru without being
clearly on record as advising the client, in the strongest written
terms, against this course of action.

If the client can't be talked out of this, write something up
explaining the dangers in clear terms, along with your strong
recommendation against this course of action.  Make them respond in
writing that you must do it anyway.

I've used the above with my own clients and I always prep them
verbally in advance so they understand the situation and know you are
just going thru a necessary step to protect yourself.  Don't drop the
letter on them out of the blue.

If they can't or won't do this I would not take the job.

-- 
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Database Interations - overloaded sites

2006-09-25 Thread Richard White
thanks very much for your reply, yes it will be our own server, but good point 
about being kicked back to the start.

thanks again 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Placing a pointer in cfchart

2006-09-25 Thread Richard White
thanks james thats fantastic :)

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: spamassassin stopping cftalk messages

2006-09-25 Thread Casey Dougall
sorry, don't use spamassasin anymore. Switched to gmail for all lists,
haven't had any real issues since.

5 is really tight though from what I can remember.

> I believe that is spamassassin's default...at least it is what the VPS
> I'm using came defaulted to.  What have you found to be a reasonable score?
>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
i have taken the application.cfc out of the default folder and put it into the 
parent directory but now all of my pages are coming up blank. unless it is in 
the _mmServerScripts folder nothing works.

is there a reason for this

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: best practices for encryption

2006-09-25 Thread Ray Champagne
But to back up a little bit, I wasn't asking how to encrypt, although I
appreciate the advice (and I'm considering what way to go right now).  I was
more worried about where and how to store the generated key to decrypt the
data "on the other side".

> -Original Message-
> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 4:49 PM
> To: CF-Talk
> Subject: Re: best practices for encryption
> 
> The correct answer to your question really depends on the specifics of
> the job at hand.  If, for example, you are storing account login
> passwords I would say that a salted hash is a mighty good option, if
> not the best.  But that won't work for a lot of things.
> 
> What are you up to?
> 
> --
> [EMAIL PROTECTED]
> Janitor, MSB Web Systems
> mysecretbase.com
> 
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: best practices for encryption

2006-09-25 Thread Ray Champagne
Storing customer account numbers.  Not a huge deal, but the client wants to
cover all his bases, since, technically, the account number could tie into
their bank account if the person hacking tried hard enough.

> -Original Message-
> From: Matt Robertson [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 4:49 PM
> To: CF-Talk
> Subject: Re: best practices for encryption
> 
> The correct answer to your question really depends on the specifics of
> the job at hand.  If, for example, you are storing account login
> passwords I would say that a salted hash is a mighty good option, if
> not the best.  But that won't work for a lot of things.
> 
> What are you up to?
> 
> --
> [EMAIL PROTECTED]
> Janitor, MSB Web Systems
> mysecretbase.com
> 
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: spamassassin stopping cftalk messages

2006-09-25 Thread Jim Wright
Casey Dougall wrote:
> 
> How you expect to get any mail with spamassassin set to block mail
> with  5.0 points.
> 

I believe that is spamassassin's default...at least it is what the VPS 
I'm using came defaulted to.  What have you found to be a reasonable score?


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Database Interations - overloaded sites

2006-09-25 Thread Matt Robertson
Database data is also less volatile than session data.  If a person is
called away from your signup process in the middle, and comes back
after the session has expired, do you want them to be kicked back to
start over?  The answer might be Yes but you need to plan for stuff
like that.  One thing I would be leery of is relying on session vars
on a shared CF server (i.e. a $20 or $50 monthly hosting account).  If
this is a box dedicated to your site I wouldn't worry so much, if at
all.

There's no set rule for any of this, but definitely less db access a good thing.

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> how do you feel about storing data in the session variable. as i think for 
> storing the data in it will be great as if they are navigating among pages 
> and come back to a page they were on before, then i would just check to see 
> if the data is in the session variables. This would drastically lessen on the 
> load on the database and the pre-processing needed for each page.
>
> but i see what you mean it depends on the amount of data that will be getting 
> stored in the session variable. if it is down to judgement, there are certain 
> wizards where the users will go through around 10 steps for each course they 
> are undertaking. at the end of these wizards the session variables holding 
> the data can be flushed. So i see what you mean it is all dependant on what 
> you are doing
>
> thanks
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Software to Start/Stop Groups of Services.

2006-09-25 Thread Teddy Payne
yeah sweet deal!  Thanks for the reminder!

Teddy

On 9/25/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
> Thanks Dan. I knew I had seen it before. Either here or out in blog land.
> This should help a bunch.
>
> -Original Message-
> From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 4:31 PM
> To: CF-Talk
> Subject: RE: Software to Start/Stop Groups of Services.
>
>
> >Yeah, could do that. I as looking for something a little more robust. A
> >nice little app to sit in the Windows application tray. I swear I
> >remember a post
> >on this list about this very topic.
>
> Shlomy Gantz wrote something like this a while back called Snapshot
> Manager:
>
>
> http://www.shlomygantz.com/blog/index.cfm?mode=entry&entry=C7D6FEE1-40CA-7F8
> D-8E76EF91F5737896
>
> You can define new groups of services to start/shutdown.
>
> -Dan
>
>
>
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: best practices for encryption

2006-09-25 Thread Matt Robertson
The correct answer to your question really depends on the specifics of
the job at hand.  If, for example, you are storing account login
passwords I would say that a salted hash is a mighty good option, if
not the best.  But that won't work for a lot of things.

What are you up to?

-- 
[EMAIL PROTECTED]
Janitor, MSB Web Systems
mysecretbase.com

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: spamassassin stopping cftalk messages

2006-09-25 Thread Casey Dougall
> X-Spam-Report:
> *  0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
> *  lines
> *  2.2 MSGID_DOLLARS Message-Id has pattern used in spam
> *  1.4 RATWARE_MS_HASH Bulk email fingerprint (msgid ms hash) found
> *  1.9 RATWARE_OUTLOOK_NONAME Bulk email fingerprint (Outlook no name)
> *  found


How you expect to get any mail with spamassassin set to block mail
with  5.0 points.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread Che Vilnonis
Thanks Dan. I knew I had seen it before. Either here or out in blog land.
This should help a bunch.

-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 4:31 PM
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.


>Yeah, could do that. I as looking for something a little more robust. A 
>nice little app to sit in the Windows application tray. I swear I 
>remember a post
>on this list about this very topic.

Shlomy Gantz wrote something like this a while back called Snapshot Manager:

http://www.shlomygantz.com/blog/index.cfm?mode=entry&entry=C7D6FEE1-40CA-7F8
D-8E76EF91F5737896

You can define new groups of services to start/shutdown.

-Dan






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Charlie Griefer
On 9/25/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> (honestly, i'm new to Application.cfc, so i'm not sure if the including is a 
> generally accepted good practice...might be better to just move the 
> Application.cfc up one level so both directories can access it)
>
> Actually with Application.cfc, extending the CFC is usually a better way, 
> then trying to include one in the other.
>
> With Applciation.cfm files, including other application.cfm files is not 
> uncommon.

thanks Ian.

that makes perfect sense.  as you can see, i'm still making the
transition from the .cfm to the .cfc way of thinking :)

appreciate the heads-up.

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

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
thanks for everyones help, its made it very understandable!

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
i see thanks for all your help :)

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread Dan G. Switzer, II
>Yeah, could do that. I as looking for something a little more robust. A
>nice
>little app to sit in the Windows application tray. I swear I remember a
>post
>on this list about this very topic.

Shlomy Gantz wrote something like this a while back called Snapshot Manager:

http://www.shlomygantz.com/blog/index.cfm?mode=entry&entry=C7D6FEE1-40CA-7F8
D-8E76EF91F5737896

You can define new groups of services to start/shutdown.

-Dan




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Software to Start/Stop Groups of Services.

2006-09-25 Thread Teddy Payne
In the ACME Guide, it shows you how to create batch files that execute a
serious of net start and net stop commands in one batch file.  Though, it is
more elegant to have some sort of system tray icon, but it works the same.
Also, make sure everything does not start up when the laptop starts up.

I tend to only keep my JRUN admin service running and have my databases
turned off and my coldfusion instances off as well.

Teddy

On 9/25/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
> I should add that I desire this so I can develop on my laptop when needed
> and simply shut everything off when I need to free up the system
> resources.
> For gaming... for playing movies, etc.
>
> ~Che
>
> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 3:06 PM
> To: CF-Talk
> Subject: RE: Software to Start/Stop Groups of Services.
>
>
> Yeah, could do that. I as looking for something a little more robust. A
> nice
> little app to sit in the Windows application tray. I swear I remember a
> post
> on this list about this very topic.
>
> ~Che
>
> -Original Message-
> From: loathe [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 3:03 PM
> To: CF-Talk
> Subject: RE: Software to Start/Stop Groups of Services.
>
>
> What OS?
>
> Windows?
>
> Just write a batch file.
>
> > -Original Message-
> > From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> > Sent: Monday, September 25, 2006 2:56 PM
> > To: CF-Talk
> > Subject: OT: Software to Start/Stop Groups of Services.
> >
> > Does anyone know of any software that allows you to start/stop
> > "groups" of windows services? i.e. I would like to click a button and
> > Apache, CFMX and MySQL all start...
> > hit again and they all stop. The same could be done with say a Apache,
> PHP
> > and MySql grouping as well. Make sense?
> >
> > Thanks, Che
> >
> >
> >
>
>
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Session variables problem

2006-09-25 Thread Ian Skinner
(honestly, i'm new to Application.cfc, so i'm not sure if the including is a 
generally accepted good practice...might be better to just move the 
Application.cfc up one level so both directories can access it)

Actually with Application.cfc, extending the CFC is usually a better way, then 
trying to include one in the other.

With Applciation.cfm files, including other application.cfm files is not 
uncommon.


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

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

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




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Teddy Payne
Well, you don't really use the cfapplication tag in application.cfc.  You
use the "this" scope before the first cffunction to set the application wide
values.

There is a good quick reference from Ray Camden on application.cfc that can
help you choose to stay with application.cfm or use the application.cfc.

http://ray.camdenfamily.com/downloads/app.pdf

Teddy


On 9/25/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> In an application.cfm or application.cfc file so that it is automatically
> included at the top of every page in the same directory and its
> sub-directories.
>
>
>
>
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> -
> | 1 |   |
> -  Binary Soduko
> |   |   |
> -
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Charlie Griefer
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
>
> oh i see, i have just put the  tag at the top of the action 
> page and it now works fine. where is the best place to put the cfapplication 
> tag?

best place would be your Application.cfc.  but you need to understand
how Application.cfc (and Application.cfm) work.  any coldfusion
template looks in its own directory for Application.cfc.  if it
doesn't find one, it looks up one directory level.  it keeps doing
this until either it finds an Application.cfc (at which point it uses
that file and stops looking) or reaches the root folder (at which
point it simply stops looking and no Application.cfc is used).

if your Application.cfc is in a directory that's at the same level as
the template that you're running...that template won't have access to
that Application.cfc.  Not without creating an Application.cfc in the
same directory and including the Application.cfc in the sibling
directory (honestly, i'm new to Application.cfc, so i'm not sure if
the including is a generally accepted good practice...might be better
to just move the Application.cfc up one level so both directories can
access it).


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

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Session variables problem

2006-09-25 Thread Ian Skinner
In an application.cfm or application.cfc file so that it is automatically 
included at the top of every page in the same directory and its sub-directories.




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

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

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




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


spamassassin stopping cftalk messages

2006-09-25 Thread Jim Wright
I was noticing that quite a few messages from cftalk were not getting 
through to me...and finally had a chance to investigate.  Apparently  my 
  server's spamassassin install doesn't like a lot of the messages that 
come through.  Mainly it looks like this is due to the messages having 
elements that look like they come from Outlook ($ in the message id), 
but then don't list Outlook as the x-mailer.  So if you haven't been 
getting all the cftalk messages, you might want to check your spam 
program.  Of course, the people who really need to know this will just 
have this message sitting in their spam-can.

Most of the messages that were denied had a spam report similar to the 
following:

X-Spam-Report:
*  0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay
*  lines
*  2.2 MSGID_DOLLARS Message-Id has pattern used in spam
*  1.4 RATWARE_MS_HASH Bulk email fingerprint (msgid ms hash) found
*  1.9 RATWARE_OUTLOOK_NONAME Bulk email fingerprint (Outlook no name)
*  found

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Teddy Payne
 tag is typically stored in the application.cfm file.  Though
if you are using CF MX, application.cfc is recommended more as it provides
more features, organization and better event based code use.

Teddy

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
>
> oh i see, i have just put the  tag at the top of the action
> page and it now works fine. where is the best place to put the cfapplication
> tag?
>
> thanks
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory 
> (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
> 
> oh i see, i have just put the  tag at the top of the 
> action page and it now works fine. where is the best place to put the 
> cfapplication tag?
> 
thanks

i have found that the only way i can get it to display the session.student.name 
is if i place the  at the top of both 
themain page and the action page, is that right?

thanks for your replies sandra and teddy,im not using the cflocation tag yet :) 
and calling the second page by a form submit button

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Placing a pointer in cfchart

2006-09-25 Thread James Mc
Richard,

There is a chart available that does what you want. It is not documented so 
you'll have to use the chart editor to find it. 

In {cfxm root}/charting/ there is a file called webcharts.bat 

Dbl-click this and that will launch a Java-based editor. It may take a while to 
launch. 

Once it has launched, click file->New and from the dialog box pick the yellow 
chart in the middle row on the left. This will give the option of two charts 
that resemble gauges. Choose one and then modify the properties to adjust 
colors and so on. 

If you need help there is a pdf file in the same directory. 

HTH 
James McCullough

>>On 9/22/06, Richard White <[EMAIL PROTECTED]> wrote:
>
>thanks for your help, i thought as much.

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Teddy Payne
This sounds like the culprit.  In order to use a certain session with a
certain application name, the application.cfm or application.cfc needs to be
ina parent folder or in the same folder.  Example

Assume foo.cfm is calling a session variable.

\application.cfc
\folder1\foo.cfm

This would work.

\folder1\application.cfc
\foo.cfm

This would not.

Makes sense?

Teddy

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
>
> well in the root folder there is a default folder called _mmServerScripts,
> this is where the application.cfc is stored. my files are not stored in
> that folder, but stored in a seperate folder but on the same level as the
> _mmServerScripts. could this be the problem?
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread Che Vilnonis
I should add that I desire this so I can develop on my laptop when needed
and simply shut everything off when I need to free up the system resources.
For gaming... for playing movies, etc.

~Che

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 3:06 PM
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.


Yeah, could do that. I as looking for something a little more robust. A nice
little app to sit in the Windows application tray. I swear I remember a post
on this list about this very topic.

~Che

-Original Message-
From: loathe [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 3:03 PM
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.


What OS?

Windows?

Just write a batch file.

> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 2:56 PM
> To: CF-Talk
> Subject: OT: Software to Start/Stop Groups of Services.
> 
> Does anyone know of any software that allows you to start/stop
> "groups" of windows services? i.e. I would like to click a button and 
> Apache, CFMX and MySQL all start...
> hit again and they all stop. The same could be done with say a Apache, PHP
> and MySql grouping as well. Make sense?
> 
> Thanks, Che
> 
> 
> 





~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
>sounds like sessions aren't enabled.
>
>the 'action' page that errors out...it's within the same directory (or
>subdirectory) of the Application.cfc that's enabling the session
>management?
>
>On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>

oh i see, i have just put the  tag at the top of the action page 
and it now works fine. where is the best place to put the cfapplication tag?

thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
>sounds like sessions aren't enabled.
>
>the 'action' page that errors out...it's within the same directory (or
>subdirectory) of the Application.cfc that's enabling the session
>management?
>

well in the root folder there is a default folder called _mmServerScripts, this 
is where the application.cfc is stored. my files are not stored in that folder, 
but stored in a seperate folder but on the same level as the _mmServerScripts. 
could this be the problem?

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Teddy Payne
How are you calling the second page from the main page?  cflocation?

Teddy

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >what do you see if you do a  ?
>
> if i do this in the action page it says variable session is undefined.
>
> i have actually changed it as you said in the main page and created the
> structure straight in the session variable. I am the session.student.namefine 
> in the main page but it is not working in the calling page
>
> thanks
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Session variables problem

2006-09-25 Thread Sandra Clark
Are you perhaps doing a cflocation after setting the session?  If so, there
is a know bug that I don't think ever got resolved that precludes you from
doing that.  Try setting the session on a page without the cflocation and
see if that works 


Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 3:46 PM
To: CF-Talk
Subject: Re: Session variables problem

>what do you see if you do a  ?

if i do this in the action page it says variable session is undefined. 

i have actually changed it as you said in the main page and created the
structure straight in the session variable. I am the session.student.name
fine in the main page but it is not working in the action page

thanks



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
>Are session variables enabled from the CF administrator?
>
>Teddy
>
>On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>>
thanks, yes they are enabled in the cf admin and in the cfapplication tag in 
the application.cfc

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Charlie Griefer
sounds like sessions aren't enabled.

the 'action' page that errors out...it's within the same directory (or
subdirectory) of the Application.cfc that's enabling the session
management?

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >what do you see if you do a  ?
>
> if i do this in the action page it says variable session is undefined.
>
> i have actually changed it as you said in the main page and created the 
> structure straight in the session variable. I am the session.student.name 
> fine in the main page but it is not working in the calling page
>
> thanks
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Teddy Payne
Are session variables enabled from the CF administrator?

Teddy

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >1) is session management enabled in a  tag?
> >2) that's some ugly naming conventions right there.  too many
> >variables with the same name.
> >3) why not just create the struct in the session?
> >
> >
> > session.student = structNew();
> > session.student.name = "Fred";
> >
>
> lol, very goodpoint, thank you, i will change that.
>
> yes i have enabled the session variables in the cf admin and the
> application.cfc but still not recognising even if i try the following in
> the action page:
>
> #session.student.name#
>
> it still says session is undefined
>
> thanks
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
>what do you see if you do a  ?

if i do this in the action page it says variable session is undefined. 

i have actually changed it as you said in the main page and created the 
structure straight in the session variable. I am the session.student.name fine 
in the main page but it is not working in the action page

thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
>what do you see if you do a  ?

if i do this in the action page it says variable session is undefined. 

i have actually changed it as you said in the main page and created the 
structure straight in the session variable. I am the session.student.name fine 
in the main page but it is not working in the calling page

thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Charlie Griefer
what do you see if you do a  ?

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >1) is session management enabled in a  tag?
> >2) that's some ugly naming conventions right there.  too many
> >variables with the same name.
> >3) why not just create the struct in the session?
> >
> >
> > session.student = structNew();
> > session.student.name = "Fred";
> >
>
> lol, very goodpoint, thank you, i will change that.
>
> yes i have enabled the session variables in the cf admin and the 
> application.cfc but still not recognising even if i try the following in the 
> action page:
>
> #session.student.name#
>
> it still says session is undefined
>
> thanks
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Richard White
>1) is session management enabled in a  tag?
>2) that's some ugly naming conventions right there.  too many
>variables with the same name.
>3) why not just create the struct in the session?
>
>
> session.student = structNew();
> session.student.name = "Fred";
>

lol, very goodpoint, thank you, i will change that. 

yes i have enabled the session variables in the cf admin and the 
application.cfc but still not recognising even if i try the following in the 
action page:

#session.student.name#

it still says session is undefined

thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: best practices for encryption

2006-09-25 Thread Teddy Payne
If you use Encrypt, you will need the same key to Decrypt the data back.

There are multiple types of encryption that CF supports, so you may want to
research into which one fits you best.

You may want to look up the ideas of adding an additional string to your
encryption.  A good idea is to have a UUID and a the string you want to
encrypt concatenated together to provide that much more level of complexity
to decrypt.  I have heard this called "adding salt."

Also, when you pass the value to some action page, it is in clear text, so
you might want to put the process to encrypt a string for DB insertion in a
SSL encrypter folder.

I have seen the key stored in the application.cfm and .cfc files for ease of
decryption or stored in a file that is not in the webroot.  Either way, you
need to make sure it is not stored in a publically accessible area.

Teddy

On 9/25/06, Ray Champagne <[EMAIL PROTECTED]> wrote:
>
> So, first time I've ever ran into the need to encrypt data in my DB, and I
> already have a question.  When using the Encrypt function in CF, one must
> supply a key, I'm using the GenerateSecretKey function to get said
> key.  My
> question is, once I've stored the encrypted field in the database, where
> do
> I store the key so that I can use the decrypt function on the other side
> to
> retrieve the data?  Should generate a new key for every string, or use one
> that will work on the entire DB?  Never been down this road before, so any
> pointers would be helpful.
>
>
>
>
>
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Session variables problem

2006-09-25 Thread Charlie Griefer
1) is session management enabled in a  tag?
2) that's some ugly naming conventions right there.  too many
variables with the same name.
3) why not just create the struct in the session?


 session.student = structNew();
 session.student.name = "Fred";


4) if you do plan on copying a local variable structure into another
scope (e.g. session), be aware that structs are copied by reference.
if you want a deep copy, you'll want the duplicate() function.  e.g.


 variables.student = structNew();
 session.student = duplicate(varibles.student);




On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> I am having trouble with the session variables. I know there must be a simple 
> solution but this is the first time i have used them and not sure what i am 
> doing wrong.
>
> I am trying to assign a structure to the session variable in one page and 
> then use that session structure in the forms action page.
>
> In the first page i am trying to assign it as as follows:
>
> 
>   student = StructNew();
>   student.name = "Fred"
>   session.student = student;
> 
>
> then in the action page i am trying to call it as follows:
>
> 
>   not found
> 
>   found
> 
>
> it is telling me that the session variable is undefined
>
> thanks for any help
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


best practices for encryption

2006-09-25 Thread Ray Champagne
So, first time I've ever ran into the need to encrypt data in my DB, and I
already have a question.  When using the Encrypt function in CF, one must
supply a key, I'm using the GenerateSecretKey function to get said key.  My
question is, once I've stored the encrypted field in the database, where do
I store the key so that I can use the decrypt function on the other side to
retrieve the data?  Should generate a new key for every string, or use one
that will work on the entire DB?  Never been down this road before, so any
pointers would be helpful.

 

 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Session variables problem

2006-09-25 Thread Richard White
I am having trouble with the session variables. I know there must be a simple 
solution but this is the first time i have used them and not sure what i am 
doing wrong.

I am trying to assign a structure to the session variable in one page and then 
use that session structure in the forms action page.

In the first page i am trying to assign it as as follows:


  student = StructNew();
  student.name = "Fred"
  session.student = student;


then in the action page i am trying to call it as follows:


  not found

  found


it is telling me that the session variable is undefined

thanks for any help

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Win copy of Flex at CF_Underground! Early Bird ends 9/29/2006

2006-09-25 Thread Michael Smith
In this week's Newsletter:
*CF_Underground Raffle Give-a-way
*CF_Underground Early Bird
*MAXUP
*CFUNITED Video Package Launched
*Frameworks Conference Call for Speakers
*TeraTech Classes

--
*CF_Underground*
WIN a copy of Flex at CF_Underground during our raffle give-a-way.
You must attend to participate.

Join us prior to Adobe MAX conference in Las Vegas NV for the CF_Underground
VIII web developer conference - the “must attend” pre-show event. Enjoy 
lunch
and a beer on us! Have a great time with our speakers including Michael 
Smith,
Grant Straker, Shlomy Gantz, and Simon Horwith.

Sponsored by TeraTech, CFDJ, and Adobe

Speakers/Topics include:
Simon Horwith - "Putting Bread On The Table - Improving Your Marketability"
Michael Smith - "Top notch testing techniques"
Shlomy Gantz - "Confessions of a CF Assassin"
Grant Straker - "ColdFusion Performance Tuning"
Panel - ask your questions

We have one speaker slot open (Glenda Vigoreaux cancelled)- apply ASAP at
http://cf-underground.com/pages/callforspeakers.cfm

When: Sunday, October 22nd, 2006
Time: 9am-5pm
Where: The Beach Hotel 365 Convention Center Drive Las Vegas, NV 89109
Across from the Las Vegas Convention Center

The Early Bird rate is only $99, which expires September 29th 2006
After that the price is $129

Sign up today! http://cf-underground.com/

*MAXUP*
Join this community-led unconference-see, learn, and share coding
techniques, get insight into new technologies, and talk shop with
developers from Adobe and throughout the community.  MAXUP is an open
community-driven "BarCamp" style track at MAX 2006. MAXUP will be center
stage at MAX in the Community Lounge. Ted Patrick will be leading MAXUP
during MAX 2006 with Chafic Kazoun, Raymond Camden, Ryan Stewart, Ed
Sullivan, Dave Wolf, Danny Dura, and a host of others.


*CFUNITED Video Package Launched*
Purchase the Video Package from CFUNITED 2006. You will get all the 
video recordings available to
view right from your computer!
CFUNITED 2006 alumni can get the package for only $200
If you did not attend CFUNITED, the package is only $649 and we'll even 
send you the cool laptop
bookbag and materials!
Purchase now at www.cfunited.com


*Frameworks Conference Call for Speakers*
We have posted the Call for Speakers for Frameworks conference that will 
take place Jan/Feb 2007.


*TeraTech Classes*

Sep. 26
ColdFusion102 - http://www.teratech.com/training/CF_classes.cfm#CF102
Oct. 03
Flex Introduction Hands on - 
http://www.teratech.com/training/oc_classes.cfm#FX102H
Oct. 10
ColdFusion201 - http://www.teratech.com/training/CF_classes.cfm#CF201



Thanks and we hope to see you at the next TeraTech event!
www.teratech.com



-- 
Michael Smith, TeraTech Inc - Tools for Programmers(tm)
TeraTech voted Best Consulting Service by CFDJ readers!
CF/ASP Web, VB, Math, Access programming tools and consulting
405 E Gude Dr Ste 207, Rockville MD 20850 USA
Please check out http://www.teratech.com/ - email 
mailto:[EMAIL PROTECTED],
or call us for more information; in the USA at 1-800-447-9120,
+1-301-424-3903 International, Fax 301-762-8185  Thanks!




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: SSL Certificate Changed, CFHTTP broken

2006-09-25 Thread Steven Erat
If you're running the default JVM for ColdFusion, it will be
{cfmx}/runtime/jre/lib/security/cacerts otherwise it would be
{j2sdk1.4.2x}/jre/lib/security/cacerts

However, see this too:

The Race Condition of Conflicting SSL Certificate Stores
http://www.talkingtree.com/blog/index.cfm/2004/7/22/2SSLCerts



> -Original Message-
> From: Marc Funaro [mailto:[EMAIL PROTECTED] 
> Sent: Monday, September 25, 2006 2:50 PM
> To: CF-Talk
> Subject: Re: SSL Certificate Changed, CFHTTP broken 
> 
> >>   - Made sure that CF was looking at that keystore (there 
> >>   can be multiple
> >>   AFAK)
> >
> >Any information on how I can make sure CF is looking at that 
> keystore?  When
> >I do "keytool -list..." I can see the keys I've added to the 
> keystore.  They
> >are there, and they do import properly.  It really is as if CF is not
> >looking at the right keystore, or that I've imported these 
> into the wrong
> >keystore.  Any more info on this?
> >
> >THANKS SO MUCH FOR YOUR HELP... I forgot just how great this 
> community is.
> >
> >m
> 
> (bump) 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: XML tour dates in Flash along with "click for more details".

2006-09-25 Thread Kevin Aebig
Take a look a la google for "Flash Remoting Datagrid example".
What version of Flash are you using?

!k

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 12:42 PM
To: CF-Talk
Subject: XML tour dates in Flash along with "click for more details". 

I have an performance artist website that I'm building. She would like tour
dates to be pulled into Flash, and appear like so:

DATETIMELOCATIONDETAILS
-
9-21-2006   7pm your concert hall   click for details
10-01-2006  8pm local club  click for details
9-21-2006   7pm your concert hall   click for details
9-21-2006   7pm your concert hall   click for details

I've got an FLA that almost does this. But what it does is to create a
single movie clip for each line, then you click that line to "view details".
The problem is that FLA uses a fixed number of buttons and a isn't set up
for the main list to scroll.

So I need to display the XML data along with a click for more button that
simply hides the XML list and shows the details for the selected event. When
the user has satisfied their curiousity, they can close the details and go
back to the list.

Does anyone have something like this or have a link to a tutorial that would
show me how to achieve this?






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Database Interations - overloaded sites

2006-09-25 Thread Richard White
how do you feel about storing data in the session variable. as i think for 
storing the data in it will be great as if they are navigating among pages and 
come back to a page they were on before, then i would just check to see if the 
data is in the session variables. This would drastically lessen on the load on 
the database and the pre-processing needed for each page. 

but i see what you mean it depends on the amount of data that will be getting 
stored in the session variable. if it is down to judgement, there are certain 
wizards where the users will go through around 10 steps for each course they 
are undertaking. at the end of these wizards the session variables holding the 
data can be flushed. So i see what you mean it is all dependant on what you are 
doing

thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Database Interations - overloaded sites

2006-09-25 Thread Richard White
thanks for your reply alan. the system is not quite a complicated as a 
spreadsheet system, but also not a system for standardised data. The system 
could appear to be like  a course management system, therefore each users data 
will be different.

so although it wont need as much interaction with the database as a 
spreadsheet, i cant used cached data on the server or applicatiion variables. 

So, i suppose it just comes diwn to judgement?

thanks again

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread Che Vilnonis
Yeah, could do that. I as looking for something a little more robust. A nice
little app to sit in the Windows application tray. I swear I remember a post
on this list about this very topic.

~Che

-Original Message-
From: loathe [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 3:03 PM
To: CF-Talk
Subject: RE: Software to Start/Stop Groups of Services.


What OS?

Windows?

Just write a batch file.

> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 2:56 PM
> To: CF-Talk
> Subject: OT: Software to Start/Stop Groups of Services.
> 
> Does anyone know of any software that allows you to start/stop 
> "groups" of windows services? i.e. I would like to click a button and 
> Apache, CFMX and MySQL all start...
> hit again and they all stop. The same could be done with say a Apache, PHP
> and MySql grouping as well. Make sense?
> 
> Thanks, Che
> 
> 
> 



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: OT: Software to Start/Stop Groups of Services.

2006-09-25 Thread Trey Rouse
I've always handled this by just making them dependent services. So stopping
one forces stopping of what is dependent, etc.  Maybe not the best
sollution, but worked for my needs.

Trey Rouse

On 9/25/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
>
> Does anyone know of any software that allows you to start/stop "groups" of
> windows services?
> i.e. I would like to click a button and Apache, CFMX and MySQL all
> start...
> hit again and they all stop. The same could be done with say a Apache, PHP
> and MySql grouping as well. Make sense?
>
> Thanks, Che
>
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread loathe
To expand.

You would write a batch file that uses net start "service name".

Should be pretty basic.

> -Original Message-
> From: loathe [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 3:03 PM
> To: CF-Talk
> Subject: RE: Software to Start/Stop Groups of Services.
> 
> What OS?
> 
> Windows?
> 
> Just write a batch file.
> 
> > -Original Message-
> > From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> > Sent: Monday, September 25, 2006 2:56 PM
> > To: CF-Talk
> > Subject: OT: Software to Start/Stop Groups of Services.
> >
> > Does anyone know of any software that allows you to start/stop "groups"
> of
> > windows services?
> > i.e. I would like to click a button and Apache, CFMX and MySQL all
> > start...
> > hit again and they all stop. The same could be done with say a Apache,
> PHP
> > and MySql grouping as well. Make sense?
> >
> > Thanks, Che
> >
> >
> >
> 
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Displaying images from SQL Server in Fusebox

2006-09-25 Thread Sandra Clark
The problem is that in FB3, the images are displayed in relation to the
display fuse itself.  I believe that a variable exists that is set up in
each fbx_settings.cfm file for a circuit for an image and another one should
be in the apps_globals.cfm at the top for a baseline directory of the
webroot, but I can't remember the name of these.

So your dsp_view.cfm file should look something like




Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility


-Original Message-
From: Chris Alfano [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 2:24 PM
To: CF-Talk
Subject: Re: Displaying images from SQL Server in Fusebox

I'm going to look into the HTTP Proxy Debugger

As for my code, I believe I have all bases covered:

dsp_setImage.cfm -->
 SELECT attachment FROM
images WHERE task_index = #attributes.dTaskIndex# 





dsp_view.cfm -->


This leads to a broken image.

When I add the query and cfcontent to the actual dsp_view page, then the
image takes over the ENTIRE display -- hiding the header, footer, navigation
and other content associated with that file.

Cheers.
-c

>Chris,
>
>
>I'm pretty confident the problem is your getting extra whitespacing 
>somewhere in your output. Use an HTTP Proxy Debugger (like Fiddler or 
>Live HTTP Headers) to actually examine the data being served from the
server.
>
>Also, you might try adding the "type" attribute to the  
>tag to specify the mime type.
>
>-Dan



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Software to Start/Stop Groups of Services.

2006-09-25 Thread loathe
What OS?

Windows?

Just write a batch file.

> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 25, 2006 2:56 PM
> To: CF-Talk
> Subject: OT: Software to Start/Stop Groups of Services.
> 
> Does anyone know of any software that allows you to start/stop "groups" of
> windows services?
> i.e. I would like to click a button and Apache, CFMX and MySQL all
> start...
> hit again and they all stop. The same could be done with say a Apache, PHP
> and MySql grouping as well. Make sense?
> 
> Thanks, Che
> 
> 
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: SSL Certificate Changed, CFHTTP broken

2006-09-25 Thread Marc Funaro
>>   - Made sure that CF was looking at that keystore (there 
>>   can be multiple
>>   AFAK)
>
>Any information on how I can make sure CF is looking at that keystore?  When
>I do "keytool -list..." I can see the keys I've added to the keystore.  They
>are there, and they do import properly.  It really is as if CF is not
>looking at the right keystore, or that I've imported these into the wrong
>keystore.  Any more info on this?
>
>THANKS SO MUCH FOR YOUR HELP... I forgot just how great this community is.
>
>m

(bump)

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


OT: Software to Start/Stop Groups of Services.

2006-09-25 Thread Che Vilnonis
Does anyone know of any software that allows you to start/stop "groups" of
windows services?
i.e. I would like to click a button and Apache, CFMX and MySQL all start...
hit again and they all stop. The same could be done with say a Apache, PHP
and MySql grouping as well. Make sense?

Thanks, Che


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Database Interations - overloaded sites

2006-09-25 Thread Alan Rother
Well, the question is more complicated than that.

It really comes down to what your system does. If it's an online spreadsheet
program, theres going to be a large amount of database interaction and you
are not going to be able to store very much of it in the session.

Now, if it's some sort of logged in intranet/extranet where users come to
get standardized information, that may be stored in the database, you can do
all sort od preformance tuning using cached queries in shared scopes like
Application or Server.


It all depends on what level of data interaction your app will expose to the
users.


-- 
Alan Rother
Macromedia Certified Advanced ColdFusion MX 7 Developer


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Posting variables

2006-09-25 Thread Richard White
very goodpoint about the js dependant, and the pre-processing, thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: cfset dependent on javascript problem

2006-09-25 Thread Jake Churchill
It's Monday...It's a miracle that I thought of that :)

Jonathan Hicks wrote:
> Thanks Jake and Teddy for the help!  I'm just using the hidden fields on the 
> form method.  I should have known to do that, but it's just been a long day 
> and my brain's not working right today I guess!
>
>
>   
>> if it is a submit button, just put onClick="javascript:confirm('Are you 
>> sure...');" and it should handle it all correctly.
>>
>> Jonathan Hicks wrote:
>> 
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: cfset dependent on javascript problem

2006-09-25 Thread Jonathan Hicks
Thanks Jake and Teddy for the help!  I'm just using the hidden fields on the 
form method.  I should have known to do that, but it's just been a long day and 
my brain's not working right today I guess!


>if it is a submit button, just put onClick="javascript:confirm('Are you 
>sure...');" and it should handle it all correctly.
>
>Jonathan Hicks wrote:
>>

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: CFChart, works on DevEdition. not on Dev Server

2006-09-25 Thread Snake
Make sure you have the CFIDE and JRUNSCRIPTS virtual directories.

--
Russ Michaels 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 25 September 2006 19:00
To: CF-Talk
Subject: CFChart, works on DevEdition. not on Dev Server

All,

I'm able to display multiple cfcharts on one page viewing it locally through
the cf developer's edition on localhost. However, when I upload the same
code to a dev or production server the entire page generates all the dynamic
code it's suppose to, accept the charts are not there and there is no error
message.

We're running the latest version of CFMX.

What are some things I can check to solve this issue?

Thanks

D-



~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Posting variables

2006-09-25 Thread Richard White
>Updating one column verses 10 or even 50 wont make much difference
>PLUS this is done on the DB server, so CF just passes this on (if it's
>on 2 different servers). You wont see a performance increase from
>updating only a few columns.
>If you wanted the colors thingy.. you could use a Confirm page.. have
>the update page post data to a confirm page "Are you sure you want to
>overwrite these variables", or whatever.
>There you could actually check the form data against the DB data...
>But anyways, yeah if you wanted it on fly, you'd have to use JS or
>some client side language to change the colors.
>
>On 9/25/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
>>

thanks greg, its a good point that it is only a few columns more on this 
occassion, later i will be getting into much more complex forms where there 
will be interactions with serveral tables in the database where i will need to 
use the hidden fields suggsted.

Thanks for your reply

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


XML tour dates in Flash along with "click for more details".

2006-09-25 Thread Andy Matthews
I have an performance artist website that I'm building. She would like tour
dates to be pulled into Flash, and appear like so:

DATETIMELOCATIONDETAILS
-
9-21-2006   7pm your concert hall   click for details
10-01-2006  8pm local club  click for details
9-21-2006   7pm your concert hall   click for details
9-21-2006   7pm your concert hall   click for details

I've got an FLA that almost does this. But what it does is to create a
single movie clip for each line, then you click that line to "view details".
The problem is that FLA uses a fixed number of buttons and a isn't set up
for the main list to scroll.

So I need to display the XML data along with a click for more button that
simply hides the XML list and shows the details for the selected event. When
the user has satisfied their curiousity, they can close the details and go
back to the list.

Does anyone have something like this or have a link to a tutorial that would
show me how to achieve this?




~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Posting variables

2006-09-25 Thread Trey Rouse
You can also double post the fields with original data.
form.lastname_orriginal, form.lastname_new, then compare the values on your
action page.  This could then serve as the comparison operator for your
javascript coloring.  If the 2 values don't match, change background to red,
if the user changes it back it goes green again, etc.

The other option is to have your color function update a list that you store
in a hidden form element.  This list contains the fieldnames that have
changed, then just loop over the list and update as needed.  I don't like
this as its extremely JS dependent, and your app breaks if JS is disabled.

I'm not a big fan of this either sollution, but it accomplishes what your
looking to do.  Unless your updates span many tables, I don't feel your
saving much database time by only updating 3 fields vs 30 fields, and your
adding some effort in pre-processing now.   I've not tested, but I bet the
pre-processing in CF is more expensive than the additional fields in the
insert.  However, as I said before, the number of tables your updating would
impact this significantly.

Trey Rouse

On 9/25/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
>
> The red and green aspect would probably be faciliated by client side
> scripting like Javascript to change the colors of the data fields as they
> are modified.  OnChange event should handle those just fine.
>
> Are you opposed to querying the database for a complete recordset?  What I
> mean by this, you can load the record in action page and then compare
> against the variables in the form scope.  Once you compare the fields that
> have changes, you can create a structure to store the names of the column
> and the data to be updated.  After you create the structure, loop over the
> structure inside of cfquery statement with the column names in insert into
> tableName () area and the values in the values() area.
>
> Does that make sense?
>
> Teddy
>
> On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
> > Hi, i am used to programming standalone computer applications not
> internet
> > applications and would really appreciate some advice.
> >
> > I have a form with quite a few fields (text boxes etc...) on it. For
> > additiional HCI, when the user edits the form from pre-exsting data, i
> like
> > to have the fields all green, then if they edit some of the fields they
> turn
> > red, to show that the changed data needs to be saved.
> >
> > To lesson the load on the database interation, i would like to program
> it
> > so that when the user clicks save changes, it only updates the database
> > based on the fields that are red. This is quite simple in standalone
> > computer apps as i just code it to look for the fields that are red, but
> of
> > course with the internet apps i cant check this as when the user clicks
> > submit the fields are gone.
> >
> > Can anyone give me some advice on how this can be done. I am a bit lost
> > with this. Thanks
> >
> >
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Posting variables

2006-09-25 Thread Richard White
>I've done something like that. My method was to have a hidden form field
>with the original data and compare it to the submitted data.
>
>
>
>
>
>
>
>   
>   ...
> 
>
>
>Of course, I'd loop on form.fieldnames (or a custom list of field names
>to check) so I wouldn't have to repeat the same code for every field.
>
>Another option might be to use JavaScript to disable the unchanged
>fields. Disabled fields aren't in the FORM scope of the action page.
>

Thanks for a reply. this makes perfect sense, thanks very much. its been 
bugging me for hours, thanks :)

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Displaying images from SQL Server in Fusebox

2006-09-25 Thread Chris Alfano
I'm going to look into the HTTP Proxy Debugger

As for my code, I believe I have all bases covered:

dsp_setImage.cfm -->

SELECT attachment
FROM images
WHERE task_index = #attributes.dTaskIndex#






dsp_view.cfm -->


This leads to a broken image.

When I add the query and cfcontent to the actual dsp_view page, then the image 
takes over the ENTIRE display -- hiding the header, footer, navigation and 
other content associated with that file.

Cheers.
-c

>Chris,
>
>
>I'm pretty confident the problem is your getting extra whitespacing
>somewhere in your output. Use an HTTP Proxy Debugger (like Fiddler or Live
>HTTP Headers) to actually examine the data being served from the server.
>
>Also, you might try adding the "type" attribute to the  tag to
>specify the mime type.
>
>-Dan

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: Posting variables

2006-09-25 Thread Greg Morphis
Updating one column verses 10 or even 50 wont make much difference
PLUS this is done on the DB server, so CF just passes this on (if it's
on 2 different servers). You wont see a performance increase from
updating only a few columns.
If you wanted the colors thingy.. you could use a Confirm page.. have
the update page post data to a confirm page "Are you sure you want to
overwrite these variables", or whatever.
There you could actually check the form data against the DB data...
But anyways, yeah if you wanted it on fly, you'd have to use JS or
some client side language to change the colors.

On 9/25/06, Teddy Payne <[EMAIL PROTECTED]> wrote:
> The red and green aspect would probably be faciliated by client side
> scripting like Javascript to change the colors of the data fields as they
> are modified.  OnChange event should handle those just fine.
>
> Are you opposed to querying the database for a complete recordset?  What I
> mean by this, you can load the record in action page and then compare
> against the variables in the form scope.  Once you compare the fields that
> have changes, you can create a structure to store the names of the column
> and the data to be updated.  After you create the structure, loop over the
> structure inside of cfquery statement with the column names in insert into
> tableName () area and the values in the values() area.
>
> Does that make sense?
>
> Teddy
>
> On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
> > Hi, i am used to programming standalone computer applications not internet
> > applications and would really appreciate some advice.
> >
> > I have a form with quite a few fields (text boxes etc...) on it. For
> > additiional HCI, when the user edits the form from pre-exsting data, i like
> > to have the fields all green, then if they edit some of the fields they turn
> > red, to show that the changed data needs to be saved.
> >
> > To lesson the load on the database interation, i would like to program it
> > so that when the user clicks save changes, it only updates the database
> > based on the fields that are red. This is quite simple in standalone
> > computer apps as i just code it to look for the fields that are red, but of
> > course with the internet apps i cant check this as when the user clicks
> > submit the fields are gone.
> >
> > Can anyone give me some advice on how this can be done. I am a bit lost
> > with this. Thanks
> >
> >
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


Re: cfset dependent on javascript problem

2006-09-25 Thread Jake Churchill
if it is a submit button, just put onClick="javascript:confirm('Are you 
sure...');" and it should handle it all correctly.

Jonathan Hicks wrote:
> what i'm trying to do is a check from the user.  if the user clicks ok, then 
> a database update is completed, or if the user clicks cancel, nothing should 
> happen.  i was trying to set closeboxflag2 to true so that:
>
> 
> //perform database update
> 
> //do nothing
> 
>
> hope that makes sense, thanks for the help!
>
>
>   
>> I'm not sure where you are trying to reference closeboxflag2 from but 
>> 
> >from the looks of your code, you are mixing things that shouldn't be 
>   
>> mixed.  The following works:
>>
>> 
>>var closeboxflag = false;
>>var closeboxflag = "";
>>closeboxflag = confirm("Are you sure you want to close?")
>>if (closeboxflag == true) {
>>  closeboxflag2 = "true";
>>} else {
>>  closeboxflag2 = "false";
>>}
>>
>>
>> Jonathan Hicks wrote:
>> 
>
> 

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

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


RE: Posting variables

2006-09-25 Thread Everett, Al \(NIH/NIGMS\) [C]
I've done something like that. My method was to have a hidden form field
with the original data and compare it to the submitted data.








...
 


Of course, I'd loop on form.fieldnames (or a custom list of field names
to check) so I wouldn't have to repeat the same code for every field.

Another option might be to use JavaScript to disable the unchanged
fields. Disabled fields aren't in the FORM scope of the action page.


-Original Message-
From: Richard White
Sent: Monday, September 25, 2006 1:54 PM
To: CF-Talk
Subject: Posting variables

Hi, i am used to programming standalone computer applications not
internet applications and would really appreciate some advice.

I have a form with quite a few fields (text boxes etc...) on it. For
additiional HCI, when the user edits the form from pre-exsting data, i
like to have the fields all green, then if they edit some of the fields
they turn red, to show that the changed data needs to be saved.  

To lesson the load on the database interation, i would like to program
it so that when the user clicks save changes, it only updates the
database based on the fields that are red. This is quite simple in
standalone computer apps as i just code it to look for the fields that
are red, but of course with the internet apps i cant check this as when
the user clicks submit the fields are gone. 

Can anyone give me some advice on how this can be done. I am a bit lost
with this. Thanks

~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254090
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   >