CFAUTHENTICATE

The CFAUTHENTICATE tag authenticates a user, setting a security context for the application. See the descriptions of the functions IsAuthenticated and AuthenticatedContext.

Syntax

<CFAUTHENTICATE SECURITYCONTEXT="security_context"
    USERNAME="user_ID"
    PASSWORD="password"
    SETCOOKIE="Yes" or "No"
    THROWONFAILURE="Yes" or "No">
SECURITYCONTEXT

Required. Security context with which the specified user is authenticated. This context must have been previously defined in the security system.

USERNAME

Required. User to be authenticated.

PASSWORD

Required. Password for the user.

SETCOOKIE

Optional. Default is Yes. Indicates whether ColdFusion sets a cookie to contain authentication information. This cookie is encrypted and its contents include ...

Get Sams Teach Yourself ColdFusion® in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.