Determines whether a user is logged in.
IsUserLoggedIn()
cflogin, cfloginuser, GetAuthUser, GetUserRoles, IsUserInAnyRole, IsUserInRole, Securing Applications in the Developing ColdFusion Applications
<cfif IsUserLoggedIn() > <cfinclude template="welcome.cfm"> <cfelse> <cfinclude template="loginform.cfm"> <cfabort> </cfif>
Note:
From ColdFusion 11 onwards, this function is not applicable when a user is logged in using Admin API.