What version of CF? For CF5.0 (and below), cfcookie's won't be set if you exit the page with cflocation
-----Original Message----- From: Daniel Kessler [mailto:[EMAIL PROTECTED] Sent: Thursday, August 04, 2005 10:36 AM To: CF-Talk Subject: cfcookie I am using cookies to define whether a person is logged in. <cfif NOT isDefined('cookie.fsnep_login')> - no cookie - set return url - link to login page </cfif> click to go to the login, log in and it does: <cfset k = structDelete(cookie,'fsnep_login',true)> <cfcookie name="fsnep_login" value="#validate_user.login_id[1]#"> <cflocation url="#the_return_url#"> but when it returns to that url, the original code still fails and seems to think that you're not logged in. Oddly, if the return url is "../index.cfm" then it seems to work. Just not when it's coming from the other url. I tried refreshing the page to see if it was just not updating but that doesn't help. Please, any thoughts would help. -- Daniel Kessler Department of Public and Community Health University of Maryland Suite 2387 Valley Drive College Park, MD 20742-2611 301-405-2545 Phone www.phi.umd.edu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213753 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