You are viewing documentation for v1.1.x. Change

flashKeyExists()

Description

Checks if a specific key exists in the Flash.

Function Syntax

flashKeyExists(key)

Parameters

Parameter Type Required Default Description
key string Yes The key to check if it exists.

Examples

<cfif flashKeyExists("error")>
    <cfoutput>
        <p>#flash("error")#</p>
    </cfoutput>
</cfif>