cf8 Ent to standard.. System Probe!

2008-05-27 Thread Paul Ihrig
hey guys we downgraded from trial ent
to full standard.
i had set up a system probe in ent.
now i cant un do it or change it since it went to standard.
i still get alerts, but cant undo probe!

ideas?


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

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


Re: cf8 Ent to standard.. System Probe!

2008-05-27 Thread Raymond Camden
Remove your serial #. Your server will be in dev mode. Do your edit,
then enter the serial again.

FYI, this is also a nice way to quickly do CAR work for backups.

On Tue, May 27, 2008 at 5:47 AM, Paul Ihrig [EMAIL PROTECTED] wrote:
 hey guys we downgraded from trial ent
 to full standard.
 i had set up a system probe in ent.
 now i cant un do it or change it since it went to standard.
 i still get alerts, but cant undo probe!

 ideas?


 

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

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


Re: cfcs good practise

2008-05-27 Thread Richard White
Excellent thanks Jaime, you have given me a lot to think about. 

i think its best for me to start looking into these DAO's and refer back to 
what you have said, and get back to you again with more questions if you don't 
mind :)

thanks again for your help, really appreciate it

Richard




Richard,

If your project.add() method is adding a test - yeah, that sounds right.
Although I'd call it addTest().  And then internally the project would
delegate to a DAO to do the add.  So project.addTest() would call
TestDAO.add().

project.addTest() would take a parameter of type Test - i.e. you'd first
create a Test object, then pass it to addTest().  It's also often convient
to have a project.createTest(), which takes as parameters all the basic
properties required to create a new Test object and returns the new Test.
So you might say:
project.addTest(project.createTest(param1, param2));

OK, some details:

1.
In this example TestDAO is acting as a collection object, albeit
specifically a database-backed collection.  You can imagine you could do a
similar thing with an in-memory collection like a struct.  The natural
progression is to make in-memory collections act just like database-backed
collections so you can switch between the two, but in practice there are
some ColdFusion-specific issues with doing this.

2.
project.createTest() is a factory method, which makes Project a factory
for Tests.  This makes sense if all tests have to live inside projects.  If
tests can stand alone, you need a different factory, maybe a dedicated
factory object that encapsulates the creation logic for your top-level
domain objects.  You'll probably need this for creating Project instances
anyway.  If this same top-level factory also has a DAO that lets it
manipulate existing Projects, it's starting to look like a service object.

3.
Where do all these DAOs come from?  You can have your top-level factory know
how to create them, and then the creation logic for your domain objects
would make sure that each domain object has it's DAO.  So you'd have
something like (in pseudocode):

component myAppFactory:

   method createTestDAO()
   return new TestDAO(DSN = my_datasource)

   method createProject (name_param, description_param)
   return new Project(
   name = name_param,
   description = description_param,
   dao = createTestDAO()
   )

Hope this helps

Jaime Metcher

 

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

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


Re: powered by and copyright

2008-05-27 Thread Richard White
Ok thanks, in the product we are working on , it does use our own framework in 
the background therefore how do you write this down. i.e. we have a company 
name and a product name, therefore is it:

 [product name] powered by [company name] copyright 2008 all rights reserved

or... how do you do it

thanks

I use it only within projects that use my own frameworks or products as
their backbone.

!k

Hi

a bit of an odd question...

i have noticed that software companies tend to have the words powered by, as
well as copyright on their software.

for example, software name powered by company name copyright 2008

however, this is just one example and no one seems to have a set structure
i.e. some have it powered by software name, copyright company name and
year

i cant seem to find any information firstly on why do people use powered by
and in what context, and what is the best way to add these (including the
copyright) to your software

like i said, and odd question... but would appreciate your feedback on what
you do

thanks 

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

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


Re: cf8 Ent to standard.. System Probe!

2008-05-27 Thread Paul Ihrig
CAR?

thanks Ray

On Tue, May 27, 2008 at 7:28 AM, Raymond Camden [EMAIL PROTECTED] wrote:

 Remove your serial #. Your server will be in dev mode. Do your edit,
 then enter the serial again.

 FYI, this is also a nice way to quickly do CAR work for backups.

 On Tue, May 27, 2008 at 5:47 AM, Paul Ihrig [EMAIL PROTECTED] wrote:
  hey guys we downgraded from trial ent
  to full standard.
  i had set up a system probe in ent.
  now i cant un do it or change it since it went to standard.
  i still get alerts, but cant undo probe!
 
  ideas?
 
 
 

 

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

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


Re: cf8 Ent to standard.. System Probe!

2008-05-27 Thread Paul Ihrig
ok, how to i remove the serial  number?
i see i can enter one
i tried -
but no go


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

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


Re: cf8 Ent to standard.. System Probe!

2008-05-27 Thread Raymond Camden
ColdFusion Archive. Best way to backup/restore settings. It's only
available in Ent, but if you need to do a backup, it's worth it to
remove the serial, make the car, and restore the serial. I find it the
easiest way to migrate settings. Some folks simply zip up the XML
config files though.

On Tue, May 27, 2008 at 7:30 AM, Paul Ihrig [EMAIL PROTECTED] wrote:
 CAR?

 thanks Ray

 On Tue, May 27, 2008 at 7:28 AM, Raymond Camden [EMAIL PROTECTED] wrote:

 Remove your serial #. Your server will be in dev mode. Do your edit,
 then enter the serial again.

 FYI, this is also a nice way to quickly do CAR work for backups.

 On Tue, May 27, 2008 at 5:47 AM, Paul Ihrig [EMAIL PROTECTED] wrote:
  hey guys we downgraded from trial ent
  to full standard.
  i had set up a system probe in ent.
  now i cant un do it or change it since it went to standard.
  i still get alerts, but cant undo probe!
 
  ideas?
 
 
 



 

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

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


Re: cf8 Ent to standard.. System Probe!

2008-05-27 Thread Raymond Camden
edit /cfroot/lib/license.properties

On Tue, May 27, 2008 at 7:32 AM, Paul Ihrig [EMAIL PROTECTED] wrote:
 ok, how to i remove the serial  number?
 i see i can enter one
 i tried -
 but no go


 

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

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


IN operator varchar to INT ms sql 2000

2008-05-27 Thread Paul Ihrig
Hey Guys!
i am currently doing a LIKE to see if the value is in a list
but i know this is wrong because as the list grows i will run into problems
say my url var is cfm?n1Id=6

i can do on my select statement
AND Events_Placement LIKE (N'%#URL.n1Id#%')
but am afraid if i get a 16 or 61 i will hose every thing...


SELECT Events_ID, Events_Placement
FROM events_main
WHERE (NOT (Events_Placement IS NULL))

returns

Events_IDEvents_Placement
940,5,6
1240,2,4

so i want to do
AND 6 IN (Events_Placement)

but i keep getting error
converting varchar to data type init

i have tried casting, with no luck
also CONTAINS...

any help would be great!


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

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


Re: powered by and copyright

2008-05-27 Thread Casey Dougall
On Tue, May 27, 2008 at 7:56 AM, Richard White [EMAIL PROTECTED] wrote:

 Ok thanks, in the product we are working on , it does use our own framework
 in the background therefore how do you write this down. i.e. we have a
 company name and a product name, therefore is it:

  [product name] powered by [company name] copyright 2008 all rights
 reserved

 or... how do you do it

 thanks


I would do  a copyright from start year to end year, that way if you need to
bring a lawsuit to light you have more protection. Of course registration at
the time it's created assists as well.

http://www.copyright.gov/help/faq/faq-general.html#mywork

*When is my work protected?*
Your work is under copyright protection the moment it is created and fixed
in a tangible form that it is perceptible either directly or with the aid of
a machine or device.

*Do I have to register with your office to be protected?*
No. In general, registration is voluntary. Copyright exists from the moment
the work is created. You will have to register, however, if you wish to
bring a lawsuit for infringement of a U.S. work. See Circular 1, *Copyright
Basics*, section Copyright
Registrationhttp://www.copyright.gov/circs/circ1.html#cr.


*Why should I register my work if copyright protection is automatic?*
Registration is recommended for a number of reasons. Many choose to register
their works because they wish to have the facts of their copyright on the
public record and have a certificate of registration. Registered works may
be eligible for statutory damages and attorney's fees in successful
litigation. Finally, if registration occurs within 5 years of publication,
it is considered *prima facie* evidence in a court of law. See
Circular 1, *Copyright
Basics*, section Copyright
Registrationhttp://www.copyright.gov/circs/circ1.html#cr
and Circular 38b http://www.copyright.gov/circs/circ38b.pdf, *Highlights
of Copyright Amendments Contained in the Uruguay Round Agreements Act (URAA)
*, on non-U.S. works.


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

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


Cold Fusion 8 Question

2008-05-27 Thread Matt Altman
Hello,

 

I am trying to set up a new instance of Cold Fusion 8 on one of our
servers.  We have a three-tier environment set up with a separate web
server.  The problem we are running into is that we want to be able to
deploy compiled code.  We are running through the multi-server
configuration because we do not have JRun installed anywhere.  We want
to be able to deploy sites/modules separately which would be through a
CAR file.  However, if I am remembering correctly, CAR files are not
compiled.  We were going to use WAR files since they were compiled but
we do not need deploy the entire application, settings, sites, etc.  We
just want to deploy the individual sites themselves.  Let me know if
this makes any sense or if there are any questions.

 

Thank you,

 

Matt

 

 



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

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


Re: IN operator varchar to INT ms sql 2000

2008-05-27 Thread Dominic Watson
Events_Placement_ID (PK - autoincrementing integer)
Events_ID (FK)
Placement_ID (FK) - or a better name, related to what those ids are linked to

I should add that you also need a unique constraint on the two foreign
keys and that the primary key is optional and only necessary should
you need to relate to a single event placement in another table.

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

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

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


Re: IN operator varchar to INT ms sql 2000

2008-05-27 Thread Dominic Watson
I think this is where you need normalisation of your
'events_placement' data. Storing the event placements as a list of ids
makes it a nightmare to do this sort of query. Instead, have a
separate table called 'events_placement' with the following fields:

Events_Placement_ID (PK - autoincrementing integer)
Events_ID (FK)
Placement_ID (FK) - or a better name, related to what those ids are linked to

So now, for each placement in an event, you have a single row of data
in the 'events_placement' table which makes it a breeze to query. Now
your query can look like this:

SELECT Events_ID, Events_Placement
FROM events_main
WHERE 6 IN (SELECT Placement_ID FROM Events_Placement WHERE
Events_Placement .Events_ID = events_main.Events_ID )

HTH

Dominic

2008/5/27 Paul Ihrig [EMAIL PROTECTED]:
 Hey Guys!
 i am currently doing a LIKE to see if the value is in a list
 but i know this is wrong because as the list grows i will run into problems
 say my url var is cfm?n1Id=6

 i can do on my select statement
 AND Events_Placement LIKE (N'%#URL.n1Id#%')
 but am afraid if i get a 16 or 61 i will hose every thing...


 SELECT Events_ID, Events_Placement
 FROM events_main
 WHERE (NOT (Events_Placement IS NULL))

 returns

 Events_IDEvents_Placement
 940,5,6
 1240,2,4

 so i want to do
 AND 6 IN (Events_Placement)

 but i keep getting error
 converting varchar to data type init

 i have tried casting, with no luck
 also CONTAINS...

 any help would be great!


 

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

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


Re: (ot) Spry Xml sources

2008-05-27 Thread Massimo Foti
 I'm having trouble loading a spry xml source in IE. If my source file
 is a .cfm file (that outputs xml), IE refuses to load the data while
 Firefox has no problem. If it is a .xml file outputting the exact same
 content, it works fine in IE and firefox.

 Has anyone encountered this / know what to do?

Most likely you are not serving the CF-generated XML using the correct 
mime-type. Try to add it using something like:

cfcontent type=application/xml; charset=utf-8

BTW Are you sure you are using latest Spry's release?


Massimo Foti, web-programmer for hire
Tools for ColdFusion, JavaScript and Dreamweaver:
http://www.massimocorner.com



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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306065
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) Spry Xml sources

2008-05-27 Thread Dominic Watson
 cfcontent type=application/xml; charset=utf-8

Thank you! Obvious really, I wasn't using cfcontent at all - just
outputting as regular html.

Dominic :)

-- 
Blog it up: http://fusion.dominicwatson.co.uk

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

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


Re: IN operator varchar to INT ms sql 2000

2008-05-27 Thread Paul Ihrig
ok...
i have been trying to just make lists like this for the last 3 weeks.
guess your right
will create a new table and do it the right way.
thanks!
-paul

On Tue, May 27, 2008 at 10:20 AM, Dominic Watson 
[EMAIL PROTECTED] wrote:

 Events_Placement_ID (PK - autoincrementing integer)
 Events_ID (FK)
 Placement_ID (FK) - or a better name, related to what those ids are linked
 to

 I should add that you also need a unique constraint on the two foreign
 keys and that the primary key is optional and only necessary should
 you need to relate to a single event placement in another table.

 Dominic

 --
 Blog it up: http://fusion.dominicwatson.co.uk

 

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

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


Re: IN operator varchar to INT ms sql 2000

2008-05-27 Thread Dominic Watson
 have been trying to just make lists like this for the last 3 weeks...

Yeah, I find doing it right and having a few more tables always
*saves* effort rather than creating it ;)

Dominic
-- 
Blog it up: http://fusion.dominicwatson.co.uk

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

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


RE: (ot) Spry Xml sources

2008-05-27 Thread Steven Milburn
Can you show us the code from the cfm page?  One thing you may want to look for 
is to make sure there is no additional white-space at the top of the page 
before the xml is outputted.  I've had this before and wrapped all CF code in 
cfsilent to remove that white-space and it fixed the problem.

The mime-type as suggested by Massimo is something to consider.  You MUST have 
it if you are returning XML from a CFC to use with Spry, but I've never had to 
use it when simply hitting a .cfm.

Hope this helps.
Steve

-Original Message-
From: Dominic Watson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 10:43 AM
To: CF-Talk
Subject: (ot) Spry Xml sources

Hi all,

I'm having trouble loading a spry xml source in IE. If my source file
is a .cfm file (that outputs xml), IE refuses to load the data while
Firefox has no problem. If it is a .xml file outputting the exact same
content, it works fine in IE and firefox.

Has anyone encountered this / know what to do?

Here is the offending code:

var ds = presentation.cfm; // works in Firefox but not IE
//var ds = presentation.xml; // works in IE and Firefox
var dsArgs = {usecache: false, method: POST};
var dsPresentation = new Spry.Data.XMLDataSet(ds, spresentation, dsArgs);

Dominic

--
Blog it up: http://fusion.dominicwatson.co.uk



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

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


(ot) Spry Xml sources

2008-05-27 Thread Dominic Watson
Hi all,

I'm having trouble loading a spry xml source in IE. If my source file
is a .cfm file (that outputs xml), IE refuses to load the data while
Firefox has no problem. If it is a .xml file outputting the exact same
content, it works fine in IE and firefox.

Has anyone encountered this / know what to do?

Here is the offending code:

var ds = presentation.cfm; // works in Firefox but not IE
//var ds = presentation.xml; // works in IE and Firefox
var dsArgs = {usecache: false, method: POST};
var dsPresentation = new Spry.Data.XMLDataSet(ds, spresentation, dsArgs);

Dominic

-- 
Blog it up: http://fusion.dominicwatson.co.uk

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306063
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) Spry Xml sources

2008-05-27 Thread RobG
Oh wow... quite a trip.  So you're goal is to turn her off on ever
using the Lance again? :)  Dang I don't think I'd even try that with
an 1181...

Sounds like you have a busy weekend!  I'm headed for Reno on Friday
morning.  Ro's 2nd birthday is on Saturday.

Rob

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

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


Re: (ot) Spry Xml sources

2008-05-27 Thread Dominic Watson
Cheers Steve - yeh, Massimo was right with the mime type (as you also
were, but I had whitespace covered). Lesson learned!

Dominic

2008/5/27 Steven Milburn [EMAIL PROTECTED]:
 Can you show us the code from the cfm page?  One thing you may want to look 
 for is to make sure there is no additional white-space at the top of the page 
 before the xml is outputted.  I've had this before and wrapped all CF code in 
 cfsilent to remove that white-space and it fixed the problem.

 The mime-type as suggested by Massimo is something to consider.  You MUST 
 have it if you are returning XML from a CFC to use with Spry, but I've never 
 had to use it when simply hitting a .cfm.

 Hope this helps.
 Steve

 -Original Message-
 From: Dominic Watson [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 27, 2008 10:43 AM
 To: CF-Talk
 Subject: (ot) Spry Xml sources

 Hi all,

 I'm having trouble loading a spry xml source in IE. If my source file
 is a .cfm file (that outputs xml), IE refuses to load the data while
 Firefox has no problem. If it is a .xml file outputting the exact same
 content, it works fine in IE and firefox.

 Has anyone encountered this / know what to do?

 Here is the offending code:

var ds = presentation.cfm; // works in Firefox but not IE
//var ds = presentation.xml; // works in IE and Firefox
var dsArgs = {usecache: false, method: POST};
var dsPresentation = new Spry.Data.XMLDataSet(ds, spresentation, dsArgs);

 Dominic

 --
 Blog it up: http://fusion.dominicwatson.co.uk



 

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

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


Re: powered by and copyright

2008-05-27 Thread Tom Chiverton
On Tuesday 27 May 2008, Casey Dougall wrote:
 http://www.copyright.gov/help/faq/faq-general.html#mywork

This is in the US, and I assume Richard is in the UK.

  why do people use powered by and in what context

Promotion, of the thing they're 'powered by', I would think.
If I made a kick-ass public site using someone else's stuff, it would be nice 
to be able to say they help with it.

The license of the 'powered by' item may also *require* such a notice 
(i.e. 'creative commons attribution share-alike') or prohibit one(!).

 what is the best way to add these (including the copyright) to your software

Ask a lawyer :-)
Followed by a copy writer (someone who edits, not the other sense!).

I'd be tempted, as my/our code is in a source control system that can prove 
when we created it, to just go with something simple, in which case either of
FooApplication, powered by BazFramework. Copyright Something #year(now())#.
or 
FooApplication, copyright Something #year(now())#. Powered by BazFramework.

Some 'powered by' items include icons/buttons too, which may look nice if they 
fit the theme of your site - but check if you are allowed to use them without 
permission and/or modify them.
-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306071
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) Spry Xml sources

2008-05-27 Thread Didgiman
Can I say huh?

On Tue, May 27, 2008 at 5:28 PM, RobG [EMAIL PROTECTED] wrote:

 Oh wow... quite a trip.  So you're goal is to turn her off on ever
 using the Lance again? :)  Dang I don't think I'd even try that with
 an 1181...

 Sounds like you have a busy weekend!  I'm headed for Reno on Friday
 morning.  Ro's 2nd birthday is on Saturday.

 Rob

 

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

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


Re: powered by and copyright

2008-05-27 Thread Gerald Guido
 This is in the US, and I assume Richard is in the UK.

Even with that said here is a good reference on US Copyright law

http://smallbusiness.findlaw.com/copyright/

Unfortunately I ran into copyright issues a few years back and found this
site to be invaluable.

G$


On Tue, May 27, 2008 at 11:44 AM, Tom Chiverton 
[EMAIL PROTECTED] wrote:

 On Tuesday 27 May 2008, Casey Dougall wrote:
  http://www.copyright.gov/help/faq/faq-general.html#mywork

 This is in the US, and I assume Richard is in the UK.

   why do people use powered by and in what context

 Promotion, of the thing they're 'powered by', I would think.
 If I made a kick-ass public site using someone else's stuff, it would be
 nice
 to be able to say they help with it.

 The license of the 'powered by' item may also *require* such a notice
 (i.e. 'creative commons attribution share-alike') or prohibit one(!).

  what is the best way to add these (including the copyright) to your
 software

 Ask a lawyer :-)
 Followed by a copy writer (someone who edits, not the other sense!).

 I'd be tempted, as my/our code is in a source control system that can prove
 when we created it, to just go with something simple, in which case either
 of
 FooApplication, powered by BazFramework. Copyright Something
 #year(now())#.
 or
 FooApplication, copyright Something #year(now())#. Powered by
 BazFramework.

 Some 'powered by' items include icons/buttons too, which may look nice if
 they
 fit the theme of your site - but check if you are allowed to use them
 without
 permission and/or modify them.
 --
 Tom Chiverton

 

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

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

 CONFIDENTIALITY

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

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

 

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

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


Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
I'm having a problem getting a session variable to initialize using the 
onSessionStart method of Application.cfc.  I'm trying to instantiate a cfc 
object named rd into the session scope, and initialize it.  I'm using J2EE 
sessions.  No matter what I do, the rd session variable is not created.  I 
tried both with and without a lock on the session scope, but nothing works.  
Any ideas?  Here is a snippet from my Application.cfc:

cffunction
name=OnSessionStart
access=public
returntype=void
output=false
hint=Fires when the session is first created.

!--- Instantiate the RecordDrawings.cfc into session.rd variable ---
cflock scope=session type=exclusive timeout=10
cfset session.rd = 
createObject(component,cfc.RecordDrawings).init(application.DS.ESGTracking)
/cflock
!--- Return out. ---
cfreturn /
/cffunction

Thanks for any assistance.
Carl 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Raymond Camden
Why do you have locks? CF single threads these methods automatically.
Secondly, I'd get rid of the cfreturn even though it isn't doing
anything. Lastly, try renaming your application temporarily. That
would force new sessions to be created.

On Tue, May 27, 2008 at 11:35 AM, Carl Von Stetten [EMAIL PROTECTED] wrote:
 I'm having a problem getting a session variable to initialize using the 
 onSessionStart method of Application.cfc.  I'm trying to instantiate a cfc 
 object named rd into the session scope, and initialize it.  I'm using J2EE 
 sessions.  No matter what I do, the rd session variable is not created.  I 
 tried both with and without a lock on the session scope, but nothing works.  
 Any ideas?  Here is a snippet from my Application.cfc:

 cffunction
name=OnSessionStart
access=public
returntype=void
output=false
hint=Fires when the session is first created.

!--- Instantiate the RecordDrawings.cfc into session.rd variable ---
cflock scope=session type=exclusive timeout=10
cfset session.rd = 
 createObject(component,cfc.RecordDrawings).init(application.DS.ESGTracking)
/cflock
!--- Return out. ---
cfreturn /
 /cffunction

 Thanks for any assistance.
 Carl

 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Why do you have locks? CF single threads these methods automatically.
Secondly, I'd get rid of the cfreturn even though it isn't doing
anything. Lastly, try renaming your application temporarily. That
would force new sessions to be created.

On Tue, May 27, 2008 at 11:35 AM, Carl V


Ray,

Thank you for responding.  The lock was just there for troubleshooting.  I 
removed it.  I also removed the return, and renamed the application.  My 
variable still is not being initialized.

Some further information - in my OnRequestStart function I check the URL 
variable for the presence of restart=true.  If it is found, it runs the 
OnApplicationStart and OnSessionStart functions to reinitialize the application.

Snippet from OnRequestStart function:
!--- If URL parameter restart=true is passed, reinitialize
application and session variables ---
cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND 
(UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
FindNoCase(restart=true,CGI.QUERY_STRING)
cfset OnApplicationStart()
cfset OnSessionStart()
/cfif

If I put the restart=true into the URL and load the page, the rd variable 
gets initialized.  It seems that OnSessionStart is not being executed when I 
first access this site.  Don't understand why it's not running.

Carl 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Josh Nathanson
 If I put the restart=true into the URL and load the page, the rd 
 variable gets initialized.  It seems that OnSessionStart is not being
 executed when I first access this site.  Don't understand why it's not 
 running.

The session is probably still active.  You need to delete your cftoken and 
cfid cookies to allow a new session to be created.

-- Josh


- Original Message - 
From: Carl Von Stetten [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, May 27, 2008 9:58 AM
Subject: Re: Problem with onSessionStart


 Why do you have locks? CF single threads these methods automatically.
Secondly, I'd get rid of the cfreturn even though it isn't doing
anything. Lastly, try renaming your application temporarily. That
would force new sessions to be created.

On Tue, May 27, 2008 at 11:35 AM, Carl V


 Ray,

 Thank you for responding.  The lock was just there for troubleshooting.  I 
 removed it.  I also removed the return, and renamed the application.  My 
 variable still is not being initialized.

 Some further information - in my OnRequestStart function I check the URL 
 variable for the presence of restart=true.  If it is found, it runs the 
 OnApplicationStart and OnSessionStart functions to reinitialize the 
 application.

 Snippet from OnRequestStart function:
 !--- If URL parameter restart=true is passed, reinitialize
 application and session variables ---
 cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND
 (UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
 FindNoCase(restart=true,CGI.QUERY_STRING)
 cfset OnApplicationStart()
 cfset OnSessionStart()
 /cfif

 If I put the restart=true into the URL and load the page, the rd 
 variable gets initialized.  It seems that OnSessionStart is not being 
 executed when I first access this site.  Don't understand why it's not 
 running.

 Carl

 

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

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


RE: Problem with onSessionStart

2008-05-27 Thread Dave Watts
 I'm having a problem getting a session variable to initialize 
 using the onSessionStart method of Application.cfc.  I'm 
 trying to instantiate a cfc object named rd into the 
 session scope, and initialize it.  I'm using J2EE sessions.  
 No matter what I do, the rd session variable is not 
 created.  I tried both with and without a lock on the session 
 scope, but nothing works.  Any ideas? 

Are you sure your session hasn't already started? I'm guessing that it has.

Also, as others have mentioned, you don't need the CFLOCK.

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

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

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Josh,

Thanks for the suggestion.  I'm using J2EE sessions and SetClientCookies 
is set to false, so no cookies are being created.  I've also verified 
that if I close my browser (FireFox 2) and then relaunch the browser and 
open the site, completely different values are assigned to JSESSIONID, 
CFID, and CFTOKEN.

Still the rd session variable is not being set.

Carl

Josh Nathanson wrote:
 If I put the restart=true into the URL and load the page, the rd 
 variable gets initialized.  It seems that OnSessionStart is not being
 executed when I first access this site.  Don't understand why it's not 
 running.
 

 The session is probably still active.  You need to delete your cftoken and 
 cfid cookies to allow a new session to be created.

 -- Josh


 - Original Message - 
 From: Carl Von Stetten [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Tuesday, May 27, 2008 9:58 AM
 Subject: Re: Problem with onSessionStart


   
 Why do you have locks? CF single threads these methods automatically.
 Secondly, I'd get rid of the cfreturn even though it isn't doing
 anything. Lastly, try renaming your application temporarily. That
 would force new sessions to be created.

 On Tue, May 27, 2008 at 11:35 AM, Carl V
   
 Ray,

 Thank you for responding.  The lock was just there for troubleshooting.  I 
 removed it.  I also removed the return, and renamed the application.  My 
 variable still is not being initialized.

 Some further information - in my OnRequestStart function I check the URL 
 variable for the presence of restart=true.  If it is found, it runs the 
 OnApplicationStart and OnSessionStart functions to reinitialize the 
 application.

 Snippet from OnRequestStart function:
 !--- If URL parameter restart=true is passed, reinitialize
 application and session variables ---
 cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND
 (UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
 FindNoCase(restart=true,CGI.QUERY_STRING)
 cfset OnApplicationStart()
 cfset OnSessionStart()
 /cfif

 If I put the restart=true into the URL and load the page, the rd 
 variable gets initialized.  It seems that OnSessionStart is not being 
 executed when I first access this site.  Don't understand why it's not 
 running.

 Carl


 

 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Ian Skinner
Carl Von Stetten wrote:
 Still the rd session variable is not being set.

Any chance an too forgiving onError event handler allowing code in 
OnSessionStart to throw an error, but nothing is done with it and the 
application just goes on?



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

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


CF7 Enterprise performance compared to Standard

2008-05-27 Thread Scott Brady
I'm not finding any references to this in the documentation on the
differences between Standard and Enterprise (CF7), but was wondering
if there are unpublished differences between the two servers.

On my local machine, I'm running CF7 Developer edition.  Our
production boxes for this application are running CF7 Standard (which
they probably shouldn't be).  I have a block of code which takes 67ms
to run on my local box (this is while I'm also running hog
applications like Firefox and iTunes).  That same code on the
production boxes takes 300+ms  (which may not sound like that much,
but that code can run multiple times on a single request).

I'm trying to figure out why the production boxes (which by specs are
a lot beefier than my development box, which is a Dell laptop running
XP).

Here are some of the things we've considered (but basically ruled out):

1) RAM - the production boxes have the same amount of RAM (2GB)
2) Processors - development has 2Ghz Core2, while production have dual
1.7GHz Quad Cores
3) Traffic - Sadly, this application (which the boxes are devoted to)
are very low traffic.  While they do get more traffic than my single
IP address box gets, if they get two requests in the same minute, it's
a busy day.
4) CF updates - the production boxes were on 7.01 while dev was on
7.02, but I've fixed that and seen no changes
5) JVM version - the production boxes have a JVM that's one minor
version higher than mine, so that's probably not it.
6) Database access - the code in question doesn't actually hit the
database servers (the one query it calls is a cached query). But, even
if it did, the production boxes are in the same location as the DB
servers, while my box is not, so you'd think that would make the
production queries somewhat faster.
7) Code differences -- all of the code being called are exactly the
same among the servers.

That leaves us with Standard vs. Enterprise (which is essentially what
the developer version is), but nothing I've found so far suggests
there are those kinds of performance enhancements in Enterprise.

What else should I consider, assuming that's not it?

-- 
-
Scott Brady
http://www.scottbrady.net/

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Ian,

I haven't implemented an onError function yet.

Carl

Ian Skinner wrote:
 Carl Von Stetten wrote:
   
 Still the rd session variable is not being set.
 

 Any chance an too forgiving onError event handler allowing code in 
 OnSessionStart to throw an error, but nothing is done with it and the 
 application just goes on?



 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Josh Nathanson
 Thanks for the suggestion.  I'm using J2EE sessions and SetClientCookies
 is set to false, so no cookies are being created.  I've also verified
 that if I close my browser (FireFox 2) and then relaunch the browser and
 open the site, completely different values are assigned to JSESSIONID,
 CFID, and CFTOKEN.

Huh.  Are you in a situation where you can't use cookies?  If so you'll need 
to pass the cfid and cftoken in the url string on every request to maintain 
a session.  Not sure what the effect would be of having setClientCookies = 
false and then not passing the cfid and cftoken.  Perhaps this is why 
onSessionStart is not running.

-- Josh


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

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


Re: Problem with onSessionStart

2008-05-27 Thread Michael Dinowitz
Dump out your CGI scope and make sure that the variable values you are
expecting are there. Along the same vein, the ucase is not needed as the
basic comparison is case insensitive.

cfdump var=#cgi#

On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten [EMAIL PROTECTED]
wrote:

 Why do you have locks? CF single threads these methods automatically.
 Secondly, I'd get rid of the cfreturn even though it isn't doing
 anything. Lastly, try renaming your application temporarily. That
 would force new sessions to be created.
 
 On Tue, May 27, 2008 at 11:35 AM, Carl V
 

 Ray,

 Thank you for responding.  The lock was just there for troubleshooting.  I
 removed it.  I also removed the return, and renamed the application.  My
 variable still is not being initialized.

 Some further information - in my OnRequestStart function I check the URL
 variable for the presence of restart=true.  If it is found, it runs the
 OnApplicationStart and OnSessionStart functions to reinitialize the
 application.

 Snippet from OnRequestStart function:
 !--- If URL parameter restart=true is passed, reinitialize
application and session variables ---
 cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND
(UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
FindNoCase(restart=true,CGI.QUERY_STRING)
cfset OnApplicationStart()
cfset OnSessionStart()
 /cfif

 If I put the restart=true into the URL and load the page, the rd
 variable gets initialized.  It seems that OnSessionStart is not being
 executed when I first access this site.  Don't understand why it's not
 running.

 Carl

 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Michael,

I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE 
contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url 
variables, but not the CFID or CFTOKEN.  However, session.urltoken 
contains JSESSIONID, CFID and CFTOKEN.

Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the 
JSESSIONID was enough.

Michael Dinowitz wrote:
 Dump out your CGI scope and make sure that the variable values you are
 expecting are there. Along the same vein, the ucase is not needed as the
 basic comparison is case insensitive.

 cfdump var=#cgi#

 On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten [EMAIL PROTECTED]
 wrote:

   
 Why do you have locks? CF single threads these methods automatically.
 Secondly, I'd get rid of the cfreturn even though it isn't doing
 anything. Lastly, try renaming your application temporarily. That
 would force new sessions to be created.

 On Tue, May 27, 2008 at 11:35 AM, Carl V
   
 Ray,

 Thank you for responding.  The lock was just there for troubleshooting.  I
 removed it.  I also removed the return, and renamed the application.  My
 variable still is not being initialized.

 Some further information - in my OnRequestStart function I check the URL
 variable for the presence of restart=true.  If it is found, it runs the
 OnApplicationStart and OnSessionStart functions to reinitialize the
 application.

 Snippet from OnRequestStart function:
 !--- If URL parameter restart=true is passed, reinitialize
application and session variables ---
 cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND
(UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
FindNoCase(restart=true,CGI.QUERY_STRING)
cfset OnApplicationStart()
cfset OnSessionStart()
 /cfif

 If I put the restart=true into the URL and load the page, the rd
 variable gets initialized.  It seems that OnSessionStart is not being
 executed when I first access this site.  Don't understand why it's not
 running.

 Carl


 

 

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

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


Re: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Scott Brady
Oh, there are two other significant difference I neglected to mention:

8)  Production runs Windows 2003 while my box is XP Pro
9)  Production runs IIS while my box is Apache (because my box has to
handle multiple web sites, and XP can't)

-- 
-
Scott Brady
http://www.scottbrady.net/

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Raymond Camden
Have you tried just renaming your app? Evne just temporarily to
something like Foo1, or Foo2.



On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten
[EMAIL PROTECTED] wrote:
 Michael,

 I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE
 contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url
 variables, but not the CFID or CFTOKEN.  However, session.urltoken
 contains JSESSIONID, CFID and CFTOKEN.

 Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the
 JSESSIONID was enough.

 Michael Dinowitz wrote:
 Dump out your CGI scope and make sure that the variable values you are
 expecting are there. Along the same vein, the ucase is not needed as the
 basic comparison is case insensitive.

-- 
===
Raymond Camden, VP of Software Dev, Broadchoice

Email : [EMAIL PROTECTED]
Blog : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

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

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


RE: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Jacob
Tried disabling antivirus on the production box?

A few years ago I had the same problem. It turned out it was some javascript
code that A/V for did not like for some reason.  This was with Norton.
Canned Norton and went to NOD32... never looked back.

-Original Message-
From: Scott Brady [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 10:47 AM
To: CF-Talk
Subject: CF7 Enterprise performance compared to Standard

I'm not finding any references to this in the documentation on the
differences between Standard and Enterprise (CF7), but was wondering
if there are unpublished differences between the two servers.

On my local machine, I'm running CF7 Developer edition.  Our
production boxes for this application are running CF7 Standard (which
they probably shouldn't be).  I have a block of code which takes 67ms
to run on my local box (this is while I'm also running hog
applications like Firefox and iTunes).  That same code on the
production boxes takes 300+ms  (which may not sound like that much,
but that code can run multiple times on a single request).

I'm trying to figure out why the production boxes (which by specs are
a lot beefier than my development box, which is a Dell laptop running
XP).

Here are some of the things we've considered (but basically ruled out):

1) RAM - the production boxes have the same amount of RAM (2GB)
2) Processors - development has 2Ghz Core2, while production have dual
1.7GHz Quad Cores
3) Traffic - Sadly, this application (which the boxes are devoted to)
are very low traffic.  While they do get more traffic than my single
IP address box gets, if they get two requests in the same minute, it's
a busy day.
4) CF updates - the production boxes were on 7.01 while dev was on
7.02, but I've fixed that and seen no changes
5) JVM version - the production boxes have a JVM that's one minor
version higher than mine, so that's probably not it.
6) Database access - the code in question doesn't actually hit the
database servers (the one query it calls is a cached query). But, even
if it did, the production boxes are in the same location as the DB
servers, while my box is not, so you'd think that would make the
production queries somewhat faster.
7) Code differences -- all of the code being called are exactly the
same among the servers.

That leaves us with Standard vs. Enterprise (which is essentially what
the developer version is), but nothing I've found so far suggests
there are those kinds of performance enhancements in Enterprise.

What else should I consider, assuming that's not it?

-- 
-
Scott Brady
http://www.scottbrady.net/



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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Ray,

Yes I have.  It didn't make any difference.

Carl

Raymond Camden wrote:
 Have you tried just renaming your app? Evne just temporarily to
 something like Foo1, or Foo2.



 On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten
 [EMAIL PROTECTED] wrote:
   
 Michael,

 I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE
 contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url
 variables, but not the CFID or CFTOKEN.  However, session.urltoken
 contains JSESSIONID, CFID and CFTOKEN.

 Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the
 JSESSIONID was enough.

 Michael Dinowitz wrote:
 
 Dump out your CGI scope and make sure that the variable values you are
 expecting are there. Along the same vein, the ucase is not needed as the
 basic comparison is case insensitive.

   

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

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


Re: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Scott Brady
It doesn't look like we have A/V running on those boxes (at least as
far as I can tell, and we're currently without a sysadmin who could
tell me for sure  [we're taking resumes :) ]

Thanks, though.

On Tue, May 27, 2008 at 12:10 PM, Jacob [EMAIL PROTECTED] wrote:
 Tried disabling antivirus on the production box?

 A few years ago I had the same problem. It turned out it was some javascript
 code that A/V for did not like for some reason.  This was with Norton.
 Canned Norton and went to NOD32... never looked back.

 -Original Message-
 From: Scott Brady [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 27, 2008 10:47 AM
 To: CF-Talk
 Subject: CF7 Enterprise performance compared to Standard

 I'm not finding any references to this in the documentation on the
 differences between Standard and Enterprise (CF7), but was wondering
 if there are unpublished differences between the two servers.

 On my local machine, I'm running CF7 Developer edition.  Our
 production boxes for this application are running CF7 Standard (which
 they probably shouldn't be).  I have a block of code which takes 67ms
 to run on my local box (this is while I'm also running hog
 applications like Firefox and iTunes).  That same code on the
 production boxes takes 300+ms  (which may not sound like that much,
 but that code can run multiple times on a single request).

 I'm trying to figure out why the production boxes (which by specs are
 a lot beefier than my development box, which is a Dell laptop running
 XP).

 Here are some of the things we've considered (but basically ruled out):

 1) RAM - the production boxes have the same amount of RAM (2GB)
 2) Processors - development has 2Ghz Core2, while production have dual
 1.7GHz Quad Cores
 3) Traffic - Sadly, this application (which the boxes are devoted to)
 are very low traffic.  While they do get more traffic than my single
 IP address box gets, if they get two requests in the same minute, it's
 a busy day.
 4) CF updates - the production boxes were on 7.01 while dev was on
 7.02, but I've fixed that and seen no changes
 5) JVM version - the production boxes have a JVM that's one minor
 version higher than mine, so that's probably not it.
 6) Database access - the code in question doesn't actually hit the
 database servers (the one query it calls is a cached query). But, even
 if it did, the production boxes are in the same location as the DB
 servers, while my box is not, so you'd think that would make the
 production queries somewhat faster.
 7) Code differences -- all of the code being called are exactly the
 same among the servers.

 That leaves us with Standard vs. Enterprise (which is essentially what
 the developer version is), but nothing I've found so far suggests
 there are those kinds of performance enhancements in Enterprise.

 What else should I consider, assuming that's not it?

 --
 -
 Scott Brady
 http://www.scottbrady.net/



 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Raymond Camden
Maybe you can show us your entire app.cfc. Something is missing.

Also try a non-complex ob, like

cfset session.foo = why isnt cf working, darnit!

On Tue, May 27, 2008 at 1:16 PM, Carl Von Stetten
[EMAIL PROTECTED] wrote:
 Ray,

 Yes I have.  It didn't make any difference.

 Carl

 Raymond Camden wrote:
 Have you tried just renaming your app? Evne just temporarily to
 something like Foo1, or Foo2.



 On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten
 [EMAIL PROTECTED] wrote:

 Michael,

 I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE
 contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url
 variables, but not the CFID or CFTOKEN.  However, session.urltoken
 contains JSESSIONID, CFID and CFTOKEN.

 Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the
 JSESSIONID was enough.

 Michael Dinowitz wrote:

 Dump out your CGI scope and make sure that the variable values you are
 expecting are there. Along the same vein, the ucase is not needed as the
 basic comparison is case insensitive.



 

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

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


RE: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Dave Watts
 I'm not finding any references to this in the documentation 
 on the differences between Standard and Enterprise (CF7), but 
 was wondering if there are unpublished differences between 
 the two servers.

To the best of my knowledge, there are no unpublished differences between
the two.

 On my local machine, I'm running CF7 Developer edition.  Our 
 production boxes for this application are running CF7 
 Standard (which they probably shouldn't be).  I have a block 
 of code which takes 67ms to run on my local box (this is 
 while I'm also running hog applications like Firefox and 
 iTunes).  That same code on the production boxes takes 300+ms 
  (which may not sound like that much, but that code can run 
 multiple times on a single request).

How exactly are you measuring this? Presumably, your production boxes are
serving other requests at the same time, right?

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

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

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

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


RE: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Jacob
What if you have a template with just the follow:

cfset var = Hi
cfoutput#var#/cfoutput

Run it on both the development box and the production box.  Do you get the
same thing?  The template running slower on the production box?



-Original Message-
From: Scott Brady [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 11:28 AM
To: CF-Talk
Subject: Re: CF7 Enterprise performance compared to Standard

It doesn't look like we have A/V running on those boxes (at least as
far as I can tell, and we're currently without a sysadmin who could
tell me for sure  [we're taking resumes :) ]

Thanks, though.

On Tue, May 27, 2008 at 12:10 PM, Jacob [EMAIL PROTECTED] wrote:
 Tried disabling antivirus on the production box?

 A few years ago I had the same problem. It turned out it was some
javascript
 code that A/V for did not like for some reason.  This was with Norton.
 Canned Norton and went to NOD32... never looked back.

 -Original Message-
 From: Scott Brady [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 27, 2008 10:47 AM
 To: CF-Talk
 Subject: CF7 Enterprise performance compared to Standard

 I'm not finding any references to this in the documentation on the
 differences between Standard and Enterprise (CF7), but was wondering
 if there are unpublished differences between the two servers.

 On my local machine, I'm running CF7 Developer edition.  Our
 production boxes for this application are running CF7 Standard (which
 they probably shouldn't be).  I have a block of code which takes 67ms
 to run on my local box (this is while I'm also running hog
 applications like Firefox and iTunes).  That same code on the
 production boxes takes 300+ms  (which may not sound like that much,
 but that code can run multiple times on a single request).

 I'm trying to figure out why the production boxes (which by specs are
 a lot beefier than my development box, which is a Dell laptop running
 XP).

 Here are some of the things we've considered (but basically ruled out):

 1) RAM - the production boxes have the same amount of RAM (2GB)
 2) Processors - development has 2Ghz Core2, while production have dual
 1.7GHz Quad Cores
 3) Traffic - Sadly, this application (which the boxes are devoted to)
 are very low traffic.  While they do get more traffic than my single
 IP address box gets, if they get two requests in the same minute, it's
 a busy day.
 4) CF updates - the production boxes were on 7.01 while dev was on
 7.02, but I've fixed that and seen no changes
 5) JVM version - the production boxes have a JVM that's one minor
 version higher than mine, so that's probably not it.
 6) Database access - the code in question doesn't actually hit the
 database servers (the one query it calls is a cached query). But, even
 if it did, the production boxes are in the same location as the DB
 servers, while my box is not, so you'd think that would make the
 production queries somewhat faster.
 7) Code differences -- all of the code being called are exactly the
 same among the servers.

 That leaves us with Standard vs. Enterprise (which is essentially what
 the developer version is), but nothing I've found so far suggests
 there are those kinds of performance enhancements in Enterprise.

 What else should I consider, assuming that's not it?

 --
 -
 Scott Brady
 http://www.scottbrady.net/



 



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

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


Re: Problem with onSessionStart

2008-05-27 Thread Raymond Camden
Maybe you can show us your entire app.cfc. Something is missing.

Also try a non-complex ob, like

cfset session.foo = why isnt cf working, darnit!

On Tue, May 27, 2008 at 1:16 PM, Carl Von Stetten
[EMAIL PROTECTED] wrote:
 Ray,

 Yes I have.  It didn't make any difference.

 Carl

 Raymond Camden wrote:
 Have you tried just renaming your app? Evne just temporarily to
 something like Foo1, or Foo2.



 On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten
 [EMAIL PROTECTED] wrote:

 Michael,

 I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE
 contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url
 variables, but not the CFID or CFTOKEN.  However, session.urltoken
 contains JSESSIONID, CFID and CFTOKEN.

 Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the
 JSESSIONID was enough.

 Michael Dinowitz wrote:

 Dump out your CGI scope and make sure that the variable values you are
 expecting are there. Along the same vein, the ucase is not needed as the
 basic comparison is case insensitive.



 

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

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


Re: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Scott Brady
On Tue, May 27, 2008 at 12:41 PM, Dave Watts [EMAIL PROTECTED] wrote:
 How exactly are you measuring this? Presumably, your production boxes are
 serving other requests at the same time, right?

Initially, I was using SeeFusion traces on production and
gettickcount() on my box.  But, thinking that might add overhead
differences, I went with gettickcount() on both (using conditionals
based on my IP address to make sure real users don't see it).  As far
as other requests -- not really. Like I said, it's very low traffic,
and if there's more than one request within a single minute, it's a
busy day (that gets into questions about the business spending my time
working on this low-traffic site, but that's a whole other issue --
the funny thing is this is a load balanced application [and, yes, both
boxes show the same time differentials]).  So, the odds of requests
hitting the box at the same time and affecting performance seem pretty
remote.

Oh, we just discovered that we actually bought Enterprise licenses for
these boxes, but they're CF8 licenses. It looks like we were told the
licenses were backwards compatible but CF7 won't take the serial
number we were given -- which may be why our (former) sysadmin
installed Standard that had been used by older boxes.  We may just
have to upgrade those boxes to CF8 [it's not like any users would
notice any hiccups].

Scott


-- 
-
Scott Brady
http://www.scottbrady.net/

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Michael Dinowitz
ok, try this.
1. create the object you expect to be loaded into session.rd and dump it
out. Make sure the content you expect to go into the session is going into
the session.
2. You can rerun the onsessionstart() by just using cfset onsessionstart()
from within any of the request methods.

On Tue, May 27, 2008 at 1:58 PM, Carl Von Stetten [EMAIL PROTECTED]
wrote:

 Michael,

 I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE
 contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url
 variables, but not the CFID or CFTOKEN.  However, session.urltoken
 contains JSESSIONID, CFID and CFTOKEN.

 Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the
 JSESSIONID was enough.

 Michael Dinowitz wrote:
  Dump out your CGI scope and make sure that the variable values you are
  expecting are there. Along the same vein, the ucase is not needed as the
  basic comparison is case insensitive.
 
  cfdump var=#cgi#
 
  On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten [EMAIL PROTECTED]
 
  wrote:
 
 
  Why do you have locks? CF single threads these methods automatically.
  Secondly, I'd get rid of the cfreturn even though it isn't doing
  anything. Lastly, try renaming your application temporarily. That
  would force new sessions to be created.
 
  On Tue, May 27, 2008 at 11:35 AM, Carl V
 
  Ray,
 
  Thank you for responding.  The lock was just there for troubleshooting.
  I
  removed it.  I also removed the return, and renamed the application.  My
  variable still is not being initialized.
 
  Some further information - in my OnRequestStart function I check the URL
  variable for the presence of restart=true.  If it is found, it runs
 the
  OnApplicationStart and OnSessionStart functions to reinitialize the
  application.
 
  Snippet from OnRequestStart function:
  !--- If URL parameter restart=true is passed, reinitialize
 application and session variables ---
  cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND
 (UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
 FindNoCase(restart=true,CGI.QUERY_STRING)
 cfset OnApplicationStart()
 cfset OnSessionStart()
  /cfif
 
  If I put the restart=true into the URL and load the page, the rd
  variable gets initialized.  It seems that OnSessionStart is not being
  executed when I first access this site.  Don't understand why it's not
  running.
 
  Carl
 
 
 
 
 

 

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

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


RE: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Jacob
Have you tried using debugging in CF Administrator to get the execution
times?  I assumed that was what you were using.

-Original Message-
From: Scott Brady [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 11:51 AM
To: CF-Talk
Subject: Re: CF7 Enterprise performance compared to Standard

On Tue, May 27, 2008 at 12:41 PM, Dave Watts [EMAIL PROTECTED] wrote:
 How exactly are you measuring this? Presumably, your production boxes are
 serving other requests at the same time, right?

Initially, I was using SeeFusion traces on production and
gettickcount() on my box.  But, thinking that might add overhead
differences, I went with gettickcount() on both (using conditionals
based on my IP address to make sure real users don't see it).  As far
as other requests -- not really. Like I said, it's very low traffic,
and if there's more than one request within a single minute, it's a
busy day (that gets into questions about the business spending my time
working on this low-traffic site, but that's a whole other issue --
the funny thing is this is a load balanced application [and, yes, both
boxes show the same time differentials]).  So, the odds of requests
hitting the box at the same time and affecting performance seem pretty
remote.

Oh, we just discovered that we actually bought Enterprise licenses for
these boxes, but they're CF8 licenses. It looks like we were told the
licenses were backwards compatible but CF7 won't take the serial
number we were given -- which may be why our (former) sysadmin
installed Standard that had been used by older boxes.  We may just
have to upgrade those boxes to CF8 [it's not like any users would
notice any hiccups].

Scott


-- 
-
Scott Brady
http://www.scottbrady.net/



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

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


Re: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Scott Brady
On Tue, May 27, 2008 at 12:42 PM, Jacob [EMAIL PROTECTED] wrote:
 What if you have a template with just the follow:

 cfset var = Hi
 cfoutput#var#/cfoutput

 Run it on both the development box and the production box.  Do you get the
 same thing?  The template running slower on the production box?

Unfortunately, that code won't really show a significant difference.
The line in question calls a CFC method (the CFC is in the application
scope, so it's not instantiating it again). That method calls another
method inside that same CFC (which calls the cached query).  The only
real slow parts of the code are looping over an array (but not really
a large one) and, unfortunately, doing an evaluate() on a CF statement
from the cached query. But, that evaluate() would be slow on my box,
too.

-- 
-
Scott Brady
http://www.scottbrady.net/

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

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


Re: powered by and copyright

2008-05-27 Thread Richard White
thanks for all your help. 

i remembered that someone advised us to add the 'powered by' because parts of 
our software allows 'whiteboarding' which is to customize the look and feel to 
the customer, and therefore it appears as if it is their own. 

so of course we needed a way of showing that it is powered by our software 
product and copyrighted to our company.

thanks for your help and links, i think we got it right now :) but your 
absolutely right, we need to get our lawyer to verify it. i was initially 
thinking it was as easy as knowing how to write it so thanks for making me 
aware that this is an issue that needs the correct attention.

richard 

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

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


Re: mssql beyond compare tool?

2008-05-27 Thread Jay Cronen
is there a mssql2k beyond compare tool?
i have a failing server with tons of crap on it. 1% free space.

need to move old back ups, create new backups, then migrate them...

i need to move the databases to a newer server.
but they have about 45% overlap in database names.

so looks like the previous developer was in the process of migrating every
thing, but thta didnt get completed and there is no documentation..

so is there a tool i can use to analyze differences.
man.. i am so sqrewd..
any help would be beautiful..
-paul.

Paul,
check out xSQL Software's (http://www.xsqlsoftware.com) xSQL Object for 
comparing and synchronizing database schemas (structure) and xSQL Data Compare 
for comparing and synchronizing the data - you may not have to pay anything at 
all - check this for a description of how we license our products: 
http://xsqlsoftware.blogspot.com/2008/04/unique-hassle-free-software-licensing.html



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

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


SMS Gateway Questions

2008-05-27 Thread Joe Velez
Hi all

Before I get too deep into trying to work with the SMS Gateway (for a 
client) I had a few questions that I couldn't find answers to right away:

Is the SMS Gateway available in CF8 Standard, or Enterprise only?
Aside from having the gateway built in, is there anything else to 
purchase? (like an account with ATT or something)
Are there any fees associated with sending (or receiving) messages 
through the gateway? Who charges you? How?

Another question would be what # does the message come from? My #, or a 
randomly generated # or ?
I was always curious how you get those 5 digit codes you see on tv.

Thanks

Joe Velez

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

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


RE: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Dave Watts
  How exactly are you measuring this? Presumably, your 
  production boxes are serving other requests at the same 
  time, right?
 
 Initially, I was using SeeFusion traces on production and
 gettickcount() on my box.  But, thinking that might add 
 overhead differences, I went with gettickcount() on both 
 (using conditionals based on my IP address to make sure real 
 users don't see it).  As far as other requests -- not really. 
 Like I said, it's very low traffic, and if there's more than 
 one request within a single minute, it's a busy day (that 
 gets into questions about the business spending my time 
 working on this low-traffic site, but that's a whole other 
 issue -- the funny thing is this is a load balanced 
 application [and, yes, both boxes show the same time 
 differentials]).  So, the odds of requests hitting the box at 
 the same time and affecting performance seem pretty remote.

Are you testing this through the load balancer, or are you bypassing the
load balancer and hitting your server directly? Not that that should make a
difference to your getTickCount calls, but load balancers can cause odd
problems.

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

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

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

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


Re: CF7 Enterprise performance compared to Standard

2008-05-27 Thread Scott Brady
On Tue, May 27, 2008 at 1:57 PM, Dave Watts [EMAIL PROTECTED] wrote:
 Are you testing this through the load balancer, or are you bypassing the
 load balancer and hitting your server directly? Not that that should make a
 difference to your getTickCount calls, but load balancers can cause odd
 problems.

I'm bypassing the load balancer (using my hosts file to have the
domain go straight to the box instead of the load balancer)

-- 
-
Scott Brady
http://www.scottbrady.net/

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

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


cfldap

2008-05-27 Thread Chad Gray
If I have the users old password can I change the password to something new 
using CFLDAP?




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

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


RE: SMS Gateway Questions

2008-05-27 Thread Dave Watts
 Is the SMS Gateway available in CF8 Standard, or Enterprise only?

It's available, but limited to running a single request at a time. If you're
serious about using it - enough to warrant getting an SMS short code -
you'll probably want Enterprise.

 Aside from having the gateway built in, is there anything 
 else to purchase? (like an account with ATT or something) 
 Are there any fees associated with sending (or receiving) 
 messages through the gateway? Who charges you? How?

You will need to use an SMS service provider, who will charge you fees. I'm
not too familiar with the fee structure, though; I know some people on the
list can provide much more detail on that.

 I was always curious how you get those 5 digit codes you see on tv.

You pay for them:
http://en.wikipedia.org/wiki/Short_code

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

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

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

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


RE: cfldap

2008-05-27 Thread Dawson, Michael
From what I have read, it's possible, but somewhat involved.

If you are on Windows, use CFEXECUTE to run a NET USER command to reset
the password.

You can also run the CF service as a domain user with enough permission
to change a user's password.  You won't need the old password to do
this.

m!ke 

-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 3:19 PM
To: CF-Talk
Subject: cfldap

If I have the users old password can I change the password to something
new using CFLDAP?

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

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


RE: cfldap

2008-05-27 Thread Dave Watts
 You can also run the CF service as a domain user with enough 
 permission to change a user's password.  You won't need the 
 old password to do this.

If you do this, though, you will break any access to local encrypted
filesystems on that user's machine, I think.

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

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

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

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


RE: cfldap

2008-05-27 Thread Dawson, Michael
I think that is only if he is changing a local computer account's
password.  Domain accounts won't have that problem.

Of course, the OP didn't specify what type of account, or even if it is
a Windows/domain account, so that kind of leaves us hanging...

m!ke

-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 3:34 PM
To: CF-Talk
Subject: RE: cfldap

 You can also run the CF service as a domain user with enough 
 permission to change a user's password.  You won't need the old 
 password to do this.

If you do this, though, you will break any access to local encrypted
filesystems on that user's machine, I think.

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

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

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


RE: mssql beyond compare tool?

2008-05-27 Thread Nick Gleason
I think that apex software has a tool that does this.

N

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

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

 -Original Message-
 From: Jay Cronen [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 27, 2008 3:24 PM
 To: CF-Talk
 Subject: Re: mssql beyond compare tool?
 
 is there a mssql2k beyond compare tool?
 i have a failing server with tons of crap on it. 1% free space.
 
 need to move old back ups, create new backups, then migrate them...
 
 i need to move the databases to a newer server.
 but they have about 45% overlap in database names.
 
 so looks like the previous developer was in the process of migrating 
 every thing, but thta didnt get completed and there is no 
 documentation..
 
 so is there a tool i can use to analyze differences.
 man.. i am so sqrewd..
 any help would be beautiful..
 -paul.
 
 Paul,
 check out xSQL Software's (http://www.xsqlsoftware.com) xSQL 
 Object for comparing and synchronizing database schemas 
 (structure) and xSQL Data Compare for comparing and 
 synchronizing the data - you may not have to pay anything at 
 all - check this for a description of how we license our 
 products: 
 http://xsqlsoftware.blogspot.com/2008/04/unique-hassle-free-so
 ftware-licensing.html
 
 
 

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

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


RE: cfldap

2008-05-27 Thread Dave Watts
 I think that is only if he is changing a local computer 
 account's password. Domain accounts won't have that problem.

Yeah, I think you're right about that. My mistake.

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

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

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Michael,

Nothing I put into the OnSessionStart function is being loaded into 
session variables.  However, I did put the code that creates the rd 
session variable instance of my cfc into the OnRequestStart function.  I 
wrapped it with a cfif NOT StructKeyExists() statement so it only 
executes once for a session.  While this works, it feels wrong because 
it should be loaded during the OnSessionStart function.

Carl

Michael Dinowitz wrote:
 ok, try this.
 1. create the object you expect to be loaded into session.rd and dump it
 out. Make sure the content you expect to go into the session is going into
 the session.
 2. You can rerun the onsessionstart() by just using cfset onsessionstart()
 from within any of the request methods.

 On Tue, May 27, 2008 at 1:58 PM, Carl Von Stetten [EMAIL PROTECTED]
 wrote:

   
 Michael,

 I looked at the CGI variables in the debug output.  CGI.HTTP_COOKIE
 contains the correct JSESSIONID.  CGI.QUERY_STRING contains my url
 variables, but not the CFID or CFTOKEN.  However, session.urltoken
 contains JSESSIONID, CFID and CFTOKEN.

 Do I need CFID and CFTOKEN explicitly in my URLs?  I thought the
 JSESSIONID was enough.

 Michael Dinowitz wrote:
 
 Dump out your CGI scope and make sure that the variable values you are
 expecting are there. Along the same vein, the ucase is not needed as the
 basic comparison is case insensitive.

 cfdump var=#cgi#

 On Tue, May 27, 2008 at 12:58 PM, Carl Von Stetten [EMAIL PROTECTED]

 wrote:


   
 Why do you have locks? CF single threads these methods automatically.
 Secondly, I'd get rid of the cfreturn even though it isn't doing
 anything. Lastly, try renaming your application temporarily. That
 would force new sessions to be created.

 On Tue, May 27, 2008 at 11:35 AM, Carl V

   
 Ray,

 Thank you for responding.  The lock was just there for troubleshooting.
 
  I
 
 removed it.  I also removed the return, and renamed the application.  My
 variable still is not being initialized.

 Some further information - in my OnRequestStart function I check the URL
 variable for the presence of restart=true.  If it is found, it runs
 
 the
 
 OnApplicationStart and OnSessionStart functions to reinitialize the
 application.

 Snippet from OnRequestStart function:
 !--- If URL parameter restart=true is passed, reinitialize
application and session variables ---
 cfif (UCase(Right(CGI.SCRIPT_NAME,3)) EQ CFM) AND
(UCase(CGI.SCRIPT_NAME) DOES NOT CONTAIN /TESTING/) AND
FindNoCase(restart=true,CGI.QUERY_STRING)
cfset OnApplicationStart()
cfset OnSessionStart()
 /cfif

 If I put the restart=true into the URL and load the page, the rd
 variable gets initialized.  It seems that OnSessionStart is not being
 executed when I first access this site.  Don't understand why it's not
 running.

 Carl



 
   
 

 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Raymond Camden
I would keep trying. onSessionStart works. Trust me. So something else
is going on instead and it makes sense to keep digging until you find
the issue.

How about adding a simple cflog to your onSessionStart to see when it fires?

Also - I did ask if you could post the entire CFC. I'd still recommend that.

On Tue, May 27, 2008 at 4:15 PM, Carl Von Stetten
[EMAIL PROTECTED] wrote:
 Michael,

 Nothing I put into the OnSessionStart function is being loaded into
 session variables.  However, I did put the code that creates the rd
 session variable instance of my cfc into the OnRequestStart function.  I
 wrapped it with a cfif NOT StructKeyExists() statement so it only
 executes once for a session.  While this works, it feels wrong because
 it should be loaded during the OnSessionStart function.

 Carl

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

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


Re: SMS Gateway Questions

2008-05-27 Thread Mike Kear
[A] Pricing:  SMS messages are a commodity.   The big providers buy in
large quantity from whoever has the best price today, and on-sell in
smaller quantities for larger prices.   Today, Xcompany might be the
best deal, but tomorrow Y Company might be a better deal.So when
you do your application, expect to have to provide for switching from
one provider to another.   (in other words, build a cfc method that
sends a message through the provider, so you can easliy switch to
another provider by just writing another method)

[B]  you have to buy time through a phone or SMS provider.   Just as
you need to buy serices from an ISP or a cell phone provider.
Messages are priced using a unit called a credit.   A SMS might cost
one credit, and a MMS might cost two credits.  Or as a promotion, the
provider might say that between certain hours, SMS's are 0.75 credits.
   How much you pay for a credit depends on how many you buy at a
time.  Buy more, they cost you less.

[C] other issues:   Access:   not all providers accept the output from
the SMS gateway. The one I used for a while for example required
me to send a XML packet in a specific format.   Another required an
email.   The service outside the USA can be a LOT better than the
service Inside the USA.   I'm afraid the USA lags behind the rest of
the industrialised world when it comes to modile technology. One
provider i was using for example,  sent messages seamlessly to over
540 networks in 190 countries,  and can accept up to 5000 SMS messages
per minute.   WIth European providers you dont need to know or care
where in teh world your recipient is, or what phone provider they're
with - just send the message with teh fully qualified cell phone
number and wherever that phone is in teh world the message will be
delivered if it's turned on and connected to a network.

Speed:  I worried about sending Australian messages to a European SMS
provider, but it proved not an issue.   I set up several time tests
and found there was no appreciable delay in sending my messages
through Eruope and Africa compared to sending from one mobile handset
to another across the room.

Inbound numbers:   All my comments above are related to outbound
messages - where you are sending messages  to peopleIt's  a little
more complicated to receive messages, in that you have to have a
provider in the country you are expecting to receive messages from.
So while you might send your messages OUT through a Chinese or Indian
or German company, you'll need to have inbound messages from USA
customers coming through a USA provider,  or else your customers will
have to dial an international number to send their message.  You might
find some resistance on their part to accept the cost of that.  But
you dont have to have the same provider for both inbound and outbound
messages.

The main point is - expect to be changing providers.Prices change
regularly and new providers come on the scene - it's a commodity like
copy paper and coffee and sugar -   If you build your application from
the start expecting to want to change providers, you can be a lot more
flexible and take account of changes in the market as they happen,
without a lot of disruption to your code.

Hope this helps.

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




On Wed, May 28, 2008 at 6:26 AM, Dave Watts [EMAIL PROTECTED] wrote:
 Is the SMS Gateway available in CF8 Standard, or Enterprise only?

 It's available, but limited to running a single request at a time. If you're
 serious about using it - enough to warrant getting an SMS short code -
 you'll probably want Enterprise.

 Aside from having the gateway built in, is there anything
 else to purchase? (like an account with ATT or something)
 Are there any fees associated with sending (or receiving)
 messages through the gateway? Who charges you? How?

 You will need to use an SMS service provider, who will charge you fees. I'm
 not too familiar with the fee structure, though; I know some people on the
 list can provide much more detail on that.

 I was always curious how you get those 5 digit codes you see on tv.

 You pay for them:
 http://en.wikipedia.org/wiki/Short_code

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

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

 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306113
Subscription: 

Re: SMS Gateway Questions

2008-05-27 Thread Phillip Vector
It may be just me and not understanding fully what SMS is...

SMS is the ability to send messages to cell phones in the form of text
messages.. Right?

Why can't you slap the appropriate ending on their cell phone number
and send it that way via CFMail? ([EMAIL PROTECTED] or some such)

If you want inbound, couldn't you use cfpop to check an empty account
to see if any are received?

What am I not understanding?

On Tue, May 27, 2008 at 2:20 PM, Mike Kear [EMAIL PROTECTED] wrote:
 [A] Pricing:  SMS messages are a commodity.   The big providers buy in
 large quantity from whoever has the best price today, and on-sell in
 smaller quantities for larger prices.   Today, Xcompany might be the
 best deal, but tomorrow Y Company might be a better deal.So when
 you do your application, expect to have to provide for switching from
 one provider to another.   (in other words, build a cfc method that
 sends a message through the provider, so you can easliy switch to
 another provider by just writing another method)

 [B]  you have to buy time through a phone or SMS provider.   Just as
 you need to buy serices from an ISP or a cell phone provider.
 Messages are priced using a unit called a credit.   A SMS might cost
 one credit, and a MMS might cost two credits.  Or as a promotion, the
 provider might say that between certain hours, SMS's are 0.75 credits.
   How much you pay for a credit depends on how many you buy at a
 time.  Buy more, they cost you less.

 [C] other issues:   Access:   not all providers accept the output from
 the SMS gateway. The one I used for a while for example required
 me to send a XML packet in a specific format.   Another required an
 email.   The service outside the USA can be a LOT better than the
 service Inside the USA.   I'm afraid the USA lags behind the rest of
 the industrialised world when it comes to modile technology. One
 provider i was using for example,  sent messages seamlessly to over
 540 networks in 190 countries,  and can accept up to 5000 SMS messages
 per minute.   WIth European providers you dont need to know or care
 where in teh world your recipient is, or what phone provider they're
 with - just send the message with teh fully qualified cell phone
 number and wherever that phone is in teh world the message will be
 delivered if it's turned on and connected to a network.

 Speed:  I worried about sending Australian messages to a European SMS
 provider, but it proved not an issue.   I set up several time tests
 and found there was no appreciable delay in sending my messages
 through Eruope and Africa compared to sending from one mobile handset
 to another across the room.

 Inbound numbers:   All my comments above are related to outbound
 messages - where you are sending messages  to peopleIt's  a little
 more complicated to receive messages, in that you have to have a
 provider in the country you are expecting to receive messages from.
 So while you might send your messages OUT through a Chinese or Indian
 or German company, you'll need to have inbound messages from USA
 customers coming through a USA provider,  or else your customers will
 have to dial an international number to send their message.  You might
 find some resistance on their part to accept the cost of that.  But
 you dont have to have the same provider for both inbound and outbound
 messages.

 The main point is - expect to be changing providers.Prices change
 regularly and new providers come on the scene - it's a commodity like
 copy paper and coffee and sugar -   If you build your application from
 the start expecting to want to change providers, you can be a lot more
 flexible and take account of changes in the market as they happen,
 without a lot of disruption to your code.

 Hope this helps.

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




 On Wed, May 28, 2008 at 6:26 AM, Dave Watts [EMAIL PROTECTED] wrote:
 Is the SMS Gateway available in CF8 Standard, or Enterprise only?

 It's available, but limited to running a single request at a time. If you're
 serious about using it - enough to warrant getting an SMS short code -
 you'll probably want Enterprise.

 Aside from having the gateway built in, is there anything
 else to purchase? (like an account with ATT or something)
 Are there any fees associated with sending (or receiving)
 messages through the gateway? Who charges you? How?

 You will need to use an SMS service provider, who will charge you fees. I'm
 not too familiar with the fee structure, though; I know some people on the
 list can provide much more detail on that.

 I was always curious how you get those 5 digit codes you see on tv.

 You pay for them:
 http://en.wikipedia.org/wiki/Short_code

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

 Fig Leaf Software provides the highest caliber vendor-authorized
 

ColdFusion Service Startup - Metrics Service is not available

2008-05-27 Thread Scott Brady
So, my boss agreed that I could install CF8 on one of our boxes.  And,
overall, things went smoothly. Until I realized that, because we use
UNC paths in some of our code (in cfdirectory, for instance), I have
to have CF log on as a user instead of the system account.

However, when I do that, I get a jrun 500 error.  Looking at the
server log, I see that when it was restarting to use the new logon, it
would have the following entry:

Information,main,05/27/08,15:23:45,,ColdFusion started
Error,Thread-1,05/27/08,15:25:35,,The Metrics service is not
available. This exception is usually caused by service startup
failure. Check your server configuration.
Information,Thread-1,05/27/08,15:25:40,,ColdFusion stopped

The service manager in Windows shows CF is still running, but
apparently it's not.  So, it appears that jrun isn't able to
find/start the Metrics service.  I've tried using this article as a
guide to resolve it
(http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19120sliceId=1)
but it didn't seem to change anything.

Is there something else I should try doing?

If I have CF start up as the system account, CF starts, but I can't use UNC.

Scott

-- 
-
Scott Brady
http://www.scottbrady.net/

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

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


Re: SMS Gateway Questions

2008-05-27 Thread Wil Genovese
It may be just me and not understanding fully what SMS is...

SMS is the ability to send messages to cell phones in the form of text
messages.. Right?

Why can't you slap the appropriate ending on their cell phone number
and send it that way via CFMail? ([EMAIL PROTECTED] or some such)

If you want inbound, couldn't you use cfpop to check an empty account
to see if any are received?

What am I not understanding?

On Tue, May 27, 2008 at 2:20 PM, Mike Kear [EMAIL PROTECTED] wrote:


Actually just to send a message as 'text' to a cell phone all you need to do is 
send it via cfmail and make it short (160 characters for most providers).

This link will get you going real fast.  Also, if you need to accept a reply 
message you can easily have a dedicated email address an use CF to check for 
replies on a cf scheduled basis and do 'something' with the replies.  I'm 
actually writing code to do this now.


http://www.sms411.net/2006/07/how-to-send-email-to-phone.html

Cheers,

Wil




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

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


Re: SMS Gateway Questions

2008-05-27 Thread Phillip Vector
Ah.. Yeah.. Isn't that what I just said? :)

On Tue, May 27, 2008 at 2:44 PM, Wil Genovese [EMAIL PROTECTED] wrote:
 Actually just to send a message as 'text' to a cell phone all you need to do 
 is send it via cfmail and make it short (160 characters for most providers).

 This link will get you going real fast.  Also, if you need to accept a reply 
 message you can easily have a dedicated email address an use CF to check for 
 replies on a cf scheduled basis and do 'something' with the replies.  I'm 
 actually writing code to do this now.

 http://www.sms411.net/2006/07/how-to-send-email-to-phone.html

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Josh Nathanson
I would keep trying. onSessionStart works. Trust me. So something else
 is going on instead and it makes sense to keep digging until you find
 the issue.

Yup.  There are a couple things you mentioned which are not squaring up:

- you said that you are setting setClientCookies to false, but then you said 
each time you close and reopen the browser, new CFID and CFTOKEN cookies are 
being set.  How is that possible?  I just did a test and these cookies are 
not set when setClientCookies is set to false. So, something is amiss there.

- you asked about having to pass cftoken and cfid in the url as well as 
jsessionid.  You might want to check the CF docs to see if that is 
necessary.

You might want to try (in your development environment) setting 
setClientCookies to true, and then doing some more testing by clearing your 
CFID and CFTOKEN cookies and reloading your site.  This should always give 
you a fresh session and run onSessionStart.  Once you have that working, go 
back to settings setClientCookies to false and pass the CFID and CFTOKEN in 
the url.

-- Josh



- Original Message - 
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Tuesday, May 27, 2008 2:24 PM
Subject: Re: Problem with onSessionStart


I would keep trying. onSessionStart works. Trust me. So something else
 is going on instead and it makes sense to keep digging until you find
 the issue.

 How about adding a simple cflog to your onSessionStart to see when it 
 fires?

 Also - I did ask if you could post the entire CFC. I'd still recommend 
 that.

 On Tue, May 27, 2008 at 4:15 PM, Carl Von Stetten
 [EMAIL PROTECTED] wrote:
 Michael,

 Nothing I put into the OnSessionStart function is being loaded into
 session variables.  However, I did put the code that creates the rd
 session variable instance of my cfc into the OnRequestStart function.  I
 wrapped it with a cfif NOT StructKeyExists() statement so it only
 executes once for a session.  While this works, it feels wrong because
 it should be loaded during the OnSessionStart function.

 Carl

 

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

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


Re: SMS Gateway Questions

2008-05-27 Thread Wil Genovese
Yes, but I gave more info and I have actually done this and I'm  
building the utility to handle replies for a large scale  
application.  :-p


Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well.



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

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


RE: SMS Gateway Questions

2008-05-27 Thread Dave Watts
 SMS is the ability to send messages to cell phones in the 
 form of text messages.. Right?
 
 Why can't you slap the appropriate ending on their cell phone 
 number and send it that way via CFMail? ([EMAIL PROTECTED] 
 or some such)

That doesn't scale too well, as far as I can tell. If you plan to use SMS
with any significant volume of messages, or if you plan to use SMS short
codes, you'll need the services of an SMS provider.

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

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

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

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


RE: mssql beyond compare tool?

2008-05-27 Thread Mark Kruger
We use redgate... It's a commercial tool but quite powerful.

-mark
 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Jay Cronen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 2:24 PM
To: CF-Talk
Subject: Re: mssql beyond compare tool?

is there a mssql2k beyond compare tool?
i have a failing server with tons of crap on it. 1% free space.

need to move old back ups, create new backups, then migrate them...

i need to move the databases to a newer server.
but they have about 45% overlap in database names.

so looks like the previous developer was in the process of migrating 
every thing, but thta didnt get completed and there is no documentation..

so is there a tool i can use to analyze differences.
man.. i am so sqrewd..
any help would be beautiful..
-paul.

Paul,
check out xSQL Software's (http://www.xsqlsoftware.com) xSQL Object for
comparing and synchronizing database schemas (structure) and xSQL Data
Compare for comparing and synchronizing the data - you may not have to pay
anything at all - check this for a description of how we license our
products:
http://xsqlsoftware.blogspot.com/2008/04/unique-hassle-free-software-licensi
ng.html




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

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


RE: mssql beyond compare tool?

2008-05-27 Thread Russ
I use ApexSQL, it's cheaper I believe then RedGate's tools and just as
powerful I believe.  They do have a few bugs in some of the later versions,
but I haven't had any data loss due to them, only have had to modify some
queries that it generates. 

Russ

 -Original Message-
 From: Mark Kruger [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 27, 2008 6:13 PM
 To: CF-Talk
 Subject: RE: mssql beyond compare tool?
 
 We use redgate... It's a commercial tool but quite powerful.
 
 -mark
 
 
 
 Mark A. Kruger, CFG, MCSE
 (402) 408-3733 ext 105
 www.cfwebtools.com
 www.coldfusionmuse.com
 www.necfug.com
 
 -Original Message-
 From: Jay Cronen [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 27, 2008 2:24 PM
 To: CF-Talk
 Subject: Re: mssql beyond compare tool?
 
 is there a mssql2k beyond compare tool?
 i have a failing server with tons of crap on it. 1% free space.
 
 need to move old back ups, create new backups, then migrate them...
 
 i need to move the databases to a newer server.
 but they have about 45% overlap in database names.
 
 so looks like the previous developer was in the process of migrating
 every thing, but thta didnt get completed and there is no documentation..
 
 so is there a tool i can use to analyze differences.
 man.. i am so sqrewd..
 any help would be beautiful..
 -paul.
 
 Paul,
 check out xSQL Software's (http://www.xsqlsoftware.com) xSQL Object for
 comparing and synchronizing database schemas (structure) and xSQL Data
 Compare for comparing and synchronizing the data - you may not have to pay
 anything at all - check this for a description of how we license our
 products:
 http://xsqlsoftware.blogspot.com/2008/04/unique-hassle-free-software-
 licensi
 ng.html
 
 
 
 
 

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

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


Re: Problem with onSessionStart [SOLVED]

2008-05-27 Thread Carl Von Stetten
Well, I dug and found gold.  Turns out that some of the security CFM 
files that are CFINCLUD'ed into my pages had the following statement:

StructClear(session)

Aaa :o

I replaced the StructClear's with StructDelete's only deleting the 
appropriate session security-related variables, and, voila!!!  It's 
working as intended! :-[

Thanks to all who helped me resolve this debacle! :-)
Carl

Josh Nathanson wrote:
 I would keep trying. onSessionStart works. Trust me. So something else
 is going on instead and it makes sense to keep digging until you find
 the issue.
 

 Yup.  There are a couple things you mentioned which are not squaring up:

 - you said that you are setting setClientCookies to false, but then you said 
 each time you close and reopen the browser, new CFID and CFTOKEN cookies are 
 being set.  How is that possible?  I just did a test and these cookies are 
 not set when setClientCookies is set to false. So, something is amiss there.

 - you asked about having to pass cftoken and cfid in the url as well as 
 jsessionid.  You might want to check the CF docs to see if that is 
 necessary.

 You might want to try (in your development environment) setting 
 setClientCookies to true, and then doing some more testing by clearing your 
 CFID and CFTOKEN cookies and reloading your site.  This should always give 
 you a fresh session and run onSessionStart.  Once you have that working, go 
 back to settings setClientCookies to false and pass the CFID and CFTOKEN in 
 the url.

 -- Josh



 - Original Message - 
 From: Raymond Camden [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Tuesday, May 27, 2008 2:24 PM
 Subject: Re: Problem with onSessionStart


   
 I would keep trying. onSessionStart works. Trust me. So something else
 is going on instead and it makes sense to keep digging until you find
 the issue.

 How about adding a simple cflog to your onSessionStart to see when it 
 fires?

 Also - I did ask if you could post the entire CFC. I'd still recommend 
 that.

 On Tue, May 27, 2008 at 4:15 PM, Carl Von Stetten
 [EMAIL PROTECTED] wrote:
 
 Michael,

 Nothing I put into the OnSessionStart function is being loaded into
 session variables.  However, I did put the code that creates the rd
 session variable instance of my cfc into the OnRequestStart function.  I
 wrapped it with a cfif NOT StructKeyExists() statement so it only
 executes once for a session.  While this works, it feels wrong because
 it should be loaded during the OnSessionStart function.

 Carl
   
 

 

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

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


Re: Problem with onSessionStart

2008-05-27 Thread Carl Von Stetten
Ray,

I did post the entire CFC in my reply to your earlier post.

I added the cflog to the OnSessionStart, and if I start my application 
from a fresh browser window (newly launched), it puts an entry into the 
log, along with a timestamp.  What is this telling me?

Raymond Camden wrote:
 I would keep trying. onSessionStart works. Trust me. So something else
 is going on instead and it makes sense to keep digging until you find
 the issue.

 How about adding a simple cflog to your onSessionStart to see when it fires?

 Also - I did ask if you could post the entire CFC. I'd still recommend that.

 On Tue, May 27, 2008 at 4:15 PM, Carl Von Stetten
 [EMAIL PROTECTED] wrote:
   
 Michael,

 Nothing I put into the OnSessionStart function is being loaded into
 session variables.  However, I did put the code that creates the rd
 session variable instance of my cfc into the OnRequestStart function.  I
 wrapped it with a cfif NOT StructKeyExists() statement so it only
 executes once for a session.  While this works, it feels wrong because
 it should be loaded during the OnSessionStart function.

 Carl
 

 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306124
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 Service Startup - Metrics Service is not available

2008-05-27 Thread Scott Brady
So, we found a workaround that we really don't like. If we put that
coldfusion user (it's a domain user) into the Administrators group, it
works.  Putting it in a different group (like Power Users) doesn't
work.

We're not too keen on having it be a local administrator, so I'm open
to other ideas.

(And, this wasn't required when the box was on CF7)

-- 
-
Scott Brady
http://www.scottbrady.net/

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306125
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 Service Startup - Metrics Service is not availabl e

2008-05-27 Thread Dave Watts
 So, we found a workaround that we really don't like. If we 
 put that coldfusion user (it's a domain user) into the 
 Administrators group, it works.  Putting it in a different 
 group (like Power Users) doesn't work.
 
 We're not too keen on having it be a local administrator, so 
 I'm open to other ideas.
 
 (And, this wasn't required when the box was on CF7)

You need to configure your user account to have the required permissions and
privileges. Your account must have the log on as a service privilege,
read/execute access to your web root directory, and RWXD access to your CF
install directory.

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

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

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

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


Re: Problem with onSessionStart

2008-05-27 Thread James Holmes
For the record, CFID and CFTOKEN are used only for client variables
when J2EE sessions are active. With J2EE sessions, the session is
keyed to the JSESSIONID in-memory cookie.

setClientCookies =  false is fine with J2EE sessions if client
variables aren't necessary.

On Wed, May 28, 2008 at 1:48 AM, Josh Nathanson [EMAIL PROTECTED] wrote:
 Thanks for the suggestion.  I'm using J2EE sessions and SetClientCookies
 is set to false, so no cookies are being created.  I've also verified
 that if I close my browser (FireFox 2) and then relaunch the browser and
 open the site, completely different values are assigned to JSESSIONID,
 CFID, and CFTOKEN.

 Huh.  Are you in a situation where you can't use cookies?  If so you'll need
 to pass the cfid and cftoken in the url string on every request to maintain
 a session.  Not sure what the effect would be of having setClientCookies =
 false and then not passing the cfid and cftoken.  Perhaps this is why
 onSessionStart is not running.

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

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

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


Re: SMS Gateway Questions

2008-05-27 Thread Mike Kear
When you send like that,  who pays for the message?I'm pretty
certain that the phone companies in teh USA arent working as charities
adn will bill SOMONE for every message.  So that means unless you have
a business relationship with att.com ot accept billing from the, your
recipient is going to pay.

That may or may not be a good thing.

Here in Australia it would be suicide for most applications to expect
your recipients to pay for the message.

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



On Wed, May 28, 2008 at 7:44 AM, Wil Genovese [EMAIL PROTECTED] wrote:
It may be just me and not understanding fully what SMS is...

SMS is the ability to send messages to cell phones in the form of text
messages.. Right?

Why can't you slap the appropriate ending on their cell phone number
and send it that way via CFMail? ([EMAIL PROTECTED] or some such)

If you want inbound, couldn't you use cfpop to check an empty account
to see if any are received?

What am I not understanding?


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

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


Re: SMS Gateway Questions

2008-05-27 Thread Wil Genovese
That is correct - the recipient pays.  And do they ever as I can  
attest to with my own bill as I test the service I am coding.
However, in the system I am coding right now this is part of our  
clients subscription service that they pay a monthly fee to use and  
thus they opt in to receiving the optional notifications by text  
message and the fees for them.



Wil Genovese

One man with courage makes a majority.
-Andrew Jackson

A fine is a tax for doing wrong. A tax is a fine for doing well.


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

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


RE: SMS Gateway Questions

2008-05-27 Thread Dawson, Michael
We recently setup a deal with an SMS provider to sent emergency alerts to our 
students and staff.  Our part of the deal has us paying for unlimited SMS 
messages for a given price.
 
However, our school does not pay for the recipients to receive the messages.  
The recipient is responsible for paying to receive the messages.
 
Although there are instances where the recipient doesn't pay, such as 
requesting an account status message from your own cell provider, most of the 
time, in the US, you pay to send and you pay to receive.
 
You could think of it as a double-payment for a single message: The sender pays 
to send the message and the recipient pays to receive the messages.  Therefore, 
a single message can cost a total of $0.40 for the full trip.
 
In our case, we let the students/staff opt-in to receive the messages.  We are 
not going to force a $0.20 message on anyone.  You would not believe how bent 
people can get when forced to pay $0.20.
 
Fortunately, my wife and I are on Sprint's unlimited messaging.  It costs us 
$30/month extra, but we send/receive a few thousand messages each month.
 
m!ke

  _  

From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: Tue 5/27/2008 11:15 PM
To: CF-Talk
Subject: Re: SMS Gateway Questions



When you send like that,  who pays for the message?I'm pretty
certain that the phone companies in teh USA arent working as charities
adn will bill SOMONE for every message.  So that means unless you have
a business relationship with att.com ot accept billing from the, your
recipient is going to pay.

That may or may not be a good thing.

Here in Australia it would be suicide for most applications to expect
your recipients to pay for the message.

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




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

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


CFHTTP Post

2008-05-27 Thread Rick
I am trying to connect to CDGCommerce using CFHHTP. 

cfhttp url=https://secure.cdgcommerce.com/cdggateway.cgi; method=POST
resolveurl=false throwonerror=Yes

cfheader name=httpZip value=no-compression /
cfhttpparam type=header name=Accept-Encoding value=* /
cfhttpparam type=Header name=TE value=deflate;q=0

/cfhttp

This returns Connection Failure: Status code unavailable


The results of the above should be decline|0001 as you can see if you go
to https://secure.cdgcommerce.com/cdggateway.cgi

I have searched google and even the archives on House of Fusion. That is
where I got to put in the the cfheader and cfhttpparams above. But its still
not working. 

The site(s) are hosted on a CF7 server with IIS6. 

Any help on this would be great!

Rick





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

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


Re: CFHTTP Post

2008-05-27 Thread James Holmes
Can you successfully do a GET request with no params or headers?

On Wed, May 28, 2008 at 12:36 PM, Rick [EMAIL PROTECTED] wrote:
 I am trying to connect to CDGCommerce using CFHHTP.

 cfhttp url=https://secure.cdgcommerce.com/cdggateway.cgi; method=POST
 resolveurl=false throwonerror=Yes

 cfheader name=httpZip value=no-compression /
 cfhttpparam type=header name=Accept-Encoding value=* /
 cfhttpparam type=Header name=TE value=deflate;q=0

 /cfhttp

 This returns Connection Failure: Status code unavailable

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

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

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


RE: CFHTTP Post

2008-05-27 Thread Rick
Yes I can do that without any problems. It's just Get. And https or http...

Rick

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 11:47 PM
To: CF-Talk
Subject: Re: CFHTTP Post

Can you successfully do a GET request with no params or headers?

On Wed, May 28, 2008 at 12:36 PM, Rick [EMAIL PROTECTED] wrote:
 I am trying to connect to CDGCommerce using CFHHTP.

 cfhttp url=https://secure.cdgcommerce.com/cdggateway.cgi; method=POST
 resolveurl=false throwonerror=Yes

 cfheader name=httpZip value=no-compression /
 cfhttpparam type=header name=Accept-Encoding value=* /
 cfhttpparam type=Header name=TE value=deflate;q=0

 /cfhttp

 This returns Connection Failure: Status code unavailable

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



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

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


RE: CFHTTP Post

2008-05-27 Thread Rick
Sorry, I meant it's just POST that's not working.

Rick

-Original Message-
From: Rick [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 11:51 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: CFHTTP Post

Yes I can do that without any problems. It's just Get. And https or http...

Rick

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 11:47 PM
To: CF-Talk
Subject: Re: CFHTTP Post

Can you successfully do a GET request with no params or headers?

On Wed, May 28, 2008 at 12:36 PM, Rick [EMAIL PROTECTED] wrote:
 I am trying to connect to CDGCommerce using CFHHTP.

 cfhttp url=https://secure.cdgcommerce.com/cdggateway.cgi; method=POST
 resolveurl=false throwonerror=Yes

 cfheader name=httpZip value=no-compression /
 cfhttpparam type=header name=Accept-Encoding value=* /
 cfhttpparam type=Header name=TE value=deflate;q=0

 /cfhttp

 This returns Connection Failure: Status code unavailable

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



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

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


RE: CFHTTP Post

2008-05-27 Thread Mark Kruger
Rick,

To be clear - using a browser on the server itself (RDP in and open up FF or
IE) you can type in the URL and it works - correct?

Remember that if you are using a cert that is not in your Java keystore it
will need to be added before CFHTTP can handshake properly.

-Mark 


Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusionmuse.com
www.necfug.com

-Original Message-
From: Rick [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 27, 2008 11:52 PM
To: CF-Talk
Subject: RE: CFHTTP Post

Sorry, I meant it's just POST that's not working.

Rick

-Original Message-
From: Rick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 11:51 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: CFHTTP Post

Yes I can do that without any problems. It's just Get. And https or http...

Rick

-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2008 11:47 PM
To: CF-Talk
Subject: Re: CFHTTP Post

Can you successfully do a GET request with no params or headers?

On Wed, May 28, 2008 at 12:36 PM, Rick [EMAIL PROTECTED] wrote:
 I am trying to connect to CDGCommerce using CFHHTP.

 cfhttp url=https://secure.cdgcommerce.com/cdggateway.cgi; method=POST
 resolveurl=false throwonerror=Yes

 cfheader name=httpZip value=no-compression / cfhttpparam 
 type=header name=Accept-Encoding value=* / cfhttpparam 
 type=Header name=TE value=deflate;q=0

 /cfhttp

 This returns Connection Failure: Status code unavailable

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





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

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