Re: Want Help with cffileupload .swf Not Loading w/Non-URL Accessible CFIDE

2010-10-23 Thread Aaron Neff

Hi Matthew,

Just wanted to say good work and thanks for filing. I've +1'd this, since issue 
still exists in CF 9.0.1 CHF1.

I also added a note, here: http://kb2.adobe.com/cps/849/cpsid_84902.html

..in cffileupload_swf.js, these variables also reference CFIDE:  
   
- defaultAddIcon  
- defaultUploadIcon  
- defaultClearIcon  
- defaultDeleteIcon

Thanks!,
-Aaron Neff

Bugged and marked fox resolution in 9.0.1

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=83328
 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338507
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfinsert/cfupdate

2010-09-24 Thread Aaron Neff

Hi Leigh,

Good points you make here. Not sure why cfinsert|update don't accept a result 
attribute and return a result struct. I'll probably have to re-file, since I 
don't see ER #71025 (filed in 2007) in the tracker anymore.

Thanks,
-Aaron Neff

 1) Retrieve an identity/autoincrement value from an INSERT 
 2) Return the number of records affected by an UPDATE 
 3) (Also, from a recent question on the adobe forums..) Do you need to 
 handle/escape invalid column names?
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337451
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: HTMLEditFormat() broken in CF9?

2010-08-15 Thread Aaron Neff

Hi Dave,

I believe this was bug #82039, which has been fixed in CF 9.0.1.

I ran your code in CF8, CF9, and CF9.0.1. Result in CF8 and CF9.0.1 was the 
same.

Thanks!,
-Aaron Neff

 It looks to me that in CF9, HTMLEditFormat no longer escapes text 
 that's already escaped. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336289
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Suppressing whitespace from CFCs

2010-08-05 Thread Aaron Neff

Anytime I try to put CFSILENT or CFSETTING inside the CFFUNCTION is chokes
and can't find the end of the /cffuntion.

Hi Robert,

Does the following cause the above error?

cffunction name=myFunction1 output=yes
  cfsilent#now()#/cfsilent
/cffunction
cfset myFunction1() /

cffunction name=myFunction2 output=yes
  cfsetting enablecfoutputonly=yes
  1
  cfsetting enablecfoutputonly=no
  0
/cffunction
cfset myFunction2() /

I also placed the functions within a CFC, and invoked each, and, like Steven, 
saw no error w/ cfsilent (nor cfsetting) within a function. The result output 
was always digit 0. Tested in both CF9  CF9.0.1.

Thanks!,
-Aaron Neff 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336053
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9.0.1 Update and IIS7

2010-07-22 Thread Aaron Neff

Hi Matt,

I understand you've resolved the issue. I would just like to add my notes here, 
from a similar experience, in case it helps anyone. I did the following steps 
(w/ IIS6 Compatibility Options re-installed, and after 1st click of wsconfig's 
Remove button threw the Error deleting IIS application extensions error):

1. Clicked Remove button a 2nd time (this removed the (IIS):All entry from 
wsconfig tool)
2. Used wsconfig tool to config(add)-then-unconfig(remove) any site which still 
contained handler mappings not removed in step #1 (to resolve the Error 
deleting IIS application extensions error)
3. Re-uninstalled the IIS6 Compatibility Options
4. wsconfig tool could then successfully config IIS for 9.0.1

Step #2 resolved the issue.

I verified by:
5. Uninstalled CF
6. Re-installed IIS6 Compat Options
7. Installed CF9 (selecting option in install wizard to config all IIS sites)
8. wsconfig tool could then successfully unconfig IIS (no more Error deleting 
IIS application extensions error)
9. ..continued on w/ re-uninstalling the IIS6 Compatibility Options, installing 
9.0.1 updater, then using wsconfig tool to successfully config IIS for 9.0.1

That's from memory.. but I do know step #2 helped.

Thanks!,
-Aaron Neff

OK, that is what I thought, and that is what I did.  However, when I attempt
to remove the site via the wsconfig console, I receive the error message
mentioned in the docs:

Error deleting IIS application extensions
.jsp,.jws,.cfm,.cfml,.cfc,.cfr,.cfswf,.hbmxml from web site Any (X)

So, I cannot delete the damn site from wsconfig, nor can I re-configure it
in wsconfig, because it is still showing as already being configured.

There _has_ to be a way for me to get this fixed, right? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335671
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ISAPI filters

2010-07-09 Thread Aaron Neff

 I'm trying to set up ColdFusion 9

on IIS7?

 As soon as I add the jrun_iis6_wildcard.dll ISAPI 
 filter, a call to an HTML file will fail.  As soon as I remove the 
 filter, it succeeds.

I also await a fix for jrun_iis6_wildcard.dll blocking static file requests.

Thanks!,
-Aaron Neff 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335221
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: (ot) Mail servers

2010-07-07 Thread Aaron Neff

For those out there who actually run e-mail servers for your clients, I'm
curious what you're running and how happy you are with it.

Had the following interface-related issues w/ SmarterMail 6:
- mail items getting dropped into wrong folders (when using drag-drop)
- drag-drop would sometimes include other non-selected items into the drag (ex: 
select 2 emails to drag, and the visual indicator would indicate 3 emails being 
dragged)
- search silently times out on large mailboxes (10gig I believe it was)

(so basically, for large mailboxes, emails could end up in wrong folders, and 
search wouldn't be able to find them)

Had the following server issue:
- changing server time zone renders mail inaccessible (well, the subject lines 
change to Message removed and the body contents change to A message has been 
removed from this mailbox by an entity other than this program, probably by a 
virus scanner. This message is a replacement for the missing message.
(changing time zone back, to original setting, reverses this and all mail items 
regain their original subject line and body)

Support tickets were opened for all of the above. All should be resolved in 
SmarterMail 7.

In addition, it is possible that a status bar or progress update will be added 
to the IMAP import in v7. Google can limit daily bandwidth (I believe 7gig?), 
so this can be helpful for indicating the status of a multi-day import.

Other than that, it has been great!

-Aaron Neff 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335140
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF 9 Hosting

2010-05-20 Thread Aaron Neff

www.hosting.com

Anyone know any good, reasonable CF 9 hosting companies w/ mysql. 
Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How to show a work-in-progress icon while waiting for a web service

2010-05-13 Thread Aaron Neff

Hi John,

The following will run the JavaScript (which disables submit button, and 
displays the image) only if CF form validation passes:

style
#myImageID {display:none;}/*hide image*/
/style
script type=text/javascript
/* ![CDATA[ */
var submitted = false;
var imageID;
function myFunction(frm, bttnID, imgID) {
if (!submitted) {
submitted = true;
imageID = imgID;
frm[bttnID].disabled = true;
setTimeout('document.getElementById(imageID).style.display = 
inline', 100);//delay for IE
return true;
} else {
return false;//disable 2+ submits
}
}
/* ]] */
/script
cfform name=myForm onsubmit=return myFunction(document.myForm, 
'myButtonID', 'myImageID') enctype=multipart/form-data
  cfinput type=file name=myField value= required=yes /
  cfinput type=submit name=myButtonID value=click me /
/cfform
img id=myImageID src=PleaseWait.gif alt=Please Wait /

The JS could be placed in an external script, but CF mixes its JS w/ XHTML.. 
(including generation of the form's onsubmit attribute, and placement of the JS 
call within).

Credit, where credit is due: http://tutorial8.learncf.com

Hope that helps!,
-Aaron Neff

 Good feedback.  
 
 I am using the ColdFusion error checking of cfinput and cfselect to 
 validate the input in the form before processing. If I simply 
 JavaScript the button to either pop an image or inhibit the button, 
 would it trigger that even though the validation failed?
 
 I'd not want to have the situation where the validation failed but the 
 working icon or inactive button were left on the page. 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333678
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: How to show a work-in-progress icon while waiting for a web service

2010-05-12 Thread Aaron Neff

Hi John,

This code may not be exactly what you need, but hopefully it helps:

style
#myImageID {display:none;}/*hide image*/
/style
cfform
  cfinput type=button name=myButtonID value=click me /
/cfform
img id=myImageID src=PleaseWait.gif alt=Please Wait /
script type=text/javascript
/* ![CDATA[ */
var buttonID = 'myButtonID';
var imageID = 'myImageID';
var submitted = false;
var trigger = document.getElementById(buttonID);
trigger.onclick = function() {
if (!submitted) {
submitted = true;
setTimeout('document.getElementById(imageID).style.display = 
inline', 100);//delay for IE (help prevent 'frozen' animated gif)
return true;
} else {
return false;//disable 2+ clicks
}
}
/* ]] */
/script

Thanks!,
-Aaron Neff

 I have an app which calls a web service on a different computer to do 
 work on its behalf and sometimes my users are impatient and hit the 
 invocation button a second time, which causes problems. I'd like to 
 pop some kind of work-in-progress or busy icon on the web page while 
 this service is executing but am drawing a blank on how to do that. I 
 can envision a hidden div with some kind of animated gif but am not 
 sure of exactly how to activate it and then deactivate it when the 
 service returns.
 
 Would appreciate any ideas on how to do this. 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333633
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SQL Gurus... obtaining the correct Incremental ID

2010-04-29 Thread Aaron Neff

Just wanted to also mention CF9's result_name.generatedkey.

Please see comment @ bottom of online help for cfquery: 
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7fae.html

Thanks!,
-Aaron Neff

When using set nocount on, select @@identity as xyz and set nocount
off in a cfquery, how can I be certain that two transactions that occur at
roughly the same time obtain the proper incremental id from an Identity
column? Is their a SQl equivalent to CF's cflock tag?

Thanks, Che 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333257
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Change CFSELECT SELECTED value

2010-04-16 Thread Aaron Neff

Hi Chad,

Here is an example: 
http://www.forta.com/blog/index.cfm/2007/5/31/ColdFusion-Ajax-Tutorial-2-Related-Selects

Hope that helps!,
-Aaron Neff

 I have a page which is using a lot of cfcs which change inputs when 2 
 cfselects are changed.  I have some cfselects which I need to change 
 when these other selects are changed but can't seem to figure it out.  
 Example:  I have a select which has 1,2,3 in it.  When I change it to 
 2, I have another select which needs to auto change to 2.  How can I 
 do this?  Thanks 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332943
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: ColdFusion Builder Released!

2010-03-23 Thread Aaron Neff

The subject says it all.

First, CF9 EULA allows the right to install and use the Software as 
Development Software for internal development, testing and staging.

Now, CB includes FB.

Awesome!! What's next!? =D

-Aaron Neff 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:332096
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFIF within CFmail?

2010-02-22 Thread Aaron Neff

Hi Robert,

Just adding another option..

cfmail to=t...@domain.com from=f...@domain.com cc=#((FORM.inputType is 
'K-12') ? 'c...@domain.com' : '')# subject=subjectmessage/cfmail

Thanks!,
-Aaron

 I'm trying to include a cfif within a cfmail. If a form element is 
 K-12, then I want to add a cc to the cfmail part.

 Here is what I have in part:

 CFMAIL from=#FORM.email# 
 To=t...@test.com 
 cfif #form.intype#=K-12cc=te...@test2.com/Cfif
 Subject=New Jersey 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331055
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Aaron Neff

Hi Paul,

Just fyi, CF9 added a 4th parameter (boolean multiCharacterDelimiter) to the 
listToArray function:

cfloop array=#listToArray(variables.myList, 'oat', false, true)# index=i

You have a few options!

HTH,
-Aaron

I have a list that I'm trying to loop, I was wondering if it was possible to
have multiple character delimiter. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330665
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CFPop with specific folders?

2010-02-07 Thread Aaron Neff

Hi Qing Xia,

If you wish to use cfimap w/ Gmail, here are a couple of things you may want to 
watch out for:

- When polling Gmail, the item counts returned by cfimap may not match the same 
in Gmail (Gmail bug).

- When retrieving emails from Gmail, an email labeled x times, may be 
downloaded x times (Gmail quirk).

However, you should not see these issues if you use cfimap to connect to an 
IMAP-compliant mail server (instead of Gmail).

Thanks!,
-Aaron Neff

say I want to download all email messages in
my CFTalk folder off my Gmail account...how would I go about doing that? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330459
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CFPop with specific folders?

2010-02-07 Thread Aaron Neff

Good tips about gmail. Thanks Aaron!

You're very welcome Leigh, and, likewise, thanks very much for the tip (the 
other day in the Adobe forums) about the undocumented cfpdfform 'name' 
attribute! I meant to follow-up on that thread w/ some more info, but lost 
track. I will tho.. soon!

Hope the cfimap tag works for you Qing Xia!

Take care,
-Aaron 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330465
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: difference between cfproperty and variables defined with This scope

2010-02-03 Thread Aaron Neff

Hi fun and learning,

In short, variables created via the cfproperty|property-generated setters (in 
CF9) are private-to-the-CFC.

I recommend reading these docs:

cfproperty|property: 
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e0b.html

Implicit Get and Set Functions: 
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172e0811cbec0999c-7ff5.html#WS1E722CDD-3AA0-4e17-86DB-EF6D12FC6750

Also, please note:
- Component properties you assign with the set method are in the Variables 
scope that is private to the CFC. You can get or reset the properties only by 
calling get or set methods.
- The default attribute has no effect on the property and does not set an 
initial property value
- A direct assignment statement, such as myCFC.MyProp=27 creates a standard 
This scope variable in the CFC, even if you specify the property in a 
cfproperty tag. The This scope variable is independent of the properties that 
you access using the set and get methods. In fact, you can have a This scope 
variable with the same name as a property that you access using the set and get 
methods.

I wanted to mention those notes, just to clarify that (even in CF9) using 
cfproperty|property alone does not create an initial variable. In CF9, a 
private (variables-scope), not public (this-scope), variable can be created 
using the auto-generated setter (created by cfproperty|property, if 
accessors=true on the component).

Thanks!,
-Aaron Neff

===

 Hi All,
 
 Can anyone please tell me the difference between cfproperty tag and 
 variables defined using this scope. Both are used to define CFC 
 properties? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: difference between cfproperty and variables defined with This scope

2010-02-03 Thread Aaron Neff

Sry, that should've read: In short, variables created via the 
cfproperty|property-generated setters (in CF9) are private-to-the-CFC. And 
variables in the this scope are public-to-the-CFC.

 In short, variables created via the cfproperty|property-generated 
 setters (in CF9) are private-to-the-CFC. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Hosting.com Offers Free ColdFusion Beta

2009-10-08 Thread Aaron Neff

Press Release: 
http://www.hosting.com/aboutus/press/2009/october/coldfusion9.shtml

Program Details: http://www.hosting.com/cf9/ 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327057
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ColdFusion Wake-on-LAN script

2006-08-14 Thread Aaron Neff
Anyone know of a CF WOL script like these?

- 
http://www.hackernotcracker.com/2006-04/wol-wake-on-lan-tutorial-with-bonus-php-script.html

- http://www.phrackattack.net/files/sources/wakeonlan.txt

Found them here: http://en.wikipedia.org/wiki/Wake-on-LAN ...just curious if a 
CF script exists.

Thanks,
-Aaron

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

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


Re: Do Not Include CFID CFTOKEN in URL?

2005-09-22 Thread Aaron Neff
Hi Andy,

Our testing has shown that this quote in LiveDocs  CFMX 7  urlSessionFormat():

If the client accepts cookies: does not append information 

should actually read as this:
If the client accepts cookies: does not append information, IF 'use J2EE 
session variables' is enabled in the CF Administrator

Using MX7 Ent. on IIS (tested both locally  remotely  HostMySite, w/ diff 
settings such as firewalls on/off, etc, but all consistent results) - disabling 
J2EE caused this function to ignore whether or not the client accepts cookies.  
It appears to be a bug in the cookie check related to urlSessionFormat()... it 
almost seems that the cookie check is checking for the existence of jsessionid, 
instead of cfid  cftoken!  Hopefully someone can elaborate on this seemingly 
peculiar behavior.

Please see these links:
-  
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentationfile=0660.htm
- 
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3threadid=1054504enterthread=y
- 
http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=3threadid=1055104enterthread=y

I hope this saves some hair pulling!,
-Aaron Neff


Thanks for all your replies guy's. Now I think I have found the cause of why
my CFID  CFTOKEN are always in the URL but it also raises another issue.
Oh, and I should have said that I am using Fusebox4.1, sorry!

In my fusebox.init.cfm file I have the following code;

cfset request.self = index.cfm
cfset request.myself = #URLSessionFormat( '#request.self'#)

It is the ' URLSessionFormat' that is including the CFID  CFTOKEN in the
URL string. The next problem is that this is only supposed to happen if
cookies are disabled on the client machine. In my case cookies are enabled,
I have changed the code to cfset request.myself = #request.self#) and
everything works fine but it would appear that the check for cookies being
active is failing. Can anyone confirm if the following code is causing the
cookie check fail?

cfif isdefined(cookie.CFID) AND isdefined(cookie.CFTOKEN)
 cfset localcfid = cookie.CFID
 cfset localtoken = cookie.CFTOKEN
 cfcookie name=CFID value=#localcfid#
 cfcookie name=CFTOKEN value=#localtoken#
/cfif



~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218980
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54