flashKeep()
Description
Make the entire Flash or specific key in it stick around for one more request.
Function Syntax
flashKeep([ key ])
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
key |
string |
No | |
A key or list of keys to flag for keeping. This argument is also aliased as keys. |
Examples
<!--- Keep the entire Flash for the next request --->
<cfset flashKeep()>
<!--- Keep the "error" key in the Flash for the next request --->
<cfset flashKeep("error")>
<!--- Keep both the "error" and "success" keys in the Flash for the next request --->
<cfset flashKeep("error,success")>
