Link to home
Start Free TrialLog in
Avatar of thiazzz
thiazzz

asked on

CFCLIENT error? how to fix it?

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)#">
Avatar of Tacobell777
Tacobell777

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?
Avatar of thiazzz

ASKER

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)
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?
Avatar of thiazzz

ASKER

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

ASKER

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)#">
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.
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial