Skip to main content
jbird5k
Inspiring
May 29, 2014
Answered

CF11 cfid cftoken issues

  • May 29, 2014
  • 2 replies
  • 1055 views

its late and my brain has gone to mush.  I recently installed CF 11 enterprise on my laptop, win7 / IIS 7.5  with no issues during install.  My problem is that when i tried running one of our CF10 apps it started blowing up  and I noticed that  once again CFID and CFtoken were being added to the url.  In a previous post i mentioned that adding "add token = no" to cflocation tags cleared up the  conversion from 9 - 10 CFId issue.

So now in 11 its back,  setting add token = no causes errors because i do not have secure profile set on my install because is a development instance.  I have been going through the administrator settings to try and turn this off I can't find anything.

Is the only way to not get CFID and CFToken added the url is by setting secure profile?

also CF11 makes it the first two  key /value pairs after the ? instead of adding to the end of the url.

I can't include code or errors at the moment 'cause i'm home can't vpn into work.

stumped.

This topic has been closed for replies.
Correct answer BKBK

jbird5k wrote:

... I noticed that  once again CFID and CFtoken were being added to the url.  In a previous post i mentioned that adding "add token = no" to cflocation tags cleared up the  conversion from 9 - 10 CFId issue.

So now in 11 its back,  setting add token = no causes errors because i do not have secure profile set on my install because is a development instance.  I have been going through the administrator settings to try and turn this off I can't find anything.

To prevent Coldfusion from appending CFID and CFToken to the URL, switch on, and maintain, sessions. Perform the following 3 steps:

1. Turn on the use of application and session variables in the ColdFusion Administrator.

2. In your application, define the application name, applicationtimeout, sessionmanagement, sessionTimeout and setClientCookies in Application.cfc or, equivalently, in the <cfapplication> tag in Application.cfm.

3. Restart ColdFusion.

2 replies

jbird5k
jbird5kAuthor
Inspiring
May 30, 2014

BKBK,

Thank you that worked, I had all the pieces except 'setClientCookies'. once I added that I was good to go.

Thanks again!

BKBK
Community Expert
BKBKCommunity ExpertCorrect answer
Community Expert
May 29, 2014

jbird5k wrote:

... I noticed that  once again CFID and CFtoken were being added to the url.  In a previous post i mentioned that adding "add token = no" to cflocation tags cleared up the  conversion from 9 - 10 CFId issue.

So now in 11 its back,  setting add token = no causes errors because i do not have secure profile set on my install because is a development instance.  I have been going through the administrator settings to try and turn this off I can't find anything.

To prevent Coldfusion from appending CFID and CFToken to the URL, switch on, and maintain, sessions. Perform the following 3 steps:

1. Turn on the use of application and session variables in the ColdFusion Administrator.

2. In your application, define the application name, applicationtimeout, sessionmanagement, sessionTimeout and setClientCookies in Application.cfc or, equivalently, in the <cfapplication> tag in Application.cfm.

3. Restart ColdFusion.