Re: Interacting with SOAP

2007-02-01 Thread Robertson-Ravo, Neil (RX)
This is expected, as I can no doubt say that the web service you are calling
is .NET and that the return variable is not of type string.

If the result is XML or any other complex object, CF/Axis will *not* comsume
it the way you expect, it may not even consume it correctly at all in that
the stub could be wrong (which is what your error is now. Web services setup
this way are badly designed in terms of interop and I can imagine if it
isn't changed your only way to consume it would be to create all the SOAP
headers manually. 

If you dump the web service, what is the return type of the method
getMyAuction()? Is it string or is it a package (com.x etc)?

Axis is awesome at consuming web services and doing all the magic but it has
some limitations which stop it from correctly consuming a .NET service with
complex object returns (this limitation could just be CFs implementation of
itl I haven't checked).

I guarantee 100% that if the return type is changed from complex to string
it will work straight off the bat.





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

-Original Message-
From: Tony Hicks
To: CF-Talk
Sent: Thu Feb 01 05:13:49 2007
Subject: Re: Interacting with SOAP

As per Dov Katz suggestions in a personal email, I added WSDL to the url.
And the error I get now is Web service operation getMyAuctions with
parameters {} could not be found. which is funny because if I cfdump gma,
the service is clearly listed. Very strange. And if I navigate to it at
http://apiv2.gunbroker.com/AuctionService.asmx the service is also listed.

The only inconsistency is that in the browser, its listed as GetMyAuctions
and the cfdump lists it as getMyAuctions.

Thanks for all the help thus far.

On 1/31/07, Dave Watts [EMAIL PROTECTED] wrote:

  Here is my most recent coding attempt...
 
  gma = CreateObject(webservice, auctionsiteurl);
  RequestCredentials = StructNew();
  RequestCredentials.DevKey=...;
  RequestCredentials.AppKey=...; RequestCredentials.UserName=...;
  RequestCredentials.Password=...;
  gma.setHeader(API_V2,RequestCredentials,RequestCredentials);
 
  I think this should work... but its not... I've tried three
  or four different ways and I get Could not generate stub
  objects for web service invocation.

 Where is their WSDL? That's what CF uses to generate stubs.

 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!


 



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

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


OT: deployment with ANT and CVS

2007-02-01 Thread Michael Traher
We already have a deployment process which works within our LAN environment,
which uses an ANT script to extract code from CVS and rsync this with the
target site on a web server.

We now have a remote site and have found that while it still works it takes
too long to copy the whole site prior to the rsync.

So we want to have a CVS sandbox on the target web server and then get ANT
to logon to the CVS server and perform a CVS UPDATE, (transfering far fewer
files) then rsync (ignoring the CVS folders).

PROBLEM is that we don't seem to be able to pass CVS the password within the
ANT script.

here is the ant script we are trying - but it just prompts for the password

project name=deploy default=deploy basedir=.
 target name=deploy


  cvs command=update -d #Arguments.SysName#

cvsRoot=:ext:#Arguments.User#:[EMAIL PROTECTED]:#Arguments.Repository#
   package=#Arguments.SysName#
   dest=#Arguments.TempDir#
   cvsRsh=TortoisePlink.exe
   reallyquiet=true
  /

  sync todir=#Arguments.SysRoot#
   fileset dir=#Arguments.TempDir#
patternset id=output files
 exclude name=out/
/patternset
   /fileset
  /sync

 /target
/project

Anyone know of a way to get the password to be passed to CVS via ANT with no
prompt?

Thanks


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


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

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


RE: Reading from an Excel file through ColdFusion.

2007-02-01 Thread Robertson-Ravo, Neil (RX)
Not sure there are any docs but it is in CF at the following location: it is
being used by cfdocument (possibly other things)

C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\




-Original Message-
From: Eric Roberts [mailto:[EMAIL PROTECTED] 
Sent: 01 February 2007 03:00
To: CF-Talk
Subject: RE: Reading from an Excel file through ColdFusion.

Is there any docs on that...I never heard that before...

Eric 

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 31 January 2007 01:56
To: CF-Talk
Subject: Re: Reading from an Excel file through ColdFusion.

It is indeed built in to ColdFusion, since 6.1 I think - maybe 7 but it is
still in the lib, as is iText.






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

-Original Message-
From: Eric Roberts
To: CF-Talk
Sent: Wed Jan 31 03:33:42 2007
Subject: RE: Reading from an Excel file through ColdFusion.

POI is built in?  Since when?  Last time I checked you had to add the java
classes to CF...

Eric 

-Original Message-
From: Ben Nadel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 30 January 2007 08:07
To: CF-Talk
Subject: RE: Reading from an Excel file through ColdFusion.

Hussain,

I have created a early beta for a ColdFusion component that wraps around a
limited set of POI functionality for reading / writing Excel files.
The best part of this is that POI is built into ColdFusion so there is
nothing too sneaky going on here, nor does anything new need to be
installed. 

Check it out:

http://bennadel.com/blog/474-ColdFusion-Component-Wrapper-For-POI-To-Rea
d-And-Write-Excel-Files.htm
OR http://www.bennadel.com/index.cfm?dax=blog:474.view 

Let me know if you have any questions. I am working on improving it as we
speak, but this is what I have so far.


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/


-Original Message-
From: hussain shaikh [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 30, 2007 6:52 AM
To: CF-Talk
Subject: Reading from an Excel file through ColdFusion.

Hi,
I want to read and parse through the excel files from coldfusion.
Banged my head on the net but couldn't find anything :-( Even in CF
documentation it's nowhere mentioned about reading an excel file from CF.
This is the last hope of finding a solution.

Thanks in advance.
Hussain.











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

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


RE: deployment with ANT and CVS

2007-02-01 Thread Tero Pikala
Anyone know of a way to get the password to be passed to CVS via ANT with
no prompt?

Maybe you could consider setting up SSH private key authentication without
password at all? I know it's not ideal from security point of view but it
could solve the issue. 


Tero Pikala 


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

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


Re: CFEclipse Vs Dreamweaver

2007-02-01 Thread Mark Drew
hmm.. I dont know.. try it :)

Actually, I have briefly tested it and it seems fine...

let me know if you find any bugs...

MD


On 25 Jan 2007, at 17:50, Andy Matthews wrote:

 Mark...

 Is the current build of CFEclipse up to the 3.3M4 milestone?

 -Original Message-
 From: Doug Bezona [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 25, 2007 11:38 AM
 To: CF-Talk
 Subject: RE: CFEclipse Vs Dreamweaver

 No idea. I'm actually downloading it now to give it a spin. The  
 milestone
 releases - at least past the first one or two - tend to be fairly  
 stable.

 The main issues I've run into in the past are usually with plugins  
 breaking
 due to API changes.

 -Original Message-
 From: Andy Matthews [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 25, 2007 12:29 PM
 To: CF-Talk
 Subject: RE: CFEclipse Vs Dreamweaver

 Ooooh...

 Is 3.3m4 stable at all? Do you think this would be safe for general
 use?





 

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

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


Re: CFEclipse Vs Dreamweaver

2007-02-01 Thread Mark Drew
Dreamweaver is a generic web editor, CFEclipse is aimed as an  
integrated development environment for ColdFusion

There are differences here I understand but I code a lot of CF... and  
I do a little HTML (a little) so I guess its the percentage thing

MD




On 25 Jan 2007, at 15:30, Heather Wegner wrote:

 Mark, could you please explain what the difference in goals is?

 Also, what are the chances of CFEclipse showing hidden characters?  
 I prefer to see dots for spaces, paragraph and indent markers, etc.  
 Is there a way to get CFEclipse to show these control characters?

 Thanks!


 The goals of DW and CFEclipse are slightly different, so it is also
 horses for courses. I do use DW and it is pretty awesome
 (now..well..since October?).

 We are working hard to get CFE to do *everything* that someone could
 want to do.. and all you need do is ask or get involved to make it
 better.

 Regards

 Mark Drew



 On 29 Jan 2006, at 17:13, Zaphod Beeblebrox wrote:



 

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

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


duplication while inserting data from cf end

2007-02-01 Thread kanidapu Govindarajulu
Did you ever resolve this?whenever i am trying to insert some data in sqlserver 
database the data is duplicating from fornt end. It will create duplicates 
occasionally and not all of the time.Anyone have any ideas?please respond.

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

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


thread-saftey of application-instantiated components

2007-02-01 Thread Leitch, Oblio
If I create a component (potentially long-running) and instantiate it
into the application scope (so all pages can access it), how thread-safe
will it be?  That is, if two pages call it simultaneously is there any
chance one will get the results of the other?  Or maybe I'm being
paranoid and don't understand what thread-safe really means or where
it's a concern?

 

TIA,

 

Oblio


This email message may contain privileged and/or confidential information. If 
you are not the intended recipient(s), you are hereby notified that any 
dissemination, distribution, or copying of this email message is strictly 
prohibited. If you have received this message in error, please immediately 
notify the sender and delete this email message from your computer.



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

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


Re: hiding url variables

2007-02-01 Thread Richard White
thanks for all your replies. I think your right i will have to use hidden 
fields and form posts as much as possible. and when i need to use the URL then 
i will use the encrypt / decrypt link that was added in the replies. this is 
very useful, 

thanks very much for all your help

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

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


Daily procedures for using Subversion

2007-02-01 Thread Peterson, Chris
I am having a hard time fitting Subversion into my general coding
procedures.  I have been a 1-man coder at a company that has nothing to
do with programming for the longest time (transportation related
business).  Now we are branching out to providing programming services,
and I want to ensure I keep accurate revisions of my code in Subversion
for backup and peace of mind.  Typically, I use cf-eclipse to author and
test code on a single test server I have, then once its happy I copy the
folder to my production server and am done.  I configured subversion on
my iSeries AS400, and got subclipse setup and running fine.  When you
create a repository, every single time I save too it, it increments the
version number.  Well, my original thought was to take my entire webroot
and commit that to a general repository.  That seems silly to have a
version number for every single un-related change I made to any code in
there.  So, it seems that I would need to create a repo for each
distinct project I work on.  That seems excessive, as I would have to
setup a repo for each 1-off single folder report I make that only has
like 3 pages in it!  Is there a happy medium?  Also, how often do you
commit a change to the repo?  And last, how do you work when you need to
get something out of the repo to work with?  Do you download it to your
local machine, or download to a test server?  I don't need help
configuring subversion, just using it!

Chris Peterson

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

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


Re: deployment with ANT and CVS

2007-02-01 Thread Michael Traher
Thankds Tero, actually that is the line we are investigating currently in
consultation with our security experts.



On 2/1/07, Tero Pikala [EMAIL PROTECTED] wrote:

 Anyone know of a way to get the password to be passed to CVS via ANT with
 no prompt?

 Maybe you could consider setting up SSH private key authentication without
 password at all? I know it's not ideal from security point of view but it
 could solve the issue.


 Tero Pikala


 

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

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


Re: thread-saftey of application-instantiated components

2007-02-01 Thread James Holmes
Yes, the separate calls could get inconsistent data. This is what the
CFLOCK tag is for.

On 2/1/07, Leitch, Oblio [EMAIL PROTECTED] wrote:
 If I create a component (potentially long-running) and instantiate it
 into the application scope (so all pages can access it), how thread-safe
 will it be?  That is, if two pages call it simultaneously is there any
 chance one will get the results of the other?  Or maybe I'm being
 paranoid and don't understand what thread-safe really means or where
 it's a concern?

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

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

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


RE: Daily procedures for using Subversion

2007-02-01 Thread Leitch, Oblio
We have three developers working on various parts of a single site.  We
each have our own development branch; I only commit to mine
occasionally.  My branch contains a copy of the entire site, as does
everyone else.  When our branch is stable or an update needs to be
rolled out, we checkout the trunk to a local directory and merge our
branch to it, resolve any conflicts, and commit it back to the trunk.
Once in a while, we merge the trunk into our dev-branches too.  The
web-root has a checkedout version of the trunk, which allows us to
deploy by updating the web-root.  This may not be the best way, but
it's separate enough and still allows collaboration.

Also, don't think of the revision number as a version, but rather a
progress-meter or build number.  True versions are released when the
developer feels it's safe to do so, and manually assigns the number.
Read about tags if you want to do something similar with subversion.

Oblio

-Original Message-
From: Peterson, Chris [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 8:15 AM
To: CF-Talk
Subject: Daily procedures for using Subversion

I am having a hard time fitting Subversion into my general coding
procedures.  I have been a 1-man coder at a company that has nothing to
do with programming for the longest time (transportation related
business).  Now we are branching out to providing programming services,
and I want to ensure I keep accurate revisions of my code in Subversion
for backup and peace of mind.  Typically, I use cf-eclipse to author and
test code on a single test server I have, then once its happy I copy the
folder to my production server and am done.  I configured subversion on
my iSeries AS400, and got subclipse setup and running fine.  When you
create a repository, every single time I save too it, it increments the
version number.  Well, my original thought was to take my entire webroot
and commit that to a general repository.  That seems silly to have a
version number for every single un-related change I made to any code in
there.  So, it seems that I would need to create a repo for each
distinct project I work on.  That seems excessive, as I would have to
setup a repo for each 1-off single folder report I make that only has
like 3 pages in it!  Is there a happy medium?  Also, how often do you
commit a change to the repo?  And last, how do you work when you need to
get something out of the repo to work with?  Do you download it to your
local machine, or download to a test server?  I don't need help
configuring subversion, just using it!

Chris Peterson



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

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


RE: Daily procedures for using Subversion

2007-02-01 Thread Richard Kroll
You said that you thought of putting the entire web root under source
control.  Is the web root one project, or do you have multiple
applications running under it?  If it is one project then can create a
repository where the trunk would be your entire web root.  The
repository structure would look like:

|- Repository root
  |-trunk
  |-tags
  |-branches

The problem with this approach is what happens if a new application
needs to be put under source control? You end up with a very strange
repo tree.
I suggest creating your repository like:

|-Repository root
  |-app1
|-trunk
|-etc.
  |-app2
|-trunk
|-etc.

I would not worry too much about the revision numbers and how they
increment with each committed change.  They are there to enable you to
isolate each atomic commit that took place.  In terms of deployment and
matching how you currently work, you could simple have your production
server be a 'check-out' of the appropriate repository.  You could also
integrate ANT into your process and have build scripts automatically
deploy your application.

Also, how often do you
 commit a change to the repo?  And last, how do you work when you need
to
 get something out of the repo to work with?  Do you download it to
your
 local machine, or download to a test server?  

You can simply check-out a projects trunk into a local folder. When
changes were needed, you would update your local environment (SVN
Update), do the work needed, test, and then commit your changes.

Suggested best practice is to create a tag or branch when you are ready
to deploy, and simply deploy that tag/branch to your production servers.


HTH,

Rich Kroll

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

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


RE: thread-saftey of application-instantiated components

2007-02-01 Thread Richard Kroll
There is the possibility for race conditions, so it depends what your
component is doing.  If your component has the following method:

cffunction name=performMath
cfargument name=num1 type=numeric required=true /
cfargument name=num2 type=numeric required=true /
cfset var result = (num1 * 2) + num2 /
cfreturn result /
/cffunction

This method in an application scoped component is thread safe.  There is
no instance data that could change for each request.  

But this method is not thread safe:

cffunction name=performMath
cfset var result = (variables.num1 * 2) + variables.num2/
cfreturn result /
/cffunction

Thread safety becomes an issue when you are dealing with instance data
within the component (the variables scope) that could change based on
the actions of a different request.  In cases like this you would need
to lock the transaction just as you would any other shared scope
variable.

HTH,

Rich Kroll


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

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


RE: thread-saftey of application-instantiated components

2007-02-01 Thread Richard Kroll
 Yes, the separate calls could get inconsistent data. This is what the
 CFLOCK tag is for.

This is true only if the method is calling / using instance data.

Rich Kroll

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

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


What does applicationToken actually do?

2007-02-01 Thread Leitch, Oblio
Can anyone explain what applicationToken actually does in cflogin?
I've got two applications on the same server, and, though I have this
attribute, authorizing under one context does not show me authorized
under the other.  If that's not its function, what is it there for?
 
TIA,
Oblio

This email message may contain privileged and/or confidential information. If 
you are not the intended recipient(s), you are hereby notified that any 
dissemination, distribution, or copying of this email message is strictly 
prohibited. If you have received this message in error, please immediately 
notify the sender and delete this email message from your computer.



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

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


Re: Showing actual used value from cfqueryparam tag

2007-02-01 Thread Patrick Farabee
Example code.
cfquery name=test datasource=myDS
   select cfqueryparam cfsqltype=cf_sql_integer value=1.5
/cfquery

I was under the impression that CFQUERYPARAM just validates and typecasts the 
value as you specify... so you would get something like (not sure of exact 
syntax being sent)
SELECT CAST(1.5 as integer)

Which would return 1 row with an unnamed column value of either 1 or 2, 
depending on how the rounding goes, which is probably not what you are wanting.

If you want to use the cfqueryparam value in a search, you would need
to do something like:

SELECT FROM TableName WHERE
  ColumnName=cfqueryparam cfsqltype=cf_sql_integer value=1.5

Unless there's something I'm missing, which there very well may be.  I don't 
use cfqueryparam myself..

--
Pat

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

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

2007-02-01 Thread Terry Troxel
Sounds like you need to start by first creating a dynamic
gif with your coordinates and the shading and then create
dynamically create the coresponding image map with the
links.

Terry Troxel 

-Original Message-
From: Sandra Clark [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 12:45 PM
To: CF-Talk
Subject: RE: OT-Image Maps

 
No,

CSS supports something called cropping, but at this time,
only rectangular cropping is available. And that simply
crops an element.

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


-Original Message-
Subject: Re: OT-Image Maps


Can I use x,y coordinates to draw a Polygon with CSS? I
really want to render a dynamic map without images.  I have
the x,y coords but want to shade individual regions based
upon query results.






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

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


Re: Interacting with SOAP

2007-02-01 Thread Tony Hicks
That is extremely helpful.

It won't help me get it done, but near as I could figure, it wasn't my
programming. I hate the idea of submitting the xml manually, but if it must
be done, it must be done. I've never worked with such an undocumented web
service in my life.

Here is how getMyAuctions is listed in the cfdump of the ws object.
getMyAuctions (returns GunBrokerAPI_V2.GetMyAuctionsResponseType)

On 2/1/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:

 This is expected, as I can no doubt say that the web service you are
 calling
 is .NET and that the return variable is not of type string.

 If the result is XML or any other complex object, CF/Axis will *not*
 comsume
 it the way you expect, it may not even consume it correctly at all in that
 the stub could be wrong (which is what your error is now. Web services
 setup
 this way are badly designed in terms of interop and I can imagine if it
 isn't changed your only way to consume it would be to create all the SOAP
 headers manually.

 If you dump the web service, what is the return type of the method
 getMyAuction()? Is it string or is it a package (com.x etc)?

 Axis is awesome at consuming web services and doing all the magic but it
 has
 some limitations which stop it from correctly consuming a .NET service
 with
 complex object returns (this limitation could just be CFs implementation
 of
 itl I haven't checked).

 I guarantee 100% that if the return type is changed from complex to string
 it will work straight off the bat.





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

 -Original Message-
 From: Tony Hicks
 To: CF-Talk
 Sent: Thu Feb 01 05:13:49 2007
 Subject: Re: Interacting with SOAP

 As per Dov Katz suggestions in a personal email, I added WSDL to the url.
 And the error I get now is Web service operation getMyAuctions with
 parameters {} could not be found. which is funny because if I cfdump gma,
 the service is clearly listed. Very strange. And if I navigate to it at
 http://apiv2.gunbroker.com/AuctionService.asmx the service is also listed.

 The only inconsistency is that in the browser, its listed as GetMyAuctions
 and the cfdump lists it as getMyAuctions.

 Thanks for all the help thus far.

 On 1/31/07, Dave Watts [EMAIL PROTECTED] wrote:
 
   Here is my most recent coding attempt...
  
   gma = CreateObject(webservice, auctionsiteurl);
   RequestCredentials = StructNew();
   RequestCredentials.DevKey=...;
   RequestCredentials.AppKey=...; RequestCredentials.UserName=...;
   RequestCredentials.Password=...;
   gma.setHeader(API_V2,RequestCredentials,RequestCredentials);
  
   I think this should work... but its not... I've tried three
   or four different ways and I get Could not generate stub
   objects for web service invocation.
 
  Where is their WSDL? That's what CF uses to generate stubs.
 
  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!
 
 
 



 

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

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


RE: Daily procedures for using Subversion

2007-02-01 Thread Russ
Chris, 

You should probably ask for some help on the svn-users list.  The version
number thing comes up there all the time, and svn has a single revision
number for the repository, not for each file.  You should not worry about
that revision number.  

The way we work is:  
Every developer has their own working copy on their PC.  They do development
and check it into subversion whenever it's ready.  
Code gets deployed to the development/QA server and is QA'ed.  
Code gets deployed to production.  

We try to keep most of the change requests in trac, and what we do is for
small changes, we make the change to the file(s), test it locally, and
commit it to trunk.  After this we deploy the code to production by doing an
update (production has a checked out working copy of trunk). 

For larger changes, we create a branch and a tag. (Both copies of the
trunk).  The developer switches their working copy to the branch and does
their changes.  Once it's ready, he checks it into the branch and updates
the trac ticket.  At this point it gets merged into the trunk on the QA
server and tested by the QA team.  Once it's approved, it gets commited to
trunk and gets put on production.  

For smaller projects you probably want to organize your repository like
this:

ProjectA/
branches
tags
trunk
ProjectB/
branches
tags
trunk
Etc

This way you have everything in a single repository, so you don't have a lot
of administrative overhead, but you still get all the benefits of using
branches.  

You should use subversion by using Subclipse, which is a plugin for eclipse,
or use TortoiseSVN if you're on windows and don't like Subclipse for some
reason.  I tend to use both, but mostly Subclipse.  

I hope this helps, 

Russ

 -Original Message-
 From: Peterson, Chris [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 01, 2007 8:15 AM
 To: CF-Talk
 Subject: Daily procedures for using Subversion
 
 I am having a hard time fitting Subversion into my general coding
 procedures.  I have been a 1-man coder at a company that has nothing to
 do with programming for the longest time (transportation related
 business).  Now we are branching out to providing programming services,
 and I want to ensure I keep accurate revisions of my code in Subversion
 for backup and peace of mind.  Typically, I use cf-eclipse to author and
 test code on a single test server I have, then once its happy I copy the
 folder to my production server and am done.  I configured subversion on
 my iSeries AS400, and got subclipse setup and running fine.  When you
 create a repository, every single time I save too it, it increments the
 version number.  Well, my original thought was to take my entire webroot
 and commit that to a general repository.  That seems silly to have a
 version number for every single un-related change I made to any code in
 there.  So, it seems that I would need to create a repo for each
 distinct project I work on.  That seems excessive, as I would have to
 setup a repo for each 1-off single folder report I make that only has
 like 3 pages in it!  Is there a happy medium?  Also, how often do you
 commit a change to the repo?  And last, how do you work when you need to
 get something out of the repo to work with?  Do you download it to your
 local machine, or download to a test server?  I don't need help
 configuring subversion, just using it!
 
 Chris Peterson
 
 

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

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


Re: images not respecting clear in cfdocument PDF

2007-02-01 Thread Zoe Gillenwater
Ok, I know it's been months since I started this thread, but I had to put this 
project on hold for quite awhile, and also wait for my IT guy to install the 
latest update to CF on the server to make sure that wasn't the cause of the 
problem.

The problem is still happening. Since it's been so long, let me repeat what it 
is:

A site I am working on uses the cfdocument tag to create PDFs of pages. The 
pages that are being converted are very image-heavy, and all of the images are 
floated, using CSS. They also have CSS clears on them to ensure that if one 
image wants to start before the previous one has ended they don't get hung up 
on one another. This works great in the HTML, but sometimes -- not always -- 
the clears are not respected in the PDFs that cfdocument outputs. I see no 
pattern in which images get caught on previous images.

Here's a PDF that exhibits the problem: 
http://www.saferoutesinfo.org/guide/tpo_pdf.cfm?ITEM=PageCHAPTER_ID=C353Page=tools_to_reduce_crossing_distances_for_pedestrians.cfmPageTitle=Tools%20to%20Reduce%20Crossing%20Distances%20for%20Pedestrians
 
(Second image doesn't clear at all, other images on pages 3 and 4 almost clear 
but get hung up)

Here's the page that the PDF was created from: 
http://www.saferoutesinfo.org/guide/engineering/tools_to_reduce_crossing_distances_for_pedestrians.cfm

Here's the style sheet that styles the PDFs: 
http://www.saferoutesinfo.org/guide/css/pdf.css

Jon Clausen had this suggestion:

Also, I've personally found that I sometimes need to brute force  
the CSS for cfdocument PDF's.   By that, I mean calling all your  
selectors as specifically as possible and using !important more  
liberally than you might on an HTML page to override any default  
styling.   An example using your CSS:


div#content img.right {
   /*display: inline;*/
   clear: right!important;
   float: right!important;
   margin: 0 0 .8em 1em;
   margin: .2em 0 1em 1.4em;
}

instead of

.right {
   /*display: inline;*/
   clear: right;
   float: right;
   margin: 0 0 .8em 1em;
   margin: .2em 0 1em 1.4em;
}

Unfortunately, using !important on my clear declaration, as well as changing it 
to clear: both, has not made any difference.

I'm thinking at this point that there is nothing else I can do -- cfdocument is 
just too buggy. But I wanted to follow up on this thread once more just to make 
sure no one else had any ideas.

Thanks,
Zoe

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

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


previous date

2007-02-01 Thread Orlini, Robert
I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it 
today it gives me the previous date of 0 as opposed to 31.

How do I get it to generate the previous date as the 31st as opposed to 0?

I'm still new as to understanding this.

Thanks!

Robert O.
HWW


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

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


RE: thread-saftey of application-instantiated components

2007-02-01 Thread Tero Pikala
Typically you would have something like this in your cfcs: 

cffunction name=action returntype=Any
cfset var local = StructNew()

[actual implementation]

cfreturn local.retval
/cffunction


Using cfset var creates separate scope for each time you invoke your
method. 

If you really need to single thread your calls cflock is good way to do
it, but that will limit application scalability. 


Tero Pikala


-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: 01 February 2007 13:22
To: CF-Talk
Subject: Re: thread-saftey of application-instantiated components

Yes, the separate calls could get inconsistent data. This is what the
CFLOCK tag is for.

On 2/1/07, Leitch, Oblio [EMAIL PROTECTED] wrote:
 If I create a component (potentially long-running) and instantiate it
 into the application scope (so all pages can access it), how thread-safe
 will it be?  That is, if two pages call it simultaneously is there any
 chance one will get the results of the other?  Or maybe I'm being
 paranoid and don't understand what thread-safe really means or where
 it's a concern?

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



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

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


Re: previous date

2007-02-01 Thread Jacob Munson
Use DateAdd

On 2/1/07, Orlini, Robert [EMAIL PROTECTED] wrote:
 I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it 
 today it gives me the previous date of 0 as opposed to 31.

 How do I get it to generate the previous date as the 31st as opposed to 0?

 I'm still new as to understanding this.

 Thanks!

 Robert O.
 HWW


 

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

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


RE: previous date

2007-02-01 Thread Porter, Benjamin L.
 #DateFormat(DateAdd(d,-1,Now()),dd)#

-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 10:45 AM
To: CF-Talk
Subject: previous date

I using #DateFormat(Now(),dd)-1# to get a previous date. However,
using it today it gives me the previous date of 0 as opposed to 31.

How do I get it to generate the previous date as the 31st as opposed to
0?

I'm still new as to understanding this.

Thanks!

Robert O.
HWW




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

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


Re: previous date

2007-02-01 Thread Charlie Griefer
dateAdd('d', -1, now())
day(dateAdd('d', -1, now()))

On 2/1/07, Orlini, Robert [EMAIL PROTECTED] wrote:
 I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it 
 today it gives me the previous date of 0 as opposed to 31.

 How do I get it to generate the previous date as the 31st as opposed to 0?

 I'm still new as to understanding this.

 Thanks!

 Robert O.
 HWW


 

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

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


Re: previous date

2007-02-01 Thread Jim Wright
Orlini, Robert wrote:
 I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it 
 today it gives me the previous date of 0 as opposed to 31.
 
 How do I get it to generate the previous date as the 31st as opposed to 0?
 

#DateFormat(Now()-1,dd)#

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

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


RE: previous date

2007-02-01 Thread Ben Forta
You want #DateFormat(Now()-1, dd)#


-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 11:45 AM
To: CF-Talk
Subject: previous date

I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it
today it gives me the previous date of 0 as opposed to 31.

How do I get it to generate the previous date as the 31st as opposed to 0?

I'm still new as to understanding this.

Thanks!

Robert O.
HWW




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

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


Re: previous date

2007-02-01 Thread Dan Vega
Jacob is right, you want to use dateAdd here

cfset dateAdd(d,-1,now())



On 2/1/07, Jacob Munson [EMAIL PROTECTED] wrote:

 Use DateAdd

 On 2/1/07, Orlini, Robert [EMAIL PROTECTED] wrote:
  I using #DateFormat(Now(),dd)-1# to get a previous date. However,
 using it today it gives me the previous date of 0 as opposed to 31.
 
  How do I get it to generate the previous date as the 31st as opposed to
 0?
 
  I'm still new as to understanding this.
 
  Thanks!
 
  Robert O.
  HWW
 
 
 

 

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

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


CFC DAO/Bean Generator

2007-02-01 Thread Marco Antonio C. Santos
Anyone know a good CFC DAO and Bean generator other than CFCCreator?

Cheers


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

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


Links to Network shares in Safari

2007-02-01 Thread Jacob Munson
I've got some local users that use Macs, and one of our Intranet pages
has videos that people can view.  This works in IE, but not in Firefox
or Safari:
href=file:///\\midland\info\#enewsVideo#

Any ideas on what I could do for non-IE users?  I've done this before
but can't remember what I did.  Also, Google, Yahoo, etc.  are useless
to me in this case because any search that includes file:// as a
term just searches for file.

-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/

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

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


RE: Interacting with SOAP

2007-02-01 Thread Robertson-Ravo, Neil (RX)
I can say that from that dump you will never be able to consume it using CF.




-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED] 
Sent: 01 February 2007 15:47
To: CF-Talk
Subject: Re: Interacting with SOAP

That is extremely helpful.

It won't help me get it done, but near as I could figure, it wasn't my
programming. I hate the idea of submitting the xml manually, but if it must
be done, it must be done. I've never worked with such an undocumented web
service in my life.

Here is how getMyAuctions is listed in the cfdump of the ws object.
getMyAuctions (returns GunBrokerAPI_V2.GetMyAuctionsResponseType)

On 2/1/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:

 This is expected, as I can no doubt say that the web service you are
 calling
 is .NET and that the return variable is not of type string.

 If the result is XML or any other complex object, CF/Axis will *not*
 comsume
 it the way you expect, it may not even consume it correctly at all in that
 the stub could be wrong (which is what your error is now. Web services
 setup
 this way are badly designed in terms of interop and I can imagine if it
 isn't changed your only way to consume it would be to create all the SOAP
 headers manually.

 If you dump the web service, what is the return type of the method
 getMyAuction()? Is it string or is it a package (com.x etc)?

 Axis is awesome at consuming web services and doing all the magic but it
 has
 some limitations which stop it from correctly consuming a .NET service
 with
 complex object returns (this limitation could just be CFs implementation
 of
 itl I haven't checked).

 I guarantee 100% that if the return type is changed from complex to string
 it will work straight off the bat.





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

 -Original Message-
 From: Tony Hicks
 To: CF-Talk
 Sent: Thu Feb 01 05:13:49 2007
 Subject: Re: Interacting with SOAP

 As per Dov Katz suggestions in a personal email, I added WSDL to the url.
 And the error I get now is Web service operation getMyAuctions with
 parameters {} could not be found. which is funny because if I cfdump gma,
 the service is clearly listed. Very strange. And if I navigate to it at
 http://apiv2.gunbroker.com/AuctionService.asmx the service is also listed.

 The only inconsistency is that in the browser, its listed as GetMyAuctions
 and the cfdump lists it as getMyAuctions.

 Thanks for all the help thus far.

 On 1/31/07, Dave Watts [EMAIL PROTECTED] wrote:
 
   Here is my most recent coding attempt...
  
   gma = CreateObject(webservice, auctionsiteurl);
   RequestCredentials = StructNew();
   RequestCredentials.DevKey=...;
   RequestCredentials.AppKey=...; RequestCredentials.UserName=...;
   RequestCredentials.Password=...;
   gma.setHeader(API_V2,RequestCredentials,RequestCredentials);
  
   I think this should work... but its not... I've tried three
   or four different ways and I get Could not generate stub
   objects for web service invocation.
 
  Where is their WSDL? That's what CF uses to generate stubs.
 
  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!
 
 
 



 



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

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


Re: CFC DAO/Bean Generator

2007-02-01 Thread Josh Nathanson
Brian Rinaldi's Illudium P-36 Code Generator.

http://code.google.com/p/cfcgenerator/downloads/list


- Original Message - 
From: Marco Antonio C. Santos [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 8:53 AM
Subject: CFC DAO/Bean Generator


 Anyone know a good CFC DAO and Bean generator other than CFCCreator?

 Cheers


 

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

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


SQL QUestion

2007-02-01 Thread Bruce Sorge
I have a lot of duplicate information in a table. I know how to query to
find the dupes, but I am having problems with deleting them (there are
thousands). I tried this:

DELETE
FROM CODES
WHERE Code =
(SELECT Code,
COUNT(Code) AS NumOccurrences
FROM Codes
GROUP BY Code
HAVING ( COUNT(Code)  1 ))

Now of of course even if this one did work, it just occured to me that it
will not do what I want it to. What I want is to leave one instance of the
code in the database and delete the duplicates only. Is this possible
without me going line by line?

Thanks,

-- 
Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!


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

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


RE: previous date

2007-02-01 Thread Orlini, Robert
Thanks all. Fixed!

 -Original Message-
From:   Ben Forta [mailto:[EMAIL PROTECTED] 
Sent:   Thursday, February 01, 2007 11:50 AM
To: CF-Talk
Subject:RE: previous date

You want #DateFormat(Now()-1, dd)#


-Original Message-
From: Orlini, Robert [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 11:45 AM
To: CF-Talk
Subject: previous date

I using #DateFormat(Now(),dd)-1# to get a previous date. However, using it
today it gives me the previous date of 0 as opposed to 31.

How do I get it to generate the previous date as the 31st as opposed to 0?

I'm still new as to understanding this.

Thanks!

Robert O.
HWW






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

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


Re: SQL QUestion

2007-02-01 Thread Doug Brown
Bruce,


One way to accomplish this is to query your (unique) records and populate
another table with the same structure with that data. Once it is done, then
you can re-populate that table from the table you created. Hope that makes
sense.



Doug B.
- Original Message - 
From: Bruce Sorge [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 10:25 AM
Subject: SQL QUestion


 I have a lot of duplicate information in a table. I know how to query to
 find the dupes, but I am having problems with deleting them (there are
 thousands). I tried this:

 DELETE
 FROM CODES
 WHERE Code =
 (SELECT Code,
 COUNT(Code) AS NumOccurrences
 FROM Codes
 GROUP BY Code
 HAVING ( COUNT(Code)  1 ))

 Now of of course even if this one did work, it just occured to me that it
 will not do what I want it to. What I want is to leave one instance of the
 code in the database and delete the duplicates only. Is this possible
 without me going line by line?

 Thanks,

 -- 
 Bruce Sorge

 I'm a mawg: half man, half dog. I'm my own best friend!


 

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

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


RE: SQL QUestion

2007-02-01 Thread Adrian Lynch
Without looking too hard, would using a TOP 1 in the sub select work?

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED]
Sent: 01 February 2007 17:26
To: CF-Talk
Subject: SQL QUestion


I have a lot of duplicate information in a table. I know how to query to
find the dupes, but I am having problems with deleting them (there are
thousands). I tried this:

DELETE
FROM CODES
WHERE Code =
(SELECT Code,
COUNT(Code) AS NumOccurrences
FROM Codes
GROUP BY Code
HAVING ( COUNT(Code)  1 ))

Now of of course even if this one did work, it just occured to me that it
will not do what I want it to. What I want is to leave one instance of the
code in the database and delete the duplicates only. Is this possible
without me going line by line?

Thanks,

--
Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!




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

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


Re: SQL QUestion

2007-02-01 Thread Jim Wright
Bruce Sorge wrote:
 I have a lot of duplicate information in a table. I know how to query to
 find the dupes, but I am having problems with deleting them (there are
 thousands). I tried this:
 
 DELETE
 FROM CODES
 WHERE Code =
 (SELECT Code,
 COUNT(Code) AS NumOccurrences
 FROM Codes
 GROUP BY Code
 HAVING ( COUNT(Code)  1 ))
 
 Now of of course even if this one did work, it just occured to me that it
 will not do what I want it to. What I want is to leave one instance of the
 code in the database and delete the duplicates only. Is this possible
 without me going line by line?
 

Is Code the only field?  One way would be something like this...

SELECT DISTINCT Code INTO #tempcodetable FROM Codes
DELETE FROM Codes
INSERT INTO Codes SELECT Code FROM #tempcodetable
DROP #tempcodetable

And of course, make a backup before attempting any operation like this.

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

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


Re: SQL QUestion

2007-02-01 Thread Bruce Sorge
OK, I figured it out pretty much. So now I have this:

CREATE TABLE #tempduplicatedata
(
Code NVARCHAR(20)
)


--Identify and save dup data into temp table
INSERT INTO #tempduplicatedata
SELECT Code FROM Codes
GROUP BY Code
HAVING COUNT(Code)  1

--Confirm number of dup rows
SELECT @@ROWCOUNT AS 'Number of Duplicate Rows'

--Delete dup from original table
DELETE FROM Codes
FROM Codes
INNER JOIN #tempduplicatedata
ON  Codes.Code= #tempduplicatedata.Code

--Insert the delete data back
INSERT INTO Codes
SELECT Code FROM #tempduplicatedata

--Check for dup data.
SELECT Code FROM Codes
GROUP BY Code
HAVING COUNT(Code)  1

--Check table
SELECT Code FROM Codes

--Drop temp table
DROP TABLE #tempduplicatedata
 But I am getting the error

Insert Error: Column name or number of supplied values does not match table
definition.

So this tells me that there is a problem with an insert, but not sure which
one. Any SQL Guru's out there that can spot the problem?


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

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


Re: CFC DAO/Bean Generator

2007-02-01 Thread David Mineer
I was looking for a code generator a few weeks ago.  I was using
http://rooibos.maestropublishing.com/ for generating beans.  It was
great, but I wanted something for my DAO CRUD methods also.

I spent a night figuring out Transfer ORM
(ttp://www.compoundtheory.com/?action=transfer.index) and I have never
looked back.  This may not fit your situation but for me, It works out
great that I don't have to regenerate code when I have a change in my
db or code. Transfer takes care of it all.  Transfer makes getting one
record or even a query (list) very simple.  transfer.get(user.user,
userid) and now I can use getUsername() (for example)  just like I had
generated or written all the getters and setters on my own.

Worth a look anyway.

HTH

On 2/1/07, Marco Antonio C. Santos [EMAIL PROTECTED] wrote:
 Anyone know a good CFC DAO and Bean generator other than CFCCreator?

 Cheers


 

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

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


RE: SQL QUestion

2007-02-01 Thread Russ
I actually bloged about this earlier this month.  See here: 
http://www.ruslansivak.com/index.cfm/2007/1/10/Deleting-duplicate-rows-from-
SQL-Server


Russ
 -Original Message-
 From: Bruce Sorge [mailto:[EMAIL PROTECTED]
 Sent: Thursday, February 01, 2007 12:26 PM
 To: CF-Talk
 Subject: SQL QUestion
 
 I have a lot of duplicate information in a table. I know how to query to
 find the dupes, but I am having problems with deleting them (there are
 thousands). I tried this:
 
 DELETE
 FROM CODES
 WHERE Code =
 (SELECT Code,
 COUNT(Code) AS NumOccurrences
 FROM Codes
 GROUP BY Code
 HAVING ( COUNT(Code)  1 ))
 
 Now of of course even if this one did work, it just occured to me that it
 will not do what I want it to. What I want is to leave one instance of the
 code in the database and delete the duplicates only. Is this possible
 without me going line by line?
 
 Thanks,
 
 --
 Bruce Sorge
 
 I'm a mawg: half man, half dog. I'm my own best friend!
 
 
 

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

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


Re: SQL QUestion

2007-02-01 Thread Paul Hastings
Bruce Sorge wrote:
 I have a lot of duplicate information in a table. I know how to query to
 find the dupes, but I am having problems with deleting them (there are
 thousands). I tried this:

create a clone of your table but make your key duplicated column as a unique 
key setting the index to ignore duplicate keys. then do a SELECT/INSERT

INSERT clonedTable...
SELECT ...
FROM tableWithDuplicates

the db server will toss out all the duplicated rows leaving the first inserted 
one intact.

btw this is for sql server.

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

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


RE: BUG in cfchart url??

2007-02-01 Thread Brad Wood
So does the lack of reply mean no one has ever heard of this?  I guess I
could go submit it as a bug to Adobe.

I just did a Google search and the only hit I could find was a link to
my original post.  (Wow, the Google bots are FAST)

Does someone have the link handy to submit a bug to Adobe?

Thanks.

~Brad

-Original Message-
From: Brad Wood 
Sent: Wednesday, January 31, 2007 4:17 PM
To: CF-Talk
Subject: BUG in cfchart url??

OK, so I think I may have found a bug in cfchart and I wanted to see if
anyone else has seen this.

(I am on CFMX 7.0.2.

Here is the code:

cfchart 
style=silver
format=png  
show3d=Yes
showlegend=No
tipstyle=mouseOver
chartheight=100
chartwidth=100
showmarkers=yes
markersize=2
pieslicestyle=sliced
url=#request.self#?fa=tasks.mainrandom_url_params=#random_variable#

Now the chart itself uses the url attribute TWICE.  Once in the legend
where the series name is clickable, and again on the pie piece itself
which is also a link.

It appears that the link and ONLY the link on the pie piece is url
encoded.   The link on the series name in the legend is NOT url encoded.
Why?  Why, must Adobe haunt me so?

Anyone else ever heard of this...

Thanks.

~Brad


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

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


OT: sql question

2007-02-01 Thread Tim Do
I have a stored procedure that is taking 15-20 seconds to run.  However,
if I take the query inside the stored procedure and run it... it only
takes 2-3 seconds.  I've read something about parameter sniffing but not
sure if it applies to my stored procedure.  Here is my sp:

 

CREATE PROC dbo.get_vendorActivityPeriod

(

@periodMonth   integer

,   @periodYear integer

,   @propertyID  varchar(6) = NULL

)

 

as

Begin

 

select 

count(*) countVoucherHeader

,   month(dateadd(day, A.date_posted-693596, '1 Jan
1900')) periodMonth

,   year(dateadd(day, A.date_posted-693596, '1 Jan
1900')) periodYear

,   A.vendor_code

,   (select top 1 address_name from apmaster where
vendor_code = A.vendor_code order by address_type, pay_to_code)
address_name

,   sum(amt_gross) as amountGross

,   case when @propertyID IS NULL then '' else
@propertyID end propertyID

,   case when @propertyID IS NULL then 'All
Communities' else (select distinct display_name from
property.dbo.complex where display_num = @propertyID) end
propertyDescription

from 

apvohdr A

where

month(dateadd(day, A.date_posted-693596, '1 Jan
1900')) = @periodMonth

and   year(dateadd(day, A.date_posted-693596, '1 Jan
1900')) = @periodYear

and A.posting_code = IsNull(@propertyID, A.posting_code)

group by

month(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   year(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   vendor_code

order by

year(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   month(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   address_name

 

end

 

 

 

thanks!



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

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


RE: sql question

2007-02-01 Thread Brad Wood
How many records are coming back?

How are you calling it?

I have ran tests before for where running exec sp_name in side of a
cfquery was faster than cfstoredproc.

Just a thought.

Also are you sure the stored proc is really taking 20 seconds to run OR
is the CF page just taking 17 seconds to produce its output.  This could
be determined by running a trace while you hit the page if you are using
SQL Server.

~Brad

-Original Message-
From: Tim Do [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 12:45 PM
To: CF-Talk
Subject: OT: sql question

I have a stored procedure that is taking 15-20 seconds to run.  However,
if I take the query inside the stored procedure and run it... it only
takes 2-3 seconds.  I've read something about parameter sniffing but not
sure if it applies to my stored procedure.  Here is my sp:

 

CREATE PROC dbo.get_vendorActivityPeriod


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

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


RE: sql question

2007-02-01 Thread Gaulin, Mark
You may want to recompile the sp... It may have been compiled before the
statistics for the tables involved were updated.

You could check the query plan of the sp vs. the query to see how they
differ. (Not sure what db you are using...)

Mark 

-Original Message-
From: Tim Do [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 1:45 PM
To: CF-Talk
Subject: OT: sql question

I have a stored procedure that is taking 15-20 seconds to run.  However,
if I take the query inside the stored procedure and run it... it only
takes 2-3 seconds.  I've read something about parameter sniffing but not
sure if it applies to my stored procedure.  Here is my sp:

 

CREATE PROC dbo.get_vendorActivityPeriod

(

@periodMonth   integer

,   @periodYear integer

,   @propertyID  varchar(6) = NULL

)

 

as

Begin

 

select 

count(*) countVoucherHeader

,   month(dateadd(day, A.date_posted-693596, '1 Jan
1900')) periodMonth

,   year(dateadd(day, A.date_posted-693596, '1 Jan
1900')) periodYear

,   A.vendor_code

,   (select top 1 address_name from apmaster where
vendor_code = A.vendor_code order by address_type, pay_to_code)
address_name

,   sum(amt_gross) as amountGross

,   case when @propertyID IS NULL then '' else
@propertyID end propertyID

,   case when @propertyID IS NULL then 'All
Communities' else (select distinct display_name from
property.dbo.complex where display_num = @propertyID) end
propertyDescription

from 

apvohdr A

where

month(dateadd(day, A.date_posted-693596, '1 Jan
1900')) = @periodMonth

and   year(dateadd(day, A.date_posted-693596, '1 Jan
1900')) = @periodYear

and A.posting_code = IsNull(@propertyID, A.posting_code)

group by

month(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   year(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   vendor_code

order by

year(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   month(dateadd(day, A.date_posted-693596, '1 Jan
1900'))

,   address_name

 

end

 

 

 

thanks!





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

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


Re: cfdirectory loading time issue

2007-02-01 Thread Keith McGee
LISTINFO=name is great for performance, 

Question this removes all information about the file/directory. So in a cftree 
how would you define the difference between a file and directory?

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

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


Re: Links to Network shares in Safari

2007-02-01 Thread Zaphod Beeblebrox
as a warning, it's probably going to stop working on IE7.  At least that's
been our experience with our intranet.


On 2/1/07, Jacob Munson [EMAIL PROTECTED] wrote:

 I've got some local users that use Macs, and one of our Intranet pages
 has videos that people can view.  This works in IE, but not in Firefox
 or Safari:
 href=file:///\\midland\info\#enewsVideo#

 Any ideas on what I could do for non-IE users?  I've done this before
 but can't remember what I did.  Also, Google, Yahoo, etc.  are useless
 to me in this case because any search that includes file:// as a
 term just searches for file.

 --
 My Sites:
 http://www.techfeed.net/blog/
 http://www.cfquickdocs.com/
 http://cfformprotect.riaforge.org/

 

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

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


Variables Magically Vanish?

2007-02-01 Thread Patrick Farabee
I have addressed this particular annoyance by putting an isdefined() check on 
my value before attempting to use it, but does anyone know what could cause 
this?

In the beginning of a CFM page, I have:
cfset ST_userid=''

This is not in any block other than the main body of the script... that is, it 
is outside any loops, cfif, etc.

Later, under certain situations, ST_userid is reassigned using one of these 
possible assignments:

cfset ST_userid = User.user_id  (User is a SQL query result with one 
record, user_id is numeric value, and the identity of the table, thus never 
null)

cfset ST_userid = Cookie.COOKIENAMEOMMITED  (after checking if cookie 
exists in Cookie structure)


Then, later in the code, I use a comparison:

cfif
  (
structkeyexists(Application.SessionTracker[ID], USERID)
AND Application.SessionTracker[ID].USERID is not ST_userid
  ) 
OR NOT structkeyexists(Application.SessionTracker[ID],USERID)



And, on RARE occaision, this ends up throwing an error that ST_userid is 
undefined!!

How could it possibly be undefined?  If the assignments to ST_userid somehow 
managed to not be defined, then the error should be thrown at that point 
complaining that the structure Element is undefined... but it passes through 
all that logic and thus should either be one of the two values, or nothing.. 
but not undefined?


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

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


Variables Magically Vanish?

2007-02-01 Thread Patrick Farabee
I have addressed this particular annoyance by putting an isdefined() check on 
my value before attempting to use it, but does anyone know what could cause 
this?

In the beginning of a CFM page, I have:
cfset ST_userid=''

This is not in any block other than the main body of the script... that is, it 
is outside any loops, cfif, etc.

Later, under certain situations, ST_userid is reassigned using one of these 
possible assignments:

cfset ST_userid = User.user_id  (User is a SQL query result with one 
record, user_id is numeric value, and the identity of the table, thus never 
null)

cfset ST_userid = Cookie.COOKIENAMEOMMITED  (after checking if cookie 
exists in Cookie structure)


Then, later in the code, I use a comparison:

cfif
  (
structkeyexists(Application.SessionTracker[ID], USERID)
AND Application.SessionTracker[ID].USERID is not ST_userid
  ) 
OR NOT structkeyexists(Application.SessionTracker[ID],USERID)



And, on RARE occaision, this ends up throwing an error that ST_userid is 
undefined!!

How could it possibly be undefined?  If the assignments to ST_userid somehow 
managed to not be defined, then the error should be thrown at that point 
complaining that the structure Element is undefined... but it passes through 
all that logic and thus should either be one of the two values, or nothing.. 
but not undefined?


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

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


Re: Links to Network shares in Safari

2007-02-01 Thread Jacob Munson
Thanks for the warning, but I just tried it in IE 7 and it works fine.

On 2/1/07, Zaphod Beeblebrox [EMAIL PROTECTED] wrote:
 as a warning, it's probably going to stop working on IE7.  At least that's
 been our experience with our intranet.


 On 2/1/07, Jacob Munson [EMAIL PROTECTED] wrote:
 
  I've got some local users that use Macs, and one of our Intranet pages
  has videos that people can view.  This works in IE, but not in Firefox
  or Safari:
  href=file:///\\midland\info\#enewsVideo#
 
  Any ideas on what I could do for non-IE users?  I've done this before
  but can't remember what I did.  Also, Google, Yahoo, etc.  are useless
  to me in this case because any search that includes file:// as a
  term just searches for file.
 
  --
  My Sites:
  http://www.techfeed.net/blog/
  http://www.cfquickdocs.com/
  http://cfformprotect.riaforge.org/
 
 

 

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

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


GoDaddy and FlashForms

2007-02-01 Thread Bruce Sorge
Anyone using GoDaddy and have Flash Forms running? I just loaded an app and
my flash forms are not showing. I can look at the source and see that
everything is there for Flash, but nothing shows up.
http://www.daleprizes.com/index.cfm is the first page where the form should
appear. I am working with their tech folks now but they are very slow to
respond.

Thanks,

-- 
Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!


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

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


Disregard GoDaddy Flash Form

2007-02-01 Thread Bruce Sorge
Well I just found out that is working. Something is up with IE, it works
great in FF. Funny thing is, It works on my machine!

-- 
Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!


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

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

2007-02-01 Thread Patrick Farabee
Not that I would ever suggest using something this resource intensive on
a website, but you might want to check out the javascript vector graphics
project at:

http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

With some hacking and slashing you might be able to make his stuff workable as 
you need... good luck :)

 to show an image map without the image.  In other words just a
 border of the mapped regions on a white background.

--
Pat

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

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


RE: GoDaddy and FlashForms

2007-02-01 Thread Andy Matthews
I'm getting some sort of js error in IE7.

Line 42 (object expected). 

-Original Message-
From: Bruce Sorge [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 2:01 PM
To: CF-Talk
Subject: GoDaddy and FlashForms

Anyone using GoDaddy and have Flash Forms running? I just loaded an app and
my flash forms are not showing. I can look at the source and see that
everything is there for Flash, but nothing shows up.
http://www.daleprizes.com/index.cfm is the first page where the form should
appear. I am working with their tech folks now but they are very slow to
respond.

Thanks,

--
Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!




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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Bruce Sorge
Yeah, me too. weird thing is that it works fine in Firefox and not IE.

Bruce Sorge
I'm a mawg: half man, half dog. I'm my own best friend!


On 2/1/07, Andy Matthews [EMAIL PROTECTED] wrote:

 I'm getting some sort of js error in IE7.

 Line 42 (object expected).




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

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


Validating dates based on select field?

2007-02-01 Thread mjs
Hi All,

I have a form that I am trying to fulfill the following scenario.  Does anyone 
have any advise/solutions?

I have a registration form.  On the form are the following fields:

US State Pulldown
Country Pulldown
5 Night Hotel Pulldown
3 Night Hotel Pulldown
Arrival Date (pop-up calendar)
Departure Date (pop-up calendar)

I need the form to do the following:

* If I choose a US State from the pull down the Arrival Date on the calendar 
needs to be 30 days from todays date with no dates previous available. If it 
easier to do this with a mo/dd/yy series of dropdowns I am OK with switching it 
out.

* If I choose a Country from the pulldown the Arrival Date on the calendar 
needs to be 45 days from todays date with no dates previous available.

* If any hotel is selected from the 5 Night Hotel Pulldown then the calendar 
arrival and departure dates must be tested so the days are minimum of 5 days.

* If any hotel is selected from the 3 Night Hotel Pulldown then the calendar 
arrival and departure dates must be tested so the days are minimum of 3 days.

Any suggestions I am very VERY much open to!!  THANK YOU!!!

Thank You Very Much,

Michael

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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Bruce Sorge
Here is what is on line 42:
script type=text/javascript charset='utf-8'
CF_RunContent('object id=\'CFForm_1\'
classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-44455354\' codebase=\'
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,14,0\'
width=\'100%\' height=\'100\' \nparam name=\'src\'
value=\'/1942728102.mxml.cfswf\'/\nparam name=\'wMode\'
value=\'Window\'/\nparam name=\'flashVars\'
value=\'historyUrl=%2FCFIDE%2Fscripts%2Fcfformhistory%2Ecfm%3Flconid= +
lc_id
+%5F%5FCFForm%5F1%5Fcacheid=7F0B3694%2D15C5%2DEB56%2DEB7AFC07D9D82DB0\'/\n/object\n');
/script

This is CF created code, not mine. Does anyone know what is going on here?
It is keeping me from running this app on IE. And I use the same version of
IE on my laptop and test server at home, and no issues. I am thinking this
is a GoDaddy issue?

Bruce

On 2/1/07, Andy Matthews [EMAIL PROTECTED] wrote:

 I'm getting some sort of js error in IE7.

 Line 42 (object expected).




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

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


Re: Validating dates based on select field?

2007-02-01 Thread Patrick Farabee
Are you looking for a CF solution or are you looking to validate using 
javascript before the form is submitted?

If you are looking for CF solution, then DateDiff() is your friend.
It's basically just DateDiff(D,startdate,enddate) to get the difference in 
days between two dates... so DateDiff(D,now(),startdate) to find out how many 
days between today and start date, for example.

If you want a javascript solution, then you'll have to do some more work.  The 
amount of work depends on exactly what you are going to need, but for starters 
you might want to check out this page, which shows a good way to find the 
difference between dates in javascript:

http://www.javascriptkit.com/javatutors/datedifference.shtml

Anyway, good luck :)
--
Pat

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

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


Re: Validating dates based on select field?

2007-02-01 Thread Christopher Jordan
I'd suggest using AJAX to allow ColdFusion to do the form validation 
without the page needing to refresh. This solution would really be a 
combination of JavaScript and CF.

Patrick Farabee wrote:
 Are you looking for a CF solution or are you looking to validate using 
 javascript before the form is submitted?

 If you are looking for CF solution, then DateDiff() is your friend.
 It's basically just DateDiff(D,startdate,enddate) to get the difference in 
 days between two dates... so DateDiff(D,now(),startdate) to find out how 
 many days between today and start date, for example.

 If you want a javascript solution, then you'll have to do some more work.  
 The amount of work depends on exactly what you are going to need, but for 
 starters you might want to check out this page, which shows a good way to 
 find the difference between dates in javascript:

 http://www.javascriptkit.com/javatutors/datedifference.shtml

 Anyway, good luck :)
 --
 Pat

 

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

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


RE: GoDaddy and FlashForms

2007-02-01 Thread Dave Watts
 Anyone using GoDaddy and have Flash Forms running? I just 
 loaded an app and my flash forms are not showing. I can look 
 at the source and see that everything is there for Flash, but 
 nothing shows up.
 http://www.daleprizes.com/index.cfm is the first page where 
 the form should appear. I am working with their tech folks 
 now but they are very slow to respond.

Does the appropriate virtual directory for /CFIDE exist?

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!


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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Doug Brown
This probably has absolutely nothing to do with it but...Do you have access
to the cfide directory on the server? I know other people have had similar
issues and had to set a copy of the cfide in the root of their site.

Doug B.




- Original Message - 
From: Bruce Sorge [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 1:44 PM
Subject: Re: GoDaddy and FlashForms


 Here is what is on line 42:
 script type=text/javascript charset='utf-8'
 CF_RunContent('object id=\'CFForm_1\'
 classid=\'clsid:D27CDB6E-AE6D-11cf-96B8-44455354\' codebase=\'

http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,14,0\'
 width=\'100%\' height=\'100\' \nparam name=\'src\'
 value=\'/1942728102.mxml.cfswf\'/\nparam name=\'wMode\'
 value=\'Window\'/\nparam name=\'flashVars\'
 value=\'historyUrl=%2FCFIDE%2Fscripts%2Fcfformhistory%2Ecfm%3Flconid= +
 lc_id

+%5F%5FCFForm%5F1%5Fcacheid=7F0B3694%2D15C5%2DEB56%2DEB7AFC07D9D82DB0\'/\
n/object\n');
 /script

 This is CF created code, not mine. Does anyone know what is going on here?
 It is keeping me from running this app on IE. And I use the same version
of
 IE on my laptop and test server at home, and no issues. I am thinking this
 is a GoDaddy issue?

 Bruce

 On 2/1/07, Andy Matthews [EMAIL PROTECTED] wrote:
 
  I'm getting some sort of js error in IE7.
 
  Line 42 (object expected).
 
 


 

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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Bruce Sorge

 I am not sure. Need to ask the techs that question. However, I would guess
 that it is since the application works fine in FF but not in IE (have not
 gotten around to downloading/installing Netscrape to test).



Bruce

Does the appropriate virtual directory for /CFIDE exist?

 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!


 

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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Doug Brown
I can see it in nutscrape

Doug B.




- Original Message - 
From: Bruce Sorge [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 3:30 PM
Subject: Re: GoDaddy and FlashForms


 
  I am not sure. Need to ask the techs that question. However, I would
guess
  that it is since the application works fine in FF but not in IE (have
not
  gotten around to downloading/installing Netscrape to test).



 Bruce

 Does the appropriate virtual directory for /CFIDE exist?
 
  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!
 
 
 

 

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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Bruce Sorge
Thanks. I emailed their tech support. Hopefully I will hear from them soon,
otherwise I have to redo the site using HTML forms. I suppose I could do a
browser check, and if they have IE then direct them to an HTML version and
FF/NS users get to see the pretty flash. Naw, need to get the issue fixed.

Bruce

On 2/1/07, Doug Brown [EMAIL PROTECTED] wrote:

 I can see it in nutscrape

 Doug B.




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

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


Re: GoDaddy and FlashForms

2007-02-01 Thread Doug Brown
Bruce,

Look like this has been an issue for alot of people. Copy your cfide over
from your dev box to your root directory and make sure that the
cf_RunactiveContent.js is in there.

Doug B.
- Original Message - 
From: Doug Brown [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 3:34 PM
Subject: Re: GoDaddy and FlashForms


 I can see it in nutscrape

 Doug B.




 - Original Message - 
 From: Bruce Sorge [EMAIL PROTECTED]
 To: CF-Talk cf-talk@houseoffusion.com
 Sent: Thursday, February 01, 2007 3:30 PM
 Subject: Re: GoDaddy and FlashForms


  
   I am not sure. Need to ask the techs that question. However, I would
 guess
   that it is since the application works fine in FF but not in IE (have
 not
   gotten around to downloading/installing Netscrape to test).
 
 
 
  Bruce
 
  Does the appropriate virtual directory for /CFIDE exist?
  
   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!
  
  
  
 
 

 

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

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


RE: Reading from an Excel file through ColdFusion.

2007-02-01 Thread Ben Nadel
Hussain,

I am not sure why that would be erroring. I have tested with with
multiple sheets and it seems to work nicely. It is, however, very early
in the development stage, so it is bound to be buggy. If you send me the
XLS file you are using, I can play around with it (ben [ .at. ]
bennadel.com). 


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: hussain shaikh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 8:19 AM
To: CF-Talk
Subject: Re: Reading from an Excel file through ColdFusion.

One more thing Ben,
Why does your piece of code gives error when we have more than 1 sheet
embedded in the excel file(Why the assumption that the excel should have
a single sheet in it)?

Hussain.



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

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


RE: Interacting with SOAP

2007-02-01 Thread Ben Nadel
Tony,

I ran into very similar problems when I tried to create my first Web
service. The STUB file gets created and then you either have to reset it
or update it manually. I am not sure. I found some great notes on it on
bprucell.org and then came up with this:

http://www.bennadel.com/index.cfm?dax=blog:430.view

Check out the method RebuildStubFile. 

Hope that helps point you in the right direction.


..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 9:27 PM
To: CF-Talk
Subject: Interacting with SOAP

I'm trying to interact with an auction site. Here is a truncated version
of their soap doc.

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=
http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
RequesterCredentials xmlns=API_V2
  DevKeystring/DevKey
  AppKeystring/AppKey
  UserNamestring/UserName
  Passwordstring/Password
/RequesterCredentials
  /soap:Header
  soap:Body
GetMyAuctions xmlns=API_V2
  GetMyAuctionsRequest
Querystring/Query
CategoryIDint/CategoryID
TotalOnlyboolean/TotalOnly
PriceRangeFilter
  MinPricedecimal/MinPrice
  MaxPricedecimal/MaxPrice
/PriceRangeFilter
  /GetMyAuctionsRequest
/GetMyAuctions
  /soap:Body
/soap:Envelope

Here is my most recent coding attempt...

gma = CreateObject(webservice, auctionsiteurl); RequestCredentials =
StructNew(); RequestCredentials.DevKey=...;
RequestCredentials.AppKey=...; RequestCredentials.UserName=...;
RequestCredentials.Password=...;
gma.setHeader(API_V2,RequestCredentials,RequestCredentials);

I think this should work... but its not... I've tried three or four
different ways and I get Could not generate stub objects for web
service invocation.

Am I even close? Any help appreciated.




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

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


RE: BUG in cfchart url??

2007-02-01 Thread Brad Wood
Man, I'm talking to a wall with this one I guess.

SOMEBODY has to have that bug submission form for Adobe though.  I think
it ends with /wish.

~Brad

-Original Message-
From: Brad Wood 
Sent: Thursday, February 01, 2007 12:45 PM
To: CF-Talk
Subject: RE: BUG in cfchart url??

So does the lack of reply mean no one has ever heard of this?  I guess I
could go submit it as a bug to Adobe.

I just did a Google search and the only hit I could find was a link to
my original post.  (Wow, the Google bots are FAST)

Does someone have the link handy to submit a bug to Adobe?

Thanks.

~Brad


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

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


Re: Interacting with SOAP

2007-02-01 Thread Robertson-Ravo, Neil (RX)
The problem I think is Axis/CF will never be able to consume a non-rpc,
ColdFusion based web service unless all it returns is a simple string.



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

-Original Message-
From: Ben Nadel
To: CF-Talk
Sent: Thu Feb 01 23:06:38 2007
Subject: RE: Interacting with SOAP

Tony,

I ran into very similar problems when I tried to create my first Web
service. The STUB file gets created and then you either have to reset it
or update it manually. I am not sure. I found some great notes on it on
bprucell.org and then came up with this:

http://www.bennadel.com/index.cfm?dax=blog:430.view

Check out the method RebuildStubFile. 

Hope that helps point you in the right direction.


...
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-Original Message-
From: Tony Hicks [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 31, 2007 9:27 PM
To: CF-Talk
Subject: Interacting with SOAP

I'm trying to interact with an auction site. Here is a truncated version
of their soap doc.

?xml version=1.0 encoding=utf-8?
soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=
http://schemas.xmlsoap.org/soap/envelope/;
  soap:Header
RequesterCredentials xmlns=API_V2
  DevKeystring/DevKey
  AppKeystring/AppKey
  UserNamestring/UserName
  Passwordstring/Password
/RequesterCredentials
  /soap:Header
  soap:Body
GetMyAuctions xmlns=API_V2
  GetMyAuctionsRequest
Querystring/Query
CategoryIDint/CategoryID
TotalOnlyboolean/TotalOnly
PriceRangeFilter
  MinPricedecimal/MinPrice
  MaxPricedecimal/MaxPrice
/PriceRangeFilter
  /GetMyAuctionsRequest
/GetMyAuctions
  /soap:Body
/soap:Envelope

Here is my most recent coding attempt...

gma = CreateObject(webservice, auctionsiteurl); RequestCredentials =
StructNew(); RequestCredentials.DevKey=...;
RequestCredentials.AppKey=...; RequestCredentials.UserName=...;
RequestCredentials.Password=...;
gma.setHeader(API_V2,RequestCredentials,RequestCredentials);

I think this should work... but its not... I've tried three or four
different ways and I get Could not generate stub objects for web
service invocation.

Am I even close? Any help appreciated.






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

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


Re: BUG in cfchart url??

2007-02-01 Thread Robertson-Ravo, Neil (RX)
Indeed, www.Adobe.com/go/wish





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

-Original Message-
From: Brad Wood
To: CF-Talk
Sent: Thu Feb 01 23:12:27 2007
Subject: RE: BUG in cfchart url??

Man, I'm talking to a wall with this one I guess.

SOMEBODY has to have that bug submission form for Adobe though.  I think
it ends with /wish.

~Brad

-Original Message-
From: Brad Wood 
Sent: Thursday, February 01, 2007 12:45 PM
To: CF-Talk
Subject: RE: BUG in cfchart url??

So does the lack of reply mean no one has ever heard of this?  I guess I
could go submit it as a bug to Adobe.

I just did a Google search and the only hit I could find was a link to
my original post.  (Wow, the Google bots are FAST)

Does someone have the link handy to submit a bug to Adobe?

Thanks.

~Brad




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

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


Re: BUG in cfchart url??

2007-02-01 Thread Robertson-Ravo, Neil (RX)
And no, the Google bots are not FAST :-)



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

-Original Message-
From: Brad Wood
To: CF-Talk
Sent: Thu Feb 01 23:12:27 2007
Subject: RE: BUG in cfchart url??

Man, I'm talking to a wall with this one I guess.

SOMEBODY has to have that bug submission form for Adobe though.  I think
it ends with /wish.

~Brad

-Original Message-
From: Brad Wood 
Sent: Thursday, February 01, 2007 12:45 PM
To: CF-Talk
Subject: RE: BUG in cfchart url??

So does the lack of reply mean no one has ever heard of this?  I guess I
could go submit it as a bug to Adobe.

I just did a Google search and the only hit I could find was a link to
my original post.  (Wow, the Google bots are FAST)

Does someone have the link handy to submit a bug to Adobe?

Thanks.

~Brad




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

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


RE: BUG in cfchart url??

2007-02-01 Thread Brad Wood
Lol

Thanks for the link.

Well, as far as the bots being fast, I posted this question to the list
YESTERDAY.  I Googled it TODAY and it was the FIRST result in the list.

That sounds fast to me.

Michael D said the other day that he has up to 6 bots hit
houseoffusion.com in the same second.

~Brad

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 5:20 PM
To: CF-Talk
Subject: Re: BUG in cfchart url??

And no, the Google bots are not FAST :-)



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

-Original Message-
From: Brad Wood
To: CF-Talk
Sent: Thu Feb 01 23:12:27 2007
Subject: RE: BUG in cfchart url??

Man, I'm talking to a wall with this one I guess.

SOMEBODY has to have that bug submission form for Adobe though.  I think
it ends with /wish.

~Brad

-Original Message-
From: Brad Wood 
Sent: Thursday, February 01, 2007 12:45 PM
To: CF-Talk
Subject: RE: BUG in cfchart url??

So does the lack of reply mean no one has ever heard of this?  I guess I
could go submit it as a bug to Adobe.

I just did a Google search and the only hit I could find was a link to
my original post.  (Wow, the Google bots are FAST)

Does someone have the link handy to submit a bug to Adobe?

Thanks.

~Brad






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

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


Re: BUG in cfchart url??

2007-02-01 Thread Robertson-Ravo, Neil (RX)
My point was that FAST is a search engine (we use it) and that it is as
good, if not better, than Google at it's job.





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

-Original Message-
From: Brad Wood
To: CF-Talk
Sent: Thu Feb 01 23:24:55 2007
Subject: RE: BUG in cfchart url??

Lol

Thanks for the link.

Well, as far as the bots being fast, I posted this question to the list
YESTERDAY.  I Googled it TODAY and it was the FIRST result in the list.

That sounds fast to me.

Michael D said the other day that he has up to 6 bots hit
houseoffusion.com in the same second.

~Brad

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 5:20 PM
To: CF-Talk
Subject: Re: BUG in cfchart url??

And no, the Google bots are not FAST :-)



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

-Original Message-
From: Brad Wood
To: CF-Talk
Sent: Thu Feb 01 23:12:27 2007
Subject: RE: BUG in cfchart url??

Man, I'm talking to a wall with this one I guess.

SOMEBODY has to have that bug submission form for Adobe though.  I think
it ends with /wish.

~Brad

-Original Message-
From: Brad Wood 
Sent: Thursday, February 01, 2007 12:45 PM
To: CF-Talk
Subject: RE: BUG in cfchart url??

So does the lack of reply mean no one has ever heard of this?  I guess I
could go submit it as a bug to Adobe.

I just did a Google search and the only hit I could find was a link to
my original post.  (Wow, the Google bots are FAST)

Does someone have the link handy to submit a bug to Adobe?

Thanks.

~Brad








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

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


Ajax, RIA, and JavaScript

2007-02-01 Thread Brad Wood
Ok, here's a wide open question:

 

We are going back through our application and trying to introduce more
Ajax where we can to dynamically add content when we can instead of
reloading the entire page.  Example: we often use a tabbed interface,
and for performance reasons, we only load the content in the selected
tab.  When the user switches tabs, why reload the entire page just to
change one part of it?  We'll just do an Ajax call to get the content
for that tab, and then innerHTML it in to where it would go.

 

Well, this is great, but now one of the problems we are running in to is
JavaScript libraries that we use all over the site.  For instance, we
have a nifty little calendar drop down custom tag we use.  The calendar
tag includes the JavaScript library it needs the first time it is
called.  Well, what if I am ajaxing in some content that has one of
those calendar drop downs.  How can I programmatically and consistently
know whether the JavaScript library has already been loaded for it to
work?  I used to just set a request variable, but that doesn't really
apply now since the original request scope doesn't exist anymore when I
make my Ajax call, and furthermore, content could have been removed on
the page SINCE it originally loaded.

 

My first though was to load ALL JavaScript libraries ALL the time
whether I needed them or not.  I'm not so sure about that though,
because it sounds like a waste of bandwidth and client memory usage.  Is
that a valid worry?

 

My second thought was to load NONE of my JavaScript libraries off the
bat, and then load them dynamically as needed.  If I went this approach,
I would need to either put an if statement around EVERY JS function call
to check for it BEFORE I called it OR build a wrapper JS function and
make EVERY JS call go through the wrapper.  I would tell it what
function I wanted to call, and my arguments.  It would check for its
existence and Ajax it in if necessary and THEN call it returning the
result back to the original code.

 

Am I making sense here?

Has anyone tried this before?

Are there any frameworks made for this?

Am I over-thinking this?

 

~Brad



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

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


RE: BUG in cfchart url??

2007-02-01 Thread Brad Wood
Lol  *woosh*
That was the sound of your joke flying over my head.

~Brad

-Original Message-
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 01, 2007 5:37 PM
To: CF-Talk
Subject: Re: BUG in cfchart url??

My point was that FAST is a search engine (we use it) and that it is
as
good, if not better, than Google at it's job.



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

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


CF and Windows Vista

2007-02-01 Thread John Cox
Perhaps this question has been raised and I have missed it, so apologies in
advance.

Has anyone had success installing the developer version of CF on Windows
Vista?  For some reason, the installer didn't configure IIS / CF (no mime,
etc).  It's been a while since I installed on XP with IIS or Apache, but I
seem to remember it was somewhat hands free on the install.

If anyone has a tip or a link that I have missed, it would be appreciated.

jc


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

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


Re: SQL QUestion

2007-02-01 Thread Jochem van Dieten
Bruce Sorge wrote:
 OK, I figured it out pretty much. So now I have this:
 
 CREATE TABLE #tempduplicatedata
 (
 Code NVARCHAR(20)
 )
 
 
 --Identify and save dup data into temp table
 INSERT INTO #tempduplicatedata

INSERT INTO #tempduplicatedata (code)

 SELECT Code FROM Codes
 GROUP BY Code
 HAVING COUNT(Code)  1


Jochem

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

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


Re: Multiple Instances and Virtual Directories...

2007-02-01 Thread Jochem van Dieten
Matthew Williams wrote:
 
 How am I the lucky one to find all the odd-ball issues.

Because you don't tell your customers that running multiple clusters on 
one server and / or multiple clusters in one site is not supported 
beforehand :)

Jochem

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

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


Re: SQL QUestion

2007-02-01 Thread Bruce Sorge
Damn! Always the simple shit that gets me.

Thanks.

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

 Bruce Sorge wrote:
  OK, I figured it out pretty much. So now I have this:
 
  CREATE TABLE #tempduplicatedata
  (
  Code NVARCHAR(20)
  )
 
 
  --Identify and save dup data into temp table
  INSERT INTO #tempduplicatedata

 INSERT INTO #tempduplicatedata (code)

  SELECT Code FROM Codes
  GROUP BY Code
  HAVING COUNT(Code)  1


 Jochem



I'm a mawg: half man, half dog. I'm my own best friend!


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

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


Re: CF and Windows Vista

2007-02-01 Thread Bruce Sorge
I had the same problem on my XP Pro machine. When setting up CF, it is going
to ask you where the IIS is residing (or something like that). Instead of
selecting the default server, you need to actually point it to the
inetpub/wwwroot directory. I know I have the naming wrong but I think that
you know what I mean.

Bruce Sorge

I'm a mawg: half man, half dog. I'm my own best friend!

On 2/1/07, John Cox [EMAIL PROTECTED] wrote:

 Perhaps this question has been raised and I have missed it, so apologies
 in
 advance.

 Has anyone had success installing the developer version of CF on Windows
 Vista?  For some reason, the installer didn't configure IIS / CF (no mime,
 etc).  It's been a while since I installed on XP with IIS or Apache, but I
 seem to remember it was somewhat hands free on the install.

 If anyone has a tip or a link that I have missed, it would be appreciated.

 jc


 

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

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


Re: Ajax, RIA, and JavaScript

2007-02-01 Thread Rey Bango
Brad,

It sounds like what you're asking for is on-demand loading of JS or 
packaging. Try taking a look at these links for suggestions:

http://www.nabble.com/dynamic-plugin-loading-tf2889880.html#a8077929
http://www.jspax.org/

Rey


Brad Wood wrote:
 Ok, here's a wide open question:
 
  
 
 We are going back through our application and trying to introduce more
 Ajax where we can to dynamically add content when we can instead of
 reloading the entire page.  Example: we often use a tabbed interface,
 and for performance reasons, we only load the content in the selected
 tab.  When the user switches tabs, why reload the entire page just to
 change one part of it?  We'll just do an Ajax call to get the content
 for that tab, and then innerHTML it in to where it would go.
 
  
 
 Well, this is great, but now one of the problems we are running in to is
 JavaScript libraries that we use all over the site.  For instance, we
 have a nifty little calendar drop down custom tag we use.  The calendar
 tag includes the JavaScript library it needs the first time it is
 called.  Well, what if I am ajaxing in some content that has one of
 those calendar drop downs.  How can I programmatically and consistently
 know whether the JavaScript library has already been loaded for it to
 work?  I used to just set a request variable, but that doesn't really
 apply now since the original request scope doesn't exist anymore when I
 make my Ajax call, and furthermore, content could have been removed on
 the page SINCE it originally loaded.
 
  
 
 My first though was to load ALL JavaScript libraries ALL the time
 whether I needed them or not.  I'm not so sure about that though,
 because it sounds like a waste of bandwidth and client memory usage.  Is
 that a valid worry?
 
  
 
 My second thought was to load NONE of my JavaScript libraries off the
 bat, and then load them dynamically as needed.  If I went this approach,
 I would need to either put an if statement around EVERY JS function call
 to check for it BEFORE I called it OR build a wrapper JS function and
 make EVERY JS call go through the wrapper.  I would tell it what
 function I wanted to call, and my arguments.  It would check for its
 existence and Ajax it in if necessary and THEN call it returning the
 result back to the original code.
 
  
 
 Am I making sense here?
 
 Has anyone tried this before?
 
 Are there any frameworks made for this?
 
 Am I over-thinking this?
 
  
 
 ~Brad
 
 
 
 

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

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


Re: Multiple Instances and Virtual Directories...

2007-02-01 Thread Matthew Williams
Please point me to any document stating as much.  Now, if the customers 
would write better code (rather their developers), I would have much 
fewer issues ;).  Since they don't, and it takes near to 6 months to a 
year to affect changes, this is the only path I have to travel down.

Please keep in mind I inherited all of this.  I never would have made 
customers have a virtual site instead of a website were we to do it all 
over again.  But we can't, there's no money in it, and it would be an 
mess to maintain SSL certs for it.

Yes I'm defensive, apologies, but there's not really much I can do 
beyond this to make our environment more stable.

Matthew Williams
Geodesic GraFX

Jochem van Dieten wrote:
 Matthew Williams wrote:
   
 How am I the lucky one to find all the odd-ball issues.
 

 Because you don't tell your customers that running multiple clusters on 
 one server and / or multiple clusters in one site is not supported 
 beforehand :)

 Jochem

 

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

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


Session not being maintained

2007-02-01 Thread Kevan Stannard
Hi

 

I have an application on our server that is not being maintained across
pages. I have set up a test directory with only two files:

 

Application.cfm

--

 

cfapplication

name=test

clientmanagement=Yes

sessionmanagement=Yes

sessiontimeout=#createTimeSpan(0,0,30,0)#

applicationtimeout=#createTimeSpan(1,0,0,0)#

 

 

index.cfm

--

 

pBEFORE:/p

cfdump var=#session#

 

cfset session.x = now()

 

pAFTER:/p

cfdump var=#session#

 

p

a href=index.cfmRefresh/a

/p

 

 

When I execute index.cfm, this is the output:

 

BEFORE:

 

struct 

cfid 3660  

cftoken 18546740  

sessionid TEST_3660_18546740  

urltoken CFID=3660CFTOKEN=18546740  

 

AFTER:

 

struct 

cfid 3660  

cftoken 18546740  

sessionid TEST_3660_18546740  

urltoken CFID=3660CFTOKEN=18546740  

x {ts '2007-02-02 11:55:57'}  

 

Refresh 

 

 

 

When I refresh the page the cfide, cftoken etc are changed and the variable
session.x is gone

 

* I am running IE7

* This is using http://

* This works fine within Firefox

 

Any suggestions?

 

Kevan



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

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


Re: Session not being maintained

2007-02-01 Thread AJ Mercer
does you browser accept cookies?

try this for your refresh link
a href=#urlSessionFormat('index.cfm')#Refresh/a

ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
like if cookies are not enabled.


On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:

 Hi



 I have an application on our server that is not being maintained across
 pages. I have set up a test directory with only two files:



 Application.cfm

 --



 cfapplication

 name=test

 clientmanagement=Yes

 sessionmanagement=Yes

 sessiontimeout=#createTimeSpan(0,0,30,0)#

 applicationtimeout=#createTimeSpan(1,0,0,0)#





 index.cfm

 --



 pBEFORE:/p

 cfdump var=#session#



 cfset session.x = now()



 pAFTER:/p

 cfdump var=#session#



 p

 a href=index.cfmRefresh/a

 /p





 When I execute index.cfm, this is the output:



 BEFORE:



 struct

 cfid 3660

 cftoken 18546740

 sessionid TEST_3660_18546740

 urltoken CFID=3660CFTOKEN=18546740



 AFTER:



 struct

 cfid 3660

 cftoken 18546740

 sessionid TEST_3660_18546740

 urltoken CFID=3660CFTOKEN=18546740

 x {ts '2007-02-02 11:55:57'}



 Refresh







 When I refresh the page the cfide, cftoken etc are changed and the
 variable
 session.x is gone



 * I am running IE7

 * This is using http://

 * This works fine within Firefox



 Any suggestions?



 Kevan



 

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

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


Re: Session not being maintained

2007-02-01 Thread AJ Mercer
does you browser accept cookies?

try this for your refresh link
a href=#urlSessionFormat('index.cfm')#Refresh/a

ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
like if cookies are not enabled.

On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:

 Hi



 I have an application on our server that is not being maintained across
 pages. I have set up a test directory with only two files:


snip post bounced as message was too long??


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

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


RE: Session not being maintained

2007-02-01 Thread Kevan Stannard
I have tested on a number of machines and all are set to allow cookies.

I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0 seems
to be fine.

I have also tries changing the privacy setting within IE to allow all
cookies for our test internal server, but the problem continues.

Yes, your sample code does append the cfide and cftoken variables, and the
session is then retained when they are present.

Kevan

-Original Message-
From: AJ Mercer [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 12:06 PM
To: CF-Talk
Subject: Re: Session not being maintained

does you browser accept cookies?

try this for your refresh link
a href=#urlSessionFormat('index.cfm')#Refresh/a

ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
like if cookies are not enabled.


On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:

 Hi



 I have an application on our server that is not being maintained across
 pages. I have set up a test directory with only two files:



 Application.cfm

 --



 cfapplication

 name=test

 clientmanagement=Yes

 sessionmanagement=Yes

 sessiontimeout=#createTimeSpan(0,0,30,0)#

 applicationtimeout=#createTimeSpan(1,0,0,0)#





 index.cfm

 --



 pBEFORE:/p

 cfdump var=#session#



 cfset session.x = now()



 pAFTER:/p

 cfdump var=#session#



 p

 a href=index.cfmRefresh/a

 /p





 When I execute index.cfm, this is the output:



 BEFORE:



 struct

 cfid 3660

 cftoken 18546740

 sessionid TEST_3660_18546740

 urltoken CFID=3660CFTOKEN=18546740



 AFTER:



 struct

 cfid 3660

 cftoken 18546740

 sessionid TEST_3660_18546740

 urltoken CFID=3660CFTOKEN=18546740

 x {ts '2007-02-02 11:55:57'}



 Refresh







 When I refresh the page the cfide, cftoken etc are changed and the
 variable
 session.x is gone



 * I am running IE7

 * This is using http://

 * This works fine within Firefox



 Any suggestions?



 Kevan



 



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

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


Re: Session not being maintained

2007-02-01 Thread James Holmes
OK, so you aren't using J2EE session variables, which means that
persistent cookies are being set (rather than session-based ones);
these are often treated more harshly by cookie blockers. Check again
for the cookie settings in IE or any toolbars/helpers loaded into IE,
as this is the problem.

On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 I have tested on a number of machines and all are set to allow cookies.

 I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0 seems
 to be fine.

 I have also tries changing the privacy setting within IE to allow all
 cookies for our test internal server, but the problem continues.

 Yes, your sample code does append the cfide and cftoken variables, and the
 session is then retained when they are present.

 Kevan

 -Original Message-
 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Friday, 2 February 2007 12:06 PM
 To: CF-Talk
 Subject: Re: Session not being maintained

 does you browser accept cookies?

 try this for your refresh link
 a href=#urlSessionFormat('index.cfm')#Refresh/a

 ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
 like if cookies are not enabled.


 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 
  Hi
 
 
 
  I have an application on our server that is not being maintained across
  pages. I have set up a test directory with only two files:
 
 
 
  Application.cfm
 
  --
 
 
 
  cfapplication
 
  name=test
 
  clientmanagement=Yes
 
  sessionmanagement=Yes
 
  sessiontimeout=#createTimeSpan(0,0,30,0)#
 
  applicationtimeout=#createTimeSpan(1,0,0,0)#
 
 
 
 
 
  index.cfm
 
  --
 
 
 
  pBEFORE:/p
 
  cfdump var=#session#
 
 
 
  cfset session.x = now()
 
 
 
  pAFTER:/p
 
  cfdump var=#session#
 
 
 
  p
 
  a href=index.cfmRefresh/a
 
  /p
 
 
 
 
 
  When I execute index.cfm, this is the output:
 
 
 
  BEFORE:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
 
 
  AFTER:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
  x {ts '2007-02-02 11:55:57'}
 
 
 
  Refresh
 
 
 
 
 
 
 
  When I refresh the page the cfide, cftoken etc are changed and the
  variable
  session.x is gone
 
 
 
  * I am running IE7
 
  * This is using http://
 
  * This works fine within Firefox
 
 
 
  Any suggestions?
 
 
 
  Kevan
 
 
 
 



 

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

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


Re: Session not being maintained

2007-02-01 Thread AJ Mercer
Hi James,

Is there any overhead using j2ee session variables?
Is there any reason why you wouldn't want to activate them?


On 2/2/07, James Holmes [EMAIL PROTECTED] wrote:

 OK, so you aren't using J2EE session variables, which means that
 persistent cookies are being set (rather than session-based ones);
 these are often treated more harshly by cookie blockers. Check again
 for the cookie settings in IE or any toolbars/helpers loaded into IE,
 as this is the problem.

 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
  I have tested on a number of machines and all are set to allow cookies.
 
  I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0seems
  to be fine.
 
  I have also tries changing the privacy setting within IE to allow all
  cookies for our test internal server, but the problem continues.
 
  Yes, your sample code does append the cfide and cftoken variables, and
 the
  session is then retained when they are present.
 
  Kevan
 
  -Original Message-
  From: AJ Mercer [mailto:[EMAIL PROTECTED]
  Sent: Friday, 2 February 2007 12:06 PM
  To: CF-Talk
  Subject: Re: Session not being maintained
 
  does you browser accept cookies?
 
  try this for your refresh link
  a href=#urlSessionFormat('index.cfm')#Refresh/a
 
  ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
  like if cookies are not enabled.
 
 
  On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
  
   Hi
  
  
  
   I have an application on our server that is not being maintained
 across
   pages. I have set up a test directory with only two files:
  
  
  
   Application.cfm
  
   --
  
  
  
   cfapplication
  
   name=test
  
   clientmanagement=Yes
  
   sessionmanagement=Yes
  
   sessiontimeout=#createTimeSpan(0,0,30,0)#
  
   applicationtimeout=#createTimeSpan(1,0,0,0)#
  
  
  
  
  
   index.cfm
  
   --
  
  
  
   pBEFORE:/p
  
   cfdump var=#session#
  
  
  
   cfset session.x = now()
  
  
  
   pAFTER:/p
  
   cfdump var=#session#
  
  
  
   p
  
   a href=index.cfmRefresh/a
  
   /p
  
  
  
  
  
   When I execute index.cfm, this is the output:
  
  
  
   BEFORE:
  
  
  
   struct
  
   cfid 3660
  
   cftoken 18546740
  
   sessionid TEST_3660_18546740
  
   urltoken CFID=3660CFTOKEN=18546740
  
  
  
   AFTER:
  
  
  
   struct
  
   cfid 3660
  
   cftoken 18546740
  
   sessionid TEST_3660_18546740
  
   urltoken CFID=3660CFTOKEN=18546740
  
   x {ts '2007-02-02 11:55:57'}
  
  
  
   Refresh
  
  
  
  
  
  
  
   When I refresh the page the cfide, cftoken etc are changed and the
   variable
   session.x is gone
  
  
  
   * I am running IE7
  
   * This is using http://
  
   * This works fine within Firefox
  
  
  
   Any suggestions?
  
  
  
   Kevan
  
  
  
  
 
 
 
 

 

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

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


RE: Session not being maintained

2007-02-01 Thread Kevan Stannard
Thanks James

These are standard installs of IE with no fiddling with cookie settings
AFAIK. No toolbars/helpers present on any of the test browsers.

I have tried accessing my test page from both internally and externally and
get the same results.

I have also added the sites to the trusted sites within IE.

On the 'web page privacy policy' window IE claims 'based on your privacy
settings, no cookies were restricted or blocked'.

Thanks


-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 12:27 PM
To: CF-Talk
Subject: Re: Session not being maintained

OK, so you aren't using J2EE session variables, which means that
persistent cookies are being set (rather than session-based ones);
these are often treated more harshly by cookie blockers. Check again
for the cookie settings in IE or any toolbars/helpers loaded into IE,
as this is the problem.

On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 I have tested on a number of machines and all are set to allow cookies.

 I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0
seems
 to be fine.

 I have also tries changing the privacy setting within IE to allow all
 cookies for our test internal server, but the problem continues.

 Yes, your sample code does append the cfide and cftoken variables, and the
 session is then retained when they are present.

 Kevan

 -Original Message-
 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Friday, 2 February 2007 12:06 PM
 To: CF-Talk
 Subject: Re: Session not being maintained

 does you browser accept cookies?

 try this for your refresh link
 a href=#urlSessionFormat('index.cfm')#Refresh/a

 ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
 like if cookies are not enabled.


 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 
  Hi
 
 
 
  I have an application on our server that is not being maintained across
  pages. I have set up a test directory with only two files:
 
 
 
  Application.cfm
 
  --
 
 
 
  cfapplication
 
  name=test
 
  clientmanagement=Yes
 
  sessionmanagement=Yes
 
  sessiontimeout=#createTimeSpan(0,0,30,0)#
 
  applicationtimeout=#createTimeSpan(1,0,0,0)#
 
 
 
 
 
  index.cfm
 
  --
 
 
 
  pBEFORE:/p
 
  cfdump var=#session#
 
 
 
  cfset session.x = now()
 
 
 
  pAFTER:/p
 
  cfdump var=#session#
 
 
 
  p
 
  a href=index.cfmRefresh/a
 
  /p
 
 
 
 
 
  When I execute index.cfm, this is the output:
 
 
 
  BEFORE:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
 
 
  AFTER:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
  x {ts '2007-02-02 11:55:57'}
 
 
 
  Refresh
 
 
 
 
 
 
 
  When I refresh the page the cfide, cftoken etc are changed and the
  variable
  session.x is gone
 
 
 
  * I am running IE7
 
  * This is using http://
 
  * This works fine within Firefox
 
 
 
  Any suggestions?
 
 
 
  Kevan
 
 
 
 



 



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

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


Re: Session not being maintained

2007-02-01 Thread James Holmes
No extra overhead of which I am aware. The difference in behaviour,
when cookies are enabled, is that the session ends when the user
closes the browser (or at the timeout, of course) rather than staying
current between the browser opening and closing.This may or may not be
a problem. J2EE sessions also provide for integration with Java
servlets etc. I can't think of any compelling reason not to use them,
but others may.

On 2/2/07, AJ Mercer [EMAIL PROTECTED] wrote:
 Hi James,

 Is there any overhead using j2ee session variables?
 Is there any reason why you wouldn't want to activate them?


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

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

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


Re: Session not being maintained

2007-02-01 Thread James Holmes
OK, for some reason the browser isn't accepting/setting the correct
cookies, regardless of what it claims. Perhaps delete all cookies form
the browser and clear the cache - then see what happens.

On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 Thanks James

 These are standard installs of IE with no fiddling with cookie settings
 AFAIK. No toolbars/helpers present on any of the test browsers.

 I have tried accessing my test page from both internally and externally and
 get the same results.

 I have also added the sites to the trusted sites within IE.

 On the 'web page privacy policy' window IE claims 'based on your privacy
 settings, no cookies were restricted or blocked'.

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

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

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


RE: Session not being maintained

2007-02-01 Thread Kevan Stannard
One additional bit of information:

I am accessing this site via a subdomain:
http://testsite.ourdomain.com.au/test/

Internally, I can access the same code via a server's name:
http://testsite/test/

This second option IS retaining the session.



-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 12:27 PM
To: CF-Talk
Subject: Re: Session not being maintained

OK, so you aren't using J2EE session variables, which means that
persistent cookies are being set (rather than session-based ones);
these are often treated more harshly by cookie blockers. Check again
for the cookie settings in IE or any toolbars/helpers loaded into IE,
as this is the problem.

On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 I have tested on a number of machines and all are set to allow cookies.

 I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0
seems
 to be fine.

 I have also tries changing the privacy setting within IE to allow all
 cookies for our test internal server, but the problem continues.

 Yes, your sample code does append the cfide and cftoken variables, and the
 session is then retained when they are present.

 Kevan

 -Original Message-
 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Friday, 2 February 2007 12:06 PM
 To: CF-Talk
 Subject: Re: Session not being maintained

 does you browser accept cookies?

 try this for your refresh link
 a href=#urlSessionFormat('index.cfm')#Refresh/a

 ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
 like if cookies are not enabled.


 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 
  Hi
 
 
 
  I have an application on our server that is not being maintained across
  pages. I have set up a test directory with only two files:
 
 
 
  Application.cfm
 
  --
 
 
 
  cfapplication
 
  name=test
 
  clientmanagement=Yes
 
  sessionmanagement=Yes
 
  sessiontimeout=#createTimeSpan(0,0,30,0)#
 
  applicationtimeout=#createTimeSpan(1,0,0,0)#
 
 
 
 
 
  index.cfm
 
  --
 
 
 
  pBEFORE:/p
 
  cfdump var=#session#
 
 
 
  cfset session.x = now()
 
 
 
  pAFTER:/p
 
  cfdump var=#session#
 
 
 
  p
 
  a href=index.cfmRefresh/a
 
  /p
 
 
 
 
 
  When I execute index.cfm, this is the output:
 
 
 
  BEFORE:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
 
 
  AFTER:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
  x {ts '2007-02-02 11:55:57'}
 
 
 
  Refresh
 
 
 
 
 
 
 
  When I refresh the page the cfide, cftoken etc are changed and the
  variable
  session.x is gone
 
 
 
  * I am running IE7
 
  * This is using http://
 
  * This works fine within Firefox
 
 
 
  Any suggestions?
 
 
 
  Kevan
 
 
 
 



 



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

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


RE: Session not being maintained

2007-02-01 Thread Kevan Stannard
Some more info:

I am accessing the site from 
1) http://testsite.ourdomain.com.au/ - not working
2) http://testsite/ - working

When I ping these domains they return different IP addresses (both external
IPs).

Thanks


-Original Message-
From: Kevan Stannard [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 12:58 PM
To: 'cf-talk@houseoffusion.com'
Subject: RE: Session not being maintained

One additional bit of information:

I am accessing this site via a subdomain:
http://testsite.ourdomain.com.au/test/

Internally, I can access the same code via a server's name:
http://testsite/test/

This second option IS retaining the session.



-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 12:27 PM
To: CF-Talk
Subject: Re: Session not being maintained

OK, so you aren't using J2EE session variables, which means that
persistent cookies are being set (rather than session-based ones);
these are often treated more harshly by cookie blockers. Check again
for the cookie settings in IE or any toolbars/helpers loaded into IE,
as this is the problem.

On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 I have tested on a number of machines and all are set to allow cookies.

 I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0
seems
 to be fine.

 I have also tries changing the privacy setting within IE to allow all
 cookies for our test internal server, but the problem continues.

 Yes, your sample code does append the cfide and cftoken variables, and the
 session is then retained when they are present.

 Kevan

 -Original Message-
 From: AJ Mercer [mailto:[EMAIL PROTECTED]
 Sent: Friday, 2 February 2007 12:06 PM
 To: CF-Talk
 Subject: Re: Session not being maintained

 does you browser accept cookies?

 try this for your refresh link
 a href=#urlSessionFormat('index.cfm')#Refresh/a

 ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
 like if cookies are not enabled.


 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
 
  Hi
 
 
 
  I have an application on our server that is not being maintained across
  pages. I have set up a test directory with only two files:
 
 
 
  Application.cfm
 
  --
 
 
 
  cfapplication
 
  name=test
 
  clientmanagement=Yes
 
  sessionmanagement=Yes
 
  sessiontimeout=#createTimeSpan(0,0,30,0)#
 
  applicationtimeout=#createTimeSpan(1,0,0,0)#
 
 
 
 
 
  index.cfm
 
  --
 
 
 
  pBEFORE:/p
 
  cfdump var=#session#
 
 
 
  cfset session.x = now()
 
 
 
  pAFTER:/p
 
  cfdump var=#session#
 
 
 
  p
 
  a href=index.cfmRefresh/a
 
  /p
 
 
 
 
 
  When I execute index.cfm, this is the output:
 
 
 
  BEFORE:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
 
 
  AFTER:
 
 
 
  struct
 
  cfid 3660
 
  cftoken 18546740
 
  sessionid TEST_3660_18546740
 
  urltoken CFID=3660CFTOKEN=18546740
 
  x {ts '2007-02-02 11:55:57'}
 
 
 
  Refresh
 
 
 
 
 
 
 
  When I refresh the page the cfide, cftoken etc are changed and the
  variable
  session.x is gone
 
 
 
  * I am running IE7
 
  * This is using http://
 
  * This works fine within Firefox
 
 
 
  Any suggestions?
 
 
 
  Kevan
 
 
 
 



 



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

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


Re: Session not being maintained

2007-02-01 Thread Doug Brown
http://www.coldfusionmuse.com/index.cfm/2006/7/28/sessions.and.subdomains



Hope this helps



Doug B.



- Original Message - 
From: Kevan Stannard [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 6:58 PM
Subject: RE: Session not being maintained


 One additional bit of information:

 I am accessing this site via a subdomain:
 http://testsite.ourdomain.com.au/test/

 Internally, I can access the same code via a server's name:
 http://testsite/test/

 This second option IS retaining the session.



 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Friday, 2 February 2007 12:27 PM
 To: CF-Talk
 Subject: Re: Session not being maintained

 OK, so you aren't using J2EE session variables, which means that
 persistent cookies are being set (rather than session-based ones);
 these are often treated more harshly by cookie blockers. Check again
 for the cookie settings in IE or any toolbars/helpers loaded into IE,
 as this is the problem.

 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
  I have tested on a number of machines and all are set to allow cookies.
 
  I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0
 seems
  to be fine.
 
  I have also tries changing the privacy setting within IE to allow all
  cookies for our test internal server, but the problem continues.
 
  Yes, your sample code does append the cfide and cftoken variables, and
the
  session is then retained when they are present.
 
  Kevan
 
  -Original Message-
  From: AJ Mercer [mailto:[EMAIL PROTECTED]
  Sent: Friday, 2 February 2007 12:06 PM
  To: CF-Talk
  Subject: Re: Session not being maintained
 
  does you browser accept cookies?
 
  try this for your refresh link
  a href=#urlSessionFormat('index.cfm')#Refresh/a
 
  ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
  like if cookies are not enabled.
 
 
  On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
  
   Hi
  
  
  
   I have an application on our server that is not being maintained
across
   pages. I have set up a test directory with only two files:
  
  
  
   Application.cfm
  
   --
  
  
  
   cfapplication
  
   name=test
  
   clientmanagement=Yes
  
   sessionmanagement=Yes
  
   sessiontimeout=#createTimeSpan(0,0,30,0)#
  
   applicationtimeout=#createTimeSpan(1,0,0,0)#
  
  
  
  
  
   index.cfm
  
   --
  
  
  
   pBEFORE:/p
  
   cfdump var=#session#
  
  
  
   cfset session.x = now()
  
  
  
   pAFTER:/p
  
   cfdump var=#session#
  
  
  
   p
  
   a href=index.cfmRefresh/a
  
   /p
  
  
  
  
  
   When I execute index.cfm, this is the output:
  
  
  
   BEFORE:
  
  
  
   struct
  
   cfid 3660
  
   cftoken 18546740
  
   sessionid TEST_3660_18546740
  
   urltoken CFID=3660CFTOKEN=18546740
  
  
  
   AFTER:
  
  
  
   struct
  
   cfid 3660
  
   cftoken 18546740
  
   sessionid TEST_3660_18546740
  
   urltoken CFID=3660CFTOKEN=18546740
  
   x {ts '2007-02-02 11:55:57'}
  
  
  
   Refresh
  
  
  
  
  
  
  
   When I refresh the page the cfide, cftoken etc are changed and the
   variable
   session.x is gone
  
  
  
   * I am running IE7
  
   * This is using http://
  
   * This works fine within Firefox
  
  
  
   Any suggestions?
  
  
  
   Kevan
  
  
  
  
 
 
 
 



 

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

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


Re: EQ vs IS

2007-02-01 Thread Claude Schneegans
 I use is for numeric comparisons and eq for
all others.

How about IS EQ ?
That would be more correct syntaxically ;-)

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


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

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


RE: Session not being maintained - Problem solved

2007-02-01 Thread Kevan Stannard
Problem solved.

The subdomain we were using contained an underscore. 

test_site.ourdomain.com.au

Of course I never thought to include that in my emails to the list!

The underscore is not a valid domain name character. We switched to using a
hyphen and suddenly our cookies (and sessions) started working.

Regards

Kevan


-Original Message-
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: Friday, 2 February 2007 1:23 PM
To: CF-Talk
Subject: Re: Session not being maintained

http://www.coldfusionmuse.com/index.cfm/2006/7/28/sessions.and.subdomains



Hope this helps



Doug B.



- Original Message - 
From: Kevan Stannard [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 6:58 PM
Subject: RE: Session not being maintained


 One additional bit of information:

 I am accessing this site via a subdomain:
 http://testsite.ourdomain.com.au/test/

 Internally, I can access the same code via a server's name:
 http://testsite/test/

 This second option IS retaining the session.



 -Original Message-
 From: James Holmes [mailto:[EMAIL PROTECTED]
 Sent: Friday, 2 February 2007 12:27 PM
 To: CF-Talk
 Subject: Re: Session not being maintained

 OK, so you aren't using J2EE session variables, which means that
 persistent cookies are being set (rather than session-based ones);
 these are often treated more harshly by cookie blockers. Check again
 for the cookie settings in IE or any toolbars/helpers loaded into IE,
 as this is the problem.

 On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
  I have tested on a number of machines and all are set to allow cookies.
 
  I have tested in IE7 and IE6 with the same behaviour, but Firefox 2.0
 seems
  to be fine.
 
  I have also tries changing the privacy setting within IE to allow all
  cookies for our test internal server, but the problem continues.
 
  Yes, your sample code does append the cfide and cftoken variables, and
the
  session is then retained when they are present.
 
  Kevan
 
  -Original Message-
  From: AJ Mercer [mailto:[EMAIL PROTECTED]
  Sent: Friday, 2 February 2007 12:06 PM
  To: CF-Talk
  Subject: Re: Session not being maintained
 
  does you browser accept cookies?
 
  try this for your refresh link
  a href=#urlSessionFormat('index.cfm')#Refresh/a
 
  ColdFusion works out if it needs to append CFID and CFTOKEN to the URL -
  like if cookies are not enabled.
 
 
  On 2/2/07, Kevan Stannard [EMAIL PROTECTED] wrote:
  
   Hi
  
  
  
   I have an application on our server that is not being maintained
across
   pages. I have set up a test directory with only two files:
  
  
  
   Application.cfm
  
   --
  
  
  
   cfapplication
  
   name=test
  
   clientmanagement=Yes
  
   sessionmanagement=Yes
  
   sessiontimeout=#createTimeSpan(0,0,30,0)#
  
   applicationtimeout=#createTimeSpan(1,0,0,0)#
  
  
  
  
  
   index.cfm
  
   --
  
  
  
   pBEFORE:/p
  
   cfdump var=#session#
  
  
  
   cfset session.x = now()
  
  
  
   pAFTER:/p
  
   cfdump var=#session#
  
  
  
   p
  
   a href=index.cfmRefresh/a
  
   /p
  
  
  
  
  
   When I execute index.cfm, this is the output:
  
  
  
   BEFORE:
  
  
  
   struct
  
   cfid 3660
  
   cftoken 18546740
  
   sessionid TEST_3660_18546740
  
   urltoken CFID=3660CFTOKEN=18546740
  
  
  
   AFTER:
  
  
  
   struct
  
   cfid 3660
  
   cftoken 18546740
  
   sessionid TEST_3660_18546740
  
   urltoken CFID=3660CFTOKEN=18546740
  
   x {ts '2007-02-02 11:55:57'}
  
  
  
   Refresh
  
  
  
  
  
  
  
   When I refresh the page the cfide, cftoken etc are changed and the
   variable
   session.x is gone
  
  
  
   * I am running IE7
  
   * This is using http://
  
   * This works fine within Firefox
  
  
  
   Any suggestions?
  
  
  
   Kevan
  
  
  
  
 
 
 
 



 



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

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


RE: Session not being maintained - Problem solved

2007-02-01 Thread Kevan Stannard
Problem solved.

The subdomain we were using contained an underscore. 

test_site.ourdomain.com.au

Of course I never thought to include that in my emails to the list!

The underscore is not a valid domain name character. We switched to using a
hyphen and suddenly our cookies (and sessions) started working.

Regards

Kevan




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

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


Re: EQ vs IS

2007-02-01 Thread Doug Brown
It would even be more Syntactically correct :-p

Doug B.



- Original Message - 
From: Claude Schneegans [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Thursday, February 01, 2007 7:39 PM
Subject: Re: EQ vs IS


 I use is for numeric comparisons and eq for
 all others.

 How about IS EQ ?
 That would be more correct syntaxically ;-)

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


 

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

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


  1   2   >