How to get the current ColdFusion page context object

GetPageContext() - get the current coldfusion page context object

GetPageContext.cfm


<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GetPageContext function example: how to get the current coldfusion page context object</title>
</head>

<body>
<h2 style="color:Crimson">GetPageContext Function Example</h2>

<cfset CurrentPageContext=GetPageContext()>
<cfdump var="#CurrentPageContext#" label="Current Page Context">

</body>
</html>






More ColdFusion examples