Could you try commenting out sections of that code to determine which line of 
code is causing the problem? I'm guessing it's not the cflogout causing the 
problem but the StructDelete or one of the StructUpdate calls.

From: [email protected] [mailto:[email protected]] On Behalf Of 
Anthony Hixon, Jr.
Sent: Wednesday, February 04, 2009 9:25 AM
To: openbd
Subject: [OpenBD] cflogout Question

I'm one step away from having one my apps migrated to OpenBD and I'm having an 
issue with cflogout.

When I click "logout" in my application, this URL is called: 
http://webprod/policies/index.cfm?logout=true (It's obviously internal)

Which calls the cflogout tag in my onRequest Start method:

        <cfif IsDefined("url.logout") AND url.logout EQ true>
             <cflogout>
             <cfscript>
                IF (IsDefined("cookie.loginMessage")) {
                StructDelete(cookie, "loginMessage");
                }
                IF (IsDefined("cookie.admin")) {
                StructUpdate(cookie, "admin", false);
                }
                IF (IsDefined("cookie.username")) {
                StructUpdate(cookie, "username", GetAuthUser());
                }
            </cfscript>
        </cfif>

And I get this output:
HTTP ERROR: 500

com.naryx.tagfusion.cfm.engine.cfBooleanData cannot be cast to 
com.naryx.tagfusion.cfm.cookie.cfCookieData$cookieWrapper


I'm hoping this is just some syntactical error on my part that Adobe let slide 
and OpenBD does not.

Thoughts?

--
Anthony Hixon, Jr.
Certified Advanced ColdFusion MX 7 Developer
Mobile: (706) 639-3617
[email protected]<mailto:[email protected]>


--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to