CFLOGOUT  
Description

Logs the current user out. Removes knowledge of the user ID and roles from the server. If you do not use this tag, the user is automatically logged out when the session ends.

 
Category

Extensibility tags

 
Syntax
    <cflogout>

  
 
See also

cflogin, cfloginuser

 
History

New in ColdFusion MX: This tag is new.

 
Example
<cflogin>
   <cfloginuser 
      name  = "foo"
      password ="bar"
      roles = "admin">
</cflogin>
<cfoutput>Authorized user: #getAuthUser()#</cfoutput>
<cflogout>
<cfoutput>Authorized user: #getAuthUser()#</cfoutput>