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.CookieS cope 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="#CreateTim eSpan(0,1, 0,0)#" applicationtimeout="#Creat eTimeSpan( 0,1,0,0)#" >
And this:
Diagnostics:
Element CFCLIENT_AUTHORISATION_APP LICATION is undefined in a Java object of type class coldfusion.runtime.CookieS cope 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_Applic ation" clientmanagement="Yes" sessionmanagement="Yes" setclientcookies="Yes" sessiontimeout="#CreateTim eSpan(0,3, 0,0)#" applicationtimeout="#Creat eTimeSpan( 0,3,0,0)#" >
Diagnostics:
Element CFCLIENT_TOURINGCAROFFERTE
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="#CreateTim
And this:
Diagnostics:
Element CFCLIENT_AUTHORISATION_APP
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_Applic
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 )
- 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?
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?
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.
ASKER
i think this solved the problem:
<cfapplication name="touringcarofferte" clientmanagement="No" sessionmanagement="Yes" setclientcookies="No" sessiontimeout="#CreateTim eSpan(0,1, 0,0)#" applicationtimeout="#Creat eTimeSpan( 0,1,0,0)#" >
<cfapplication name="touringcarofferte" clientmanagement="No" sessionmanagement="Yes" setclientcookies="No" sessiontimeout="#CreateTim
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Whats the reason for initializing two applications?