I have an application that I've taken over responsibility for that uses client
management. However, ever since we've upgraded to MX 6.1 we have had serious
problems. Basically, we have people who have only a CFID cookie on their
computer and no CFTOKEN cookie (or the reverse, but not both). This causes a
strange error on their computer when the CFAPPLICATION tag is executed with
clientmanagement set to yes. The error is as follows:
The system has attempted to use an undefined value, which usually indicates a
programming error, either in your code or some system code.
Null Pointers are another name for undefined values.
The line number it points to is the CFAPPLICATION tag which looks like this:
<cfapplication name="Cora" applicationtimeout="#CreateTimeSpan( 0, 8, 0, 0 )#"
sessionmanagement="Yes" clientmanagement="yes">
Even if I SetClientCookies = "No" I still get the error. So, I tried adding
some code to expire the cookies if there's a mismatch. Here's what I added
ABOVE the cfapplication tag:
<cfif not isDefined("cookie.cfid") and isDefined("cookie.cftoken")>
<cfcookie name="CFTOKEN" value="" expires="NOW">
<CFELSEIF isDefined("cookie.cfid") and not isDefined("cookie.cftoken") >
<cfcookie name="CFID" value="" expires="NOW">
</cfif>
But, this doesn't do any good either. The cookie doesn't get deleted, I'm
guessing, until the page FINISHES processing and the page doesn't finish
processing because the CFAPPLICATION tag craps out.
I could really use some help here. The only thing I see is going through all
the code and getting rid of client variable use. That's going to be a ton of
work.
Thanks,
Dave
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218948
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54