Logs the current user out.

Removes knowledge of the user ID, password, and roles from the server.

If you do not use this tag, the user is automatically logged out when the session ends.

This tag cannot have a body.

This tag is also supported within <cfscript>


This tag does not use any attributes.


Simple Example

name = "foo"
password ="bar"
roles = "admin"> 
<cfoutput>Authorized user: #getAuthUser()# <br></cfoutput>
<!--- <cflogout applicationtoken="false">  --->
<cfoutput>Authorized user: #getAuthUser()#</cfoutput>

See also