Sam, I cleaned up the code, below. The logoff is simply linking to a page that starts out with the <cflogout> tag. Thatâs it. The login works fine. The logoff does not. In order to log off, I have to close the browser. Hereâs the code for the login. This page is included in application.cfc. - Lewis
<CFLOGIN> <cfif NOT (IsDefined("Form.username") AND IsDefined("Form.Password"))> <cfinclude TEMPLATE="Grantee_Login2.cfm"> <cfabort> <cfelse> <cfquery name = "GetUser" datasource="wdsc"> SELECT UserID, FirstName, Rights FROM MSFW_Passwords WHERE UserName = '#FORM.UserName#' AND Password = '#FORM.Password#' </cfquery> <cfif GetUser.REcordCount EQ 1> <cfloginuser name="#GetUser.UserID#, #GetUser.FirstName#" password="#form.password#" roles="#GetUser.Rights#"> <cfelse> <strong>Sorry, that user name and password are not recognized. Please try again.</strong> <cfinclude template="Grantee_Login2.cfm"> <cfabort> </cfif> </cfif> </CFLOGIN> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247610 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4