We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

CFCLIENT error? how to fix it?

thiazzz
thiazzz asked
on
Medium Priority
913 Views
Last Modified: 2013-12-24
I receive these strange errors, what can i do about i to fix it? It looks like they only appear when an old browser opens my website.


Diagnostics:
Element CFCLIENT_TOURINGCAROFFERTE is undefined in a Java object of type class coldfusion.runtime.CookieScope referenced as
The error occurred on line 1.

Browser:
Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)

This is what i've coded in my application.cfm"
<cfapplication name="touringcarofferte" clientmanagement="Yes" sessionmanagement="Yes" setclientcookies="Yes" sessiontimeout="#CreateTimeSpan(0,1,0,0)#" applicationtimeout="#CreateTimeSpan(0,1,0,0)#">


And this:

Diagnostics:
Element CFCLIENT_AUTHORISATION_APPLICATION is undefined in a Java object of type class coldfusion.runtime.CookieScope referenced as
The error occurred on line 1.

Browser:
Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

This is what i've coded in my application.cfm"
<cfapplication name="Authorisation_Application" clientmanagement="Yes" sessionmanagement="Yes" setclientcookies="Yes" sessiontimeout="#CreateTimeSpan(0,3,0,0)#" applicationtimeout="#CreateTimeSpan(0,3,0,0)#">
Comment
Watch Question

I never tried 2 cfapplications in one project, I dont think it works either... But then again I never tried it, because you can achieve anything you need to do with one application.

Whats the reason for initializing two applications?

Author

Commented:
Actually it are two projects:
- Touringcarofferte at www.mytravellog.com/touringcarofferte
(touringcarofferte)
- Mytravellog at www.mytravellog.com and on www.mytravellog.com/mytravellog
(Authorisation_Application)

Commented:
Yes you can have multiple cfapplications.

Because only the one closest to the file being accessed will run.

So if you have two then if they are further down in the directory structure - they will start searching.  The first one they find is the one that will run.


However, in  answer to your question, that is not the line being referred to.  When it says line 1 it means line 1 of the page being called - not of the application.cfm file - unless the error message specifically mentions the application.cfm file.

You also mentioned old browsers.  DO those old browsers have cookies turned off?

Author

Commented:
It could be that the old browsers habe turned cookies off. I'n not 100% sure, because i receive automatic error reports via emai.

Author

Commented:
i think this solved the problem:
      <cfapplication name="touringcarofferte" clientmanagement="No" sessionmanagement="Yes" setclientcookies="No" sessiontimeout="#CreateTimeSpan(0,1,0,0)#" applicationtimeout="#CreateTimeSpan(0,1,0,0)#">

Commented:
SO basically you turned off setting client cookies and client management.

THis will work if you were not using client variables, but if you are then this change may cause some problem son other browsers.  If not then this should work.
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.