Whatever message this page gives is out now! Go check it out!

ApplicationStop

Last update:
May 18, 2026

Description

Stops or resets the current application. The application is restarted on the next request to the application.

Returns

void

Category

Function syntax

applicationstop()

History

Added in ColdFusion 9.

Example

<!---- get artist by id ----> 
<cftry> 
... 
.... 
<!---stops the application to reset the artistid, if the artworks for the artist do not exist---> 
<cfset applicationstop()/> 
<cfset artist = EntityLoad( "artist", url.artistid, True ) /> 
<cfoutput> 
<h2>#artist.getFullName()#</h2> 
<table width="400"> 
<tr> 
<th>Item</th> 
<th>Price</th> 
<th>Sold</th> 
</tr> 
<cfloop array="#artist.getArt()#" index="index"> 
<tr> 
<td>#index.getArtName()#</td> 
<td>#index.getPrice()#</td> 
<td>#index.getIsSold()#</td> 
</tr> 
</cfloop> 
</table> 
<p><a href="index.cfm">View list</a></p> 
</cfoutput> 
<cfcatch type = "any"> 
<cfoutput>Artworks for the selected artists are not available</cfoutput> 
</cfcatch> 
</cftry>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page