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