Solved

CFCLIENT error? how to fix it?

Posted on 2004-04-01
9
763 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)#">
0
Comment
Question by:thiazzz
9 Comments
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10739481
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?
0
 

Author Comment

by:thiazzz
ID: 10739896
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)
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10741920
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?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

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

Author Comment

by:thiazzz
ID: 10756820
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)#">
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 10757919
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.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 11135568
PAQed, with points refunded (250)

Computer101
E-E Admin
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Join & Write a Comment

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now