I'm trying to fix an application written in fusebox that uses client vars,
cookies, and CFID/CFTOKEN cookies.  What is happening is that if a client
logs into the application and is successful, the code suggests that both a
client variable and a cookie are written and this determines login (I have
not yet found where that occurs). Here is a snippet of the login code:

 

<cfif NOT client.isAuthenticated AND NOT cookie.isAuthenticated>

            <a href="index.cfm?fuseaction=users.login&xfa=home.main">Log in
</a>

<cfelse>

            .

</cfif>

 

However, looking through the (IE) internet files using IECookiesView, I see
the cookie for my domain with three values:

 

                        Value                            Expiration Date
Created in:

CFID:                1396838                        9/26/2037 8:00:00pm
Server

CFTOKEN:        24624962                      9/26/2037 8:00:00pm
Server

CP:                   null*                              12/31/2019
8:00:00pm                Client

 

 

What is interesting to me is that I don't see an isAuthenticated value in
this cookie, ever.  

 

What I need to do is force the client to log in again if the browser is
closed.  I figure that forcing the CFID/CFTOKEN cookie to expire would do
the trick, but I have not found a CFAPPLICATION tag in this application
(yet), and I have not seen where cookie.isAuthenticated is being created on
the client. Additionally, the Application and Server default and maximum
timeouts in CFADMINISTRATOR are set to 2 days and 20 minutes, respectively.

 

Here are my questions:

1)       What pieces of the puzzle am I missing?

2)       Isn't CFAPPLICATION necessary to use CFID/CFTOKEN and client
variables?

3)       (For fuseboxers) If #2 is true, where might CFAPPLICATION be
hidden?  It's not in any application.cfm page.

 

Thank you,

Matt Small

 

 

 

 

 

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202170
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

Reply via email to